Hi Ben,

I am using the mpi installation provided by PetSc with
--download-mpich=1. So the mpi used should be the one in
~/opt/build/petsc-3.2-p6/linux-gnu-opt/include

Robert

On Mon, Nov 19, 2012 at 09:28:22AM -0600, Kirk, Benjamin (JSC-EG311) wrote:
> Very good, thanks.  Where on your system is MPI actually installed?
> 
> The issue is that the Parmetis makefile is not inheriting every -I….  that 
> libMesh is using, which is actually the way I want it.  In particular, it is 
> not getting all of libmesh_optional_INCLUDES
> 
> But the only thing I suspect there is that your MPI lives in /usr/include, 
> which should not *need* to be specified.
> 
> Thanks,
> 
> -Ben
> 
> 
>  
> On Nov 19, 2012, at 9:14 AM, Robert <libm...@robertweidlich.de> wrote:
> 
> > 
> > 
> > On Mon, Nov 19, 2012 at 08:43:52AM -0600, Kirk, Benjamin (JSC-EG311) wrote:
> >> 
> >> On Nov 19, 2012, at 8:39 AM, Robert <libm...@robertweidlich.de> wrote:
> >> 
> >>> My older installation of libmesh (r5498) works fine on the same computer 
> >>> with MPI. Even with
> >>> "make V=0" I could not get more information about the compilerflags used, 
> >>> so I cannot really
> >>> figure out, if it is a problem on my side or the build-system.
> >> 
> >> 
> >> Well the problem is that the MPI configuration is not being determined 
> >> properly, but the question is why.  Can you post the summary information 
> >> from configure (where it prints all that) and also send me your config.log?
> >> 
> >> configure should still be looking preferentially for the MPI compilers and 
> >> then falling back to snooping the MPI configuration from PETSc, so this 
> >> should be a straightforward fix.
> >> 
> > 
> > 
> > The configure summary is pasted below and the config.log is attached
> > 
> > ----------------------------------- SUMMARY 
> > -----------------------------------
> > 
> > Package version.................... : libmesh-0.9.0
> > 
> > C++ compiler type.................. : gcc4.5
> > C++ compiler....................... : g++
> > C compiler......................... : gcc
> > Fortran compiler................... : gfortran
> > Build Method....................... : opt
> > CPPFLAGS........................... : -DNDEBUG
> > CXXFLAGS........................... : -O2 -felide-constructors 
> > -funroll-loops -fstrict-aliasing -std=c++0x -Wdisabled-optimization -fopenmp
> > CFLAGS............................. : -O2 -funroll-loops -fstrict-aliasing 
> > -fopenmp
> > Install dir........................ : /tmp/libmesh
> > Build user......................... : xxxx
> > Build host......................... : stokes
> > Configure date..................... : 2012-11-19 15:26
> > Build architecture................. : x86_64-unknown-linux-gnu
> > SVN revision number................ : 6404
> > 
> > Library Features:
> >  adaptive mesh refinement......... : yes
> >  complex variables................ : no
> >  ghosted vectors.................. : yes
> >  high-order shape functions....... : yes
> >  infinite elements................ : no
> >  Dirichlet constraints............ : yes
> >  node constraints................. : no
> >  parallel mesh.................... : no
> >  performance logging.............. : no
> >  periodic boundary conditions..... : yes
> >  reference counting............... : yes
> >  shape function 2nd derivatives... : yes
> >  stack trace files................ : no
> >  subdomain id size................ : 2 bytes
> >  variational smoother............. : yes
> >  xdr binary I/O................... : yes
> > 
> > Optional Packages:
> >  boost............................ : yes
> >  eigen............................ : no
> >  exodus........................... : yes
> >  fparser.......................... : yes
> >     build from version............ : release
> >  glpk............................. : no
> >  gmv.............................. : yes
> >  gzstream......................... : yes
> >  laspack.......................... : yes
> >  libhilbert....................... : yes
> >  metis............................ : yes
> >  mpi.............................. : yes
> >  nemesis.......................... : yes
> >  netcdf........................... : yes
> >  openmp........................... : yes
> >  parmetis......................... : yes
> >  petsc............................ : yes
> >     version....................... : 3.2.0
> >  sfcurves......................... : yes
> >  slepc............................ : no
> >  tbb.............................. : no
> >  c++ threads...................... : no
> >  tecio............................ : no
> >  tecplot...(vendor binaries)...... : yes
> >  tetgen........................... : yes
> >  triangle......................... : yes
> >  trilinos......................... : yes
> >     AztecOO....................... : no
> >     NOX........................... : no
> >     ML............................ : no
> >  vtk.............................. : yes
> > 
> >  libmesh_optional_INCLUDES........ : -I/home/xxxx/opt/include/vtk-5.6 
> > -I/home/xxxx/opt/build/petsc-3.2-p6/include 
> > -I/home/xxxx/opt/build/petsc-3.2-p6/linux-gnu-opt/include -I/usr/include
> > 
> >  libmesh_optional_LIBS............ : -Wl,-rpath,/home/xxxx/opt/lib/vtk-5.6 
> > -L/home/xxxx/opt/lib/vtk-5.6 -lvtkIO -lvtkCommon -lvtkFiltering -lz 
> > -L/home/xxxx/opt/build/petsc-3.2-p6/linux-gnu-opt/lib -lpetsc -lX11 
> > -Wl,-rpath,/home/xxxx/opt/build/petsc-3.2-p6/linux-gnu-opt/lib -lcmumps 
> > -ldmumps -lsmumps -lzmumps -lmumps_common -lpord -lparmetis -lmetis 
> > -lsuperlu_4.2 -lscalapack -lblacs -lflapack -lfblas 
> > -L/usr/lib64/gcc/x86_64-suse-linux/4.5 
> > -L/global/linux/64_bit/opt/intel/mkl/10.2.2.025/lib/em64t 
> > -L/global/linux/64_bit/opt/intel/mkl/10.2.2.025/lib/32 
> > -L/global/linux/64_bit/opt/intel/mkl/10.2.2.025/lib/64 
> > -L/usr/x86_64-suse-linux/lib -lmpichf90 -lgfortran -lm -lmpich -lopa -lmpl 
> > -lrt -lpthread -lgcc_s -ldl
> > 
> > -------------------------------------------------------------------------------
> > Configure complete, now type 'make' and then 'make install'.
> > 
> > ---------------------------------------------
> > --------- Done Configuring libMesh ----------
> > ---------------------------------------------
> > 
> > <config.log>
> 

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to