Sample Header Ad - 728x90

Syntax for memory request in a Sun Grid Engine job file

0 votes
1 answer
807 views
I'm submitting a Matlab job in the cluster of my university using qsub after having logged in a node using ssh. The job runs out of memory. This is the advice I received to fix my issue: "**Possible solutions are run on a bigger machine or buy more RAM**." What does this mean in practice for my bash file? Which lines of the bash file control the size of the machine or the RAM? At the moment, in my bash file (see below) I request vmem and tmem. Is any of these RAM? #$ -S /bin/bash #$ -l h_vmem=18G #$ -l tmem=18G #$ -l h_rt=480:0:0 #$ -cwd #$ -j y #Run 600 tasks where each task has a different $SGE_TASK_ID ranging from 1 to 600 #$ -t 1-600 #$ -N try date hostname #Output the Task ID echo "Task ID is $SGE_TASK_ID" matlab -nodisplay -nodesktop -nojvm -nosplash -r "main_1; ID = $SGE_TASK_ID; f_1; exit"
Asked by Star (125 rep)
Sep 9, 2020, 11:01 AM
Last activity: Sep 9, 2020, 02:24 PM