[CIG-LONG] compiling Gale on a supercomputer

Robert Gray graywacke at gmail.com
Thu May 24 13:20:22 PDT 2012


Hey Walter,
Success with the compilation process!  Thank you.  However, when I try to
run the yielding.json model it crashes immediately with the error message:

./Gale: error while loading shared libraries: libmkl_lapack.so: cannot open
shared object file: No such file or directory

Cheers,
Rob

On Thu, May 24, 2012 at 3:39 PM, Walter Landry <wlandry at caltech.edu> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-long/attachments/20120524/bdeefd7d/attachment.htm 


More information about the CIG-LONG mailing list