[CIG-LONG] compiling Gale on a supercomputer
Walter Landry
wlandry at caltech.edu
Mon May 28 15:12:22 PDT 2012
Robert Gray <graywacke at gmail.com> wrote:
> Hey Walter,
> Now I'm trying to compile Gale on the supercomputer with a mumps. I've
> loaded the appropriate module, and the configuration process works fine
> with:
>
> ./configure.sh --hdf5-dir=$SCINET_HDF5_BASE --cxxflags="-std=c++0x"
> --linkflags="-lX11 -L/scinet/gpc/intel/mkl/lib/em64t -lmkl_lapack
> -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -pthread -lm"
> --cxx=mpicxx
>
> but the compilation process fails with a load of warnings:
>
> icpc: warning #10315: specifying -lm before files may supercede the
> Intel(R) math library and affect performance
Try not adding the "-lm" option.
> /scinet/gpc/Libraries/petsc-3.2-p2-openmpi-mumps/linux-gnu-c-opt/lib/libpetsc.a(mumps.c.o):
> In function `MatDestroy_MUMPS':
> /scinet/gpc/Libraries/petsc-3.2-p2-openmpi-mumps/src/mat/impls/aij/mpi/mumps/mumps.c:(.text+0x1ef9):
> undefined reference to `dmumps_c'
You have to link in the mumps library explicitly. Is there a separate
module for Mumps, or is it in
/scinet/gpc/Libraries/petsc-3.2-p2-openmpi-mumps/externalpackages
Cheers,
Walter Landry
More information about the CIG-LONG
mailing list