[CIG-LONG] compiling Gale on a supercomputer
Walter Landry
wlandry at caltech.edu
Thu May 24 12:39:32 PDT 2012
Robert Gray <graywacke at gmail.com> wrote:
> Still can't find libXML2 with:
>
> ./configure.sh --hdf5-dir=$SCINET_HDF5_BASE --cxxflags="-std=c++0x" --linkflags="-lX11 -L/
> scinet/gpc/intel/mkl/lib/em64t -lmkl_lapack".
This is looking better. You need to link in additional mkl libraries.
Going by what I see at
http://software.intel.com/en-us/articles/intel-mkl-link-line-advisor/
My guess is linkflags should be
--linkflags="-lX11 -L/scinet/gpc/intel/mkl/lib/em64t -lmkl_lapack -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -openmp -pthread -lm"
You may have to change
-lmkl_intel_lp64
to
-lmkl_intel_ilp64
depending on how petsc is configured.
Cheers,
Walter Landry
More information about the CIG-LONG
mailing list