← Back to team overview

fenics team mailing list archive

Fwd: A question about installation

 

I do not maintain that part. Perhaps someone here can help.

  Matt

---------- Forwarded message ----------
From: Jiping Xin <jiping@xxxxxxxxxxxxxxxxxxx>
Date: Feb 2, 2008 7:26 AM
Subject: Re: [FEniCS-dev] A question about installation
To: Matthew Knepley <knepley@xxxxxxxxx>


Hi Matt,

I have another question.

I have used the following command to install gts 0.7.6.
................................................................
cd $DOWNLOAD_PATH
wget http://easynews.dl.sourceforge.net/sourceforge/gts/gts-0.7.6.tar.gz
tar -xzf gts-0.7.6.tar.gz
cd gts-0.7.6
./configure --prefix=$INSTALL_PATH
make
make install
.................................................................
And i also use the following command to install UFC.
.................................................................
cd $DOWNLOAD_PATH/fenics
hg clone http://www.fenics.org/hg/ufc
cd ufc
python setup.py install --prefix=$INSTALL_PATH
.................................................................
I try to use the following command to install Dolphin,
.................................................................
./configure --prefix=$INSTALL_PATH --enable-static --enable-optimization
--enable-petsc --enable-mpi --with-petsc-dir=$PETSC_DIR
--with-boost=$INSTALL_PATH
--with-umfpack-lib=$PETSC_DIR/externalpackages/UMFPACKv4.3/$PETSC_ARCH/UMFPACK/Lib

--with-amd-lib=$PETSC_DIR/externalpackages/UMFPACKv4.3/$PETSC_ARCH/AMD/Lib
--with-umfpack-include=$PETSC_DIR/externalpackages/UMFPACKv4.3/$PETSC_ARCH/UMFPACK/Include
--disable-pydolfin
.................................................................
But I got the follwing result.
.................................................................
Perhaps you should add the directory containing `gts.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gts' found
no
Missing GTS
checking for UFC... Package ufc-1 was not found in the pkg-config search
path.
Perhaps you should add the directory containing `ufc-1.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ufc-1' found
configure: error: Package requirements (ufc-1) were not met:

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables UFC_CFLAGS
and UFC_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
.................................................................
I have checked the directory $HOME/builds/lib/pkgconfig/ and i found
gtc.pc and ufc-1.pc have already been there. I also keep
"PKG_CONFIG_PATH=$INSTALL_PATH/lib/pkgconfig". It is strange. Would you

please tell me what is the problem? Thanks.

Best regards,
Jiping




Matthew Knepley wrote:
> On Jan 31, 2008 12:12 PM, Jiping Xin <jiping@xxxxxxxxxxxxxxxxxxx> wrote:
>> Thanks. So does this mean that we don't need Fortran in FEniCS? Jiping
>
> I believe that is true.
>
>   Matt
>
>> Matthew Knepley wrote:
>> > 1) Please send PETSc questions to petsc-maint@xxxxxxxxxxx
>> >
>> > 2) Please send configure.log which has all the information we need
>> >
>> > 3) There was a problem linking Fortran code with the C linker. You can
>> >      turn off Fortran using --with-fc=0 (which most people want who
>> use
>> >      FEniCS).
>> >
>> >   Thanks,
>> >
>> >      Matt
>> >
>> > On Jan 31, 2008 11:44 AM, Jiping Xin <jiping@xxxxxxxxxxxxxxxxxxx>
>> wrote:
>> >> Hello,
>> >>
>> >> I am trying to install FEniCS following
>> >> "http://www.fenics.org/wiki/A_detailed_guide_to_installing_DOLFIN";.
>> When
>> >> i
>> >> install PETSc 2.3.2-p8, it show me the following result. Would you
>> >> please
>> >> tell me what is the problem? Thanks.
>> >>
>> >> bash-3.00$ ./config/configure.py --with-mpi-dir=$INSTALL_PATH
>> >> --with-clanguage=c xx --download-hypre=yes --enable-hypre=1
>> >> --download-umfpack=yes --enable-umfpack =1
>> >> ================================================================================
>> >> =
>> >>              Configuring PETSc to compile on your system
>> >> ================================================================================
>> >> =
>> >> TESTING: checkFortranLibraries from
>> >> config.compilers(python/BuildSystem/config/c*********
>> >> ************************************************************************
>> >>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log
>> >> for
>> >> details):
>> >> ---------------------------------------------------------------------------------------
>> >> Fortran libraries cannot be used with C compiler
>> >> *********************************************************************************
>> >>
>> >> Best regards,
>> >> JIping
>> >>
>> >>
>> >> --
>> >> Jiping Xin
>> >> Engineering Mathematics, Mathematics School of Chalmers University of
>> >> Technology
>> >> Brahegatan 9, 1207 Room, Gothenburg
>> >>
>> >> _______________________________________________
>> >> FEniCS-dev mailing list
>> >> FEniCS-dev@xxxxxxxxxx
>> >> http://www.fenics.org/mailman/listinfo/fenics-dev
>> >>
>> >
>> >
>> >
>> > --
>> > What most experimenters take for granted before they begin their
>> > experiments is infinitely more interesting than any results to which
>> > their experiments lead.
>> > -- Norbert Wiener
>> >
>>
>>
>> --
>>
>> Jiping Xin
>> Engineering Mathematics, Mathematics School of Chalmers University of
>> Technology
>> Brahegatan 9, 1207 Room, Gothenburg
>>
>>
>
>
>
> --
> What most experimenters take for granted before they begin their
> experiments is infinitely more interesting than any results to which
> their experiments lead.
> -- Norbert Wiener
>


--
Jiping Xin
Engineering Mathematics, Mathematics School of Chalmers University of
Technology
Brahegatan 9, 1207 Room, Gothenburg




-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which
their experiments lead.
-- Norbert Wiener


References