#!/bin/bash -login #SBATCH --job-name COMSOL #SBATCH --mail-user=youremail@...uni-hannover.de #SBATCH --mail-type=BEGIN,END,FAIL #SBATCH --time=1:00:00 #SBATCH --nodes=1 #SBATCH --ntasks=8 #SBATCH --mem=30G # load module module load COMSOL/5.4 # go to work dir cd $SLURM_SUBMIT_DIR # start comsol comsol batch -np $SLURM_NTASKS -inputfile infile.mph -outputfile outfile.mph -tmpdir $TMPDIR