On Jan 20, 2014, at 10:34 AM, Lorenzo Zanon <[email protected]> wrote:

> The installation procedure:
> 
> # cd ~/Desktop
> # git clone git://github.com/libMesh/libmesh.git libmesh_root
> # cd libmesh_root
> # mkdir build
> # mkdir installed
> # cd build
> # ../configure
> --prefix=/home/<NAME>/Desktop/libmesh_root/installed
> --with-glpk-include=/usr/local/macports108/include
> --with-glpk-lib=/usr/local/macports108/lib
> --with-eigen-include=/usr/local/macports108/include/eigen3
> --with-hdf5=/usr/local/macports108
> --enable-petsc
> --enable-slepc
> --enable-mpi
> --enable-examples
> CXX=openmpicxx CC=openmpicc FC=openmpif90 F77=openmpif90
> CXXFLAGS=-I/opt/X11/include LDFLAGS=-L/opt/X11/lib


Provided PETSC_DIR and PETSC_ARCH are properly set, this should do the trick.  
Of course have a look at the printed summary to see if libMesh found PETSc, 
which I think we've resolved is not the case.  You can then look in config.log 
for things like 'petsc.h' to find the bits where it tested for PETSc, and 
failed.  That'll usually uncover the issue.  If not, send the config.log 
directly to me (and other interested parties) as the mailing list filter will 
usually strip it due to size.

-Ben



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to