wiki:computecanada

These directions should be good on any of the Canadian super computer systems using the common StdEnv/2020 Compute Canada module software stack

Download ISSM

You can download the development branch trunk-jpl:

svn --username XXX --password XXX  checkout http://issm.ess.uci.edu/svn/issm/issm/trunk-jpl

ssh configuration

You should first create and upload an SSH key so you don't have to keep typing in your password. See directions: https://docs.computecanada.ca/wiki/SSH_Keys

Environment

On Sherlock, add the following lines to ~/.bashrc:

module load gcc openmpi matlab metis parmetis imkl petsc
export ISSM_DIR=PATHTOTRUNK
source $ISSM_DIR/etc/environment.sh

Change PATHTOTRUNK to where trunk-jpl is located. Log out and log back in to apply this change.

Installing ISSM on the cluster

You need to install the following packages in this exact sequence:

  • m1qn3 (install.sh)

Use the following configuration script (adapt to your needs):

./configure \
        --prefix=$ISSM_DIR \
        --with-numthreads=2 \
        --with-mkl-libflags="-lmkl_gf_lp64 -lmkl_sequential  -lmkl_core -lmkl_blacs_openmpi_lp64 -lmkl_scalapack_lp64"\
        --with-petsc-dir="$EBROOTPETSC" \
        --with-mumps-dir="$EBROOTPETSC" \
        --with-m1qn3-dir="$ISSM_DIR/externalpackages/m1qn3/install" \
        --with-mpi-include="/some/path/just/to/enable" \
        --with-mpi-libflags="-lmpi_cxx -lmpi_mpifh -lmpi" \
        --with-fortran-lib="-L$EBROOTGCC/lib64 -lgfortran"

computecanada_settings.m

You have to add a file in $ISSM_DIR/src/m entitled computecanada _settings.m with your personal settings:

cluster.login='XXX';
cluster.port=0;
cluster.codepath=XXX';
cluster.executionpath='XXX';

Use your username for the login and enter your codepath and executionpath. These settings will be picked up automatically by MATLAB when you do md.cluster=computecanada()

Last modified 8 months ago Last modified on 09/21/23 12:43:22
Note: See TracWiki for help on using the wiki.