Skip to content

Instantly share code, notes, and snippets.

@mitkof6
Created September 22, 2020 13:33
Show Gist options
  • Save mitkof6/bf9792a07e9c3f3c7ad1e41537cfd9b5 to your computer and use it in GitHub Desktop.
Save mitkof6/bf9792a07e9c3f3c7ad1e41537cfd9b5 to your computer and use it in GitHub Desktop.
SLURM build opensim-core
#!/bin/bash
#SBATCH -J opensim-core_build
#SBATCH -J ./opensim-core_build
#SBATCH -o ./opensim-core_build.out
#SBATCH -e ./opensim-core_build.err
#SBATCH -N 1 # number of nodes
#SBATCH -n 38 # number of cores
#SBATCH --mem 28G # memory pool for all cores
#SBATCH --mail-user=dimitar.stanev@epfl.ch
#SBATCH --mail-type=fail
#SBATCH --time=00:30:00
echo "running on hosts: $SLURM_NODELIST"
echo "running on $SLURM_NNODES nodes."
echo "running $SLURM_NTASKS tasks."
echo "current working directory is `pwd`"
srun -n 1 linux_build-opensim-core
echo "program finished"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment