Hi,
I have been trying to install ISSM on the UofSheffield Stanage cluster, using intel compilers and the system intel MPI. I installed m1qn3 and PETSc 3.21 (modifying the 3.21-andes install script to do so). Everything seemed to install fine and there is no obvious error messages (some depreceated Intel compiler classic warnings but nothing else). But on running a job, the errlog reads:
/users/gg4ahe/issm/bin/issm.exe: error while loading shared libraries: libpetsc.so.3.21: cannot open shared object file: No such file or directory
libpetsc.so.3.21 is present in:
$ISSM_DIR/externalpackages/petsc/install/lib
.
My PETSc install looks like this:
./config/configure.py \
COPTFLAGS="-g -O3" CXXOPTFLAGS="-g -O3" FOPTFLAGS="-g -O3" \
--prefix="${PREFIX}" \
--PETSC_DIR="${PETSC_DIR}" \
--with-make-np=20 \
--with-debugging=0 \
--with-valgrind=0 \
--with-x=0 \
--with-ssl=0 \
--with-pic=1 \
--with-blas-lapack-dir=$MKLROOT \
--download-metis=1 \
--with-mpi-dir=$EBROOTIMPI/mpi/latest/ \
--download-parmetis=1 \
--download-scalapack=1 \
--download-mumps=1
make
make install
My configure.sh looks like this:
export CC=mpiicc
export CXX=mpiicpc
export FC=mpiifort
./configure \
--prefix=$ISSM_DIR \
--with-wrappers=no \
--without-Love \
--without-kml \
--with-petsc-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \
--with-mpi-include="-I$EBROOTIMPI/mpi/latest/include" \
--with-mpi-libflags="-L$EBROOTIMPI/mpi/latest/lib -lmpicxx -lmpifort -lmpi"\
--with-metis-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-mkl-libflags="-L$MKLROOT/lib/intel64/ -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \
--with-scalapack-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-mumps-dir="$ISSM_DIR/externalpackages/petsc/install" \
--with-cxxoptflags="-g -O3 -std=c++11 -fp-model=precise -diag-disable=10441" \
--with-fortran-lib="-L$EBROOTIMPI/mpi/latest/lib -lifcore -lifport -lgfortran" \
--enable-development
and my bash_profile includes
module purge
module load CMake/3.12.1 Autotools/20220317 intel/2022b
export ISSM_DIR=/users/gg4ahe/issm
source $ISSM_DIR/etc/environment.sh
Thank you,
Adam