MikeDacre / fyrd

Submit functions and shell scripts to torque and slurm clusters or local machines using python.
https://fyrd.science
MIT License
22 stars 8 forks source link

Empty memory option in profiles.txt #88

Open raul-delacruz opened 6 years ago

raul-delacruz commented 6 years ago

Hi,

I am trying to use fyrd on a supercomputer with SLURM queue system but the 'mem' option is giving me problems. The point is that in our SLURM the option #SBATCH --mem=XXX is not allowed:

20180820 16:39:56.517 | CRITICAL --> sbatch failed with code 1
-----------------------------------> stdout: 
-----------------------------------> stderr: sbatch: error: You cannot submit a job requesting memory parameters, memory is automatically set for each asked cpu (2G/core by default, 8G/core for highmem)
-----------------------------------> sbatch: error: Batch job submission failed: Memory required by task is not available

This parameter is already fixed by the class/partition and it is not permitted. Leaving the value as none or empty in the profiles.txt does not help either, it seems that is mandatory to set a value for it. Could you leave this parameter as optional?

Thanks in advance, Raúl