Babylon/Amundsen (Dartmouth Research Computing)

Table of Contents

  1. Getting an Account
  2. SSH Configuration
    1. Password-less SSH
  3. Environment
  4. Installing ISSM on Babylon/Amundsen
    1. Installing ISSM with CoDiPack (AD)

Getting an Account

You automatically have access to Babylon/Amundsen if you are part of Dartmouth’s Thayer School of Engineering. To request access to Amundsen, please send an email to Helene Seroussi.

SSH Configuration

Babylon/Amundsen is actually a cluster of 12 independent servers, so you need to first choose which one you are going to log into. Check cluster usage.

Add the following lines to ~/.ssh/config on your local machine:

Host babylon babylon?.thayer.dartmouth.edu
    Hostname babylon?.thayer.dartmouth.edu
    User <USERNAME>

replacing <USERNAME> with your Babylon/Amundsen username (which should be your Dartmouth NetID). Then, you can ssh to Babylon/Amundsen with,

ssh babylon<N>

or

ssh amundsen<N>

where <N> is the number of the machine you want to access.

Password-less SSH

This machine does not support public key authentication.

Environment

On Babylon/Amundsen, add the following lines to ~/.bashrc,

# Load modules
module unload paraview/6.1.0

# ISSM
export ISSM_DIR=<PATH_TO_ISSM>

export FC=gfortran
export F77=gfortran
export F90=gfortran
export CC=gcc
export CXX=g++

source $ISSM_DIR/etc/environment.sh
alias ma='LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6" /thayerfs/apps/matlab/bin/matlab -nodesktop -nosplash -r "addpath ${ISSM_DIR}/src
/m/dev; devpath;"'

replacing <PATH_TO_ISSM> with the path to the directory that you cloned the ISSM source code repository to. Then, run,

source ~/.bashrc

or log out and log back in to apply this change.

Installing ISSM on Babylon/Amundsen

Babylon’s home directory is on a very small drive. Make sure to install ISSM in /jumbo/ice/ISSM/ (Ask Colin to give you permission),

cd /jumbo/ice/ISSM/
mkdir <USERNAME>

replacing <USERNAME> with your username. This is where you should clone ISSM and do your work.

You can clone ISSM and install the following packages:

  • PETSc 3.26 (./install-3.26-babylon.sh or later)
  • triangle (./install-linux.sh)

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

./configure \
    --prefix="${ISSM_DIR}" \
    --enable-development \
    --enable-debugging \
    --with-numthreads=20 \
    --with-matlab-dir="/thayerfs/apps/matlabR2026a" \
    --with-mpi-include="/usr/lib/x86_64-linux-gnu/openmpi/include" \
    --with-mpi-libflags="-L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi" \
    --with-fortran-lib="-L/usr/lib/gcc/x86_64-linux-gnu/15 -lgfortran" \
    --with-triangle-dir="${ISSM_DIR}/externalpackages/triangle/install" \
    --with-petsc-dir="${ISSM_DIR}/externalpackages/petsc/install" \
    --with-metis-dir="${ISSM_DIR}/externalpackages/petsc/install" \
    --with-parmetis-dir="${ISSM_DIR}/externalpackages/petsc/install" \
    --with-blas-lapack-dir="${ISSM_DIR}/externalpackages/petsc/install" \
    --with-scalapack-dir="${ISSM_DIR}/externalpackages/petsc/install" \
    --with-mumps-dir="${ISSM_DIR}/externalpackages/petsc/install" \

Installing ISSM with CoDiPack (AD)

You will need to install the following additional packages:

  • codipack
  • medipack