Changes between Version 45 and Version 46 of pleiadesbash


Ignore:
Timestamp:
04/30/24 12:19:54 (12 months ago)
Author:
Mathieu Morlighem
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • pleiadesbash

    v45 v46  
    2323{{{
    2424#ISSM
    25 export ISSM_DIR="/u/jbondzio/ISSM/trunk-jpl"
     25export ISSM_DIR="/u/username/trunk-jpl"
    2626source $ISSM_DIR/etc/environment.sh
    2727
    2828#Packages
    29 module load comp-intel/2018.3.222
    30 module load /nasa/intel/impi/2021.3/modulefiles/mpi/2021.3.0
     29module load mpi-hpe/mpt
     30module load comp-intel
     31module load petsc/3.17.3_intel_mpt_py
    3132
    3233#Set compilers
     
    3435export CXX="mpicxx"
    3536export F77="mpif77"
    36 
    3737}}}
    3838
     
    4343'''Do NOT install mpich'''. We have to use the one provided by NAS. Pleiades will ''only'' be used to run the code, you will use your local machine for pre- and post- processing, you will never use Pleiades' copy of MATLAB. You can check out ISSM and install the following packages:
    4444 - m1qn3
    45  - PETSc (use `install-3.17-pleiades.sh` or newer)
     45 - that's it because we now use Pleiades' PETSc
    4646
    4747For documentation on the Pleiades cluster, see here: http://www.nas.nasa.gov/hecc/support/kb/
     
    5757
    5858{{{
    59 #!sh
    60 ./configure \
    61  --prefix=$ISSM_DIR \
    62  --enable-standalone-libraries \
    63  --with-wrappers=no \
    64  --with-m1qn3-dir=$ISSM_DIR/externalpackages/m1qn3/install \
    65  --with-metis-dir=$ISSM_DIR/externalpackages/petsc/install \
    66  --with-petsc-dir=$ISSM_DIR/externalpackages/petsc/install \
    67  --with-scalapack-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64/libmkl_scalapack_lp64.so" \
    68  --with-mpi-include=" " \
    69  --with-mpi-libflags=" -lmpi" \
    70  --with-mkl-libflags="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \
    71  --with-mumps-dir=$ISSM_DIR/externalpackages/petsc/install \
    72  --with-fortran-lib="-L/nasa/intel/Compiler/2018.3.222/compilers_and_libraries_2018.3.222/linux/compiler/lib/intel64_lin/ -lifcore -lifport -lgfortran" \
    73  --with-cxxoptflags="-O3 " \
    74  --with-vendor="intel-pleiades-mpi" \
    75  --enable-development
     59export CXXFLAGS="-g -Ofast"
     60export CFLAGS="-g -Ofast"
     61./configure \
     62   --prefix=$ISSM_DIR \
     63   --with-wrappers=yes \
     64   --with-matlab-dir="/nasa/matlab/2022b/" \
     65   --with-mpi-include="-I${MPI_ROOT}/include " \
     66   --with-mpi-libflags="-L${MPI_ROOT}/lib -lmpi" \
     67   --with-petsc-dir=${PETSC_DIR} \
     68   --with-parmetis-dir=${PETSC_DIR} \
     69   --with-metis-dir=${PETSC_DIR} \
     70   --with-mumps-dir=${PETSC_DIR} \
     71   --with-mkl-libflags="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -lm" \
     72   --with-m1qn3-dir="${ISSM_DIR}/externalpackages/m1qn3/install" \
     73    --with-fortran-lib="-L${MKLROOT}/../compiler/lib/intel64_lin -lifcore -lifport -lgfortran" \
     74   --with-cxxoptflags="-g -Ofast -axCORE-AVX2,AVX -xSSE4.2" \
     75   --enable-development
    7676}}}
    7777