Use the "--mem" directive to specify the amount of memory per node. Units are in MB. The examples below illustrate how to request 128 GB of RAM per node.


For batch jobs via command line:

sbatch --mem=128000 [other sbatch arguments] [your_slurm_script]

 

For interactive jobs using fisbatch:

fisbatch --mem=128000 [other fissbatch arguments]

 

Alternatively, for batch jobs you can edit your slurm script to add a "#SBATCH --mem" directive:

#SBATCH --mem=128000

 

Alternatively, you can use "--mem-per-cpu" to specify the amount of memory per cpu. Note: "--mem" and "--mem-per-cpu" are mutually exclusive --- only one of the two should be specified.