I included this line: #SBATCH --mem=20g and now while running sbatch scriptname. I am getting this error: sbatch: error: Memory specification can not be satisfied sbatch: error: Batch job submission failed: Requested node configuration is not available
slurm error
Hello everyone: I submitted a job via slurm and got this error: Error: cannot allocate vector of size 7.8 Gb Execution halted Warning message: system call failed: Cannot allocate memory I have run this job but my job got terminated and the error was this. Can anyone tell me how to solve this? I am running R job via sbatch.
• 3,692 views
•
link
1 answer
You are not specifying any memory allocation in your SLURM file. You need to add (change the number as needed)
#SBATCH --mem=20g
Without this directive you are likely getting the default memory allocation which is smaller than 8G your program wants to have.
• 0 views
•
link
• 0 views
•
link
Log in to answer this question.
You need to provide more details:
What is your slurm job specifications? How big are your data?
This error looks like R complaining not having enough memory to allocate the required data. Increasing your slurm batch job memory requirement to like 20G might help. But there's no way for us to know unless you provide more information.
the file size is 37,587,249 KB