HPC#

Installing Slurm#

Install MUNGE for auth#

dun/munge

export MUNGE_VER=0.5.15
export MUNGE_DIR=$PACKAGES_DIR/munge
mkdir $MUNGE_DIR
cd $MUNGE_DIR
wget https://github.com/dun/munge/archive/refs/tags/munge-$MUNGE_VER.tar.gz
tar xvf munge-$MUNGE_VER.tar.gz
cd munge-munge-$MUNGE_VER
./boostrap.sh
./configure --prefix=$MUNGE_DIR/install \
            --sysconfdir=$MUNGE_DIR/etc \
            --localstatedir=$MUNGE_DIR/var \
            --runstatedir=$MUNGE_DIR/run
make
make install

Install SLURM#

export SLURM_DIR=$PACKAGES_DIR/slurm
mkdir $SLURM_DIR
cd $SLURM_DIR
wget slurm-xyz
tar xvf slurm-xyz
cd slurm-xyz
./configure --prefix $SLURM_DIR/install \
            --sysconfdir $SLURM_DIR/etc \
             --with-munge=$MUNGE_DIR/install
make
make install

Configure and start MUNGE#

cd $MUNGE_DIR
chmod -R 0700 etc/munge/
install/sbin/mungekey --verbose
chmod 0600 etc/munge/munge.key
install/sbin/munged

Configure SLURM#

https://slurm.schedmd.com/configurator.html

Batching#

Application Specifics#

Abaqus#

Subroutines#

To run with subroutines it is something like:

module load intel-compilers
abaqus job=${job_name} input=${input_file} user=${user_subroutine} double=both interactive

Abaqus CAE#

Abaqus CAE is a graphical application so needs X11 forwarding to be active. You need to log into Meluxina with ssh -Y and launch an interactive X11 job:

srun -A $PROJECT_NUMBER -q dev -p cpu -N 1 -n 1 --time=00:10:00  --forward-x --pty /bin/bash -i

Due to rendering issues the following steps are then needed:

module load paraview # provides libGL missing from Abaqus module
module load abaqus

export LIBGL_ALWAYS_INDIRECT=1
export XLIB_SKIP_ARGB_VISUALS=1
abaqus cae -mesa