Skip to main content

5.15) Simple Example Submission Scripts (cont'd)


Recall that the default memory allocation is 1GB/slot. To request more memory use the –l h_vmem flag. For instance, bigmem.sh:

[bash]
#!/bin/bash
# Use current working directory and export environment
#$ -cwd -V
# Request 1 hour of runtime
#$ -l h_rt=1:00:00
#Request 12 GB of memory
#$ -l h_vmem=12G
./myprog
[/bash]

This can be submitted via:

$ qsub bigmem.sh

Recall that on ARC2, there are 32GB/node and 16 cores/node, i.e. 2Gb/core. This means that the above request for 12Gb of memory will run on a single core but will consume 6 cores.