← Back to team overview

fenics team mailing list archive

Re: A question about installation

 

If you want to have an install path other than /usr then you must put this
in CFLAGS (-I/install/path/include) and LDFLAGS (-L/install/path/lib)

    Matt

On Feb 2, 2008 7:14 AM, Jiping Xin <jiping@xxxxxxxxxxxxxxxxxxx> wrote:
> Hi Matt,
>
> The last question is not clear.
> I have used the following command to install CLN 1.1.13.
> ..........................................................
> cd $DOWNLOAD_PATH
> wget http://www.ginac.de/CLN/cln-1.1.13.tar.bz2
> tar -xjf cln-1.1.13.tar.bz2
> cd cln-1.1.13
> ./configure --prefix=$INSTALL_PATH
> make
> make install
> ..........................................................
> And i also tried to use the following command to install GiNaC 1.3.7.
> ..........................................................
> cd $DOWNLOAD_PATH
> wget ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-1.3.7.tar.bz2
> tar -xjf ginac-1.3.7.tar.bz2
> cd ginac-1.3.7
> ./configure --prefix=$INSTALL_PATH
> make
> make install
> ..........................................................
> But when i use "./configure --prefix=$INSTALL_PATH", i always get the
> result as the follwing.
> ..........................................................
> **** The following problems have been detected by configure.
> **** Please check the messages below before running "make".
> **** (see the section 'Common Problems' in the INSTALL file)
>
> ** No suitable installed version of CLN could be found.
> ..........................................................
>
> 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