Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlesample.slurm
languagebash
#!/bin/bash
#SBATCH --job-name=JobNameHere
#SBATCH --partition=partitionNameHere
#SBATCH --ntasks=1
#SBATCH --time=24:00:00
#SBATCH --mail-user=YourEmailAddressHere
#SBATCH --mail-type=ALL
#SBATCH --export=ALL
#
echo "I ran on:"
cd $SLURM_SUBMIT_DIR
echo $SLURM_NODELIST
#
matlab -nodisplay -r "sample; quit"

...