<div dir="ltr"><div>I believe you are right, Mark!</div><div><br></div><div>Thanks so much. I put in #SBATCH --mem=16000 and now the jobs run fine. I can get both GPU jobs running. <br></div><div><br></div><div>Ben Wong<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 16, 2019 at 3:22 PM Mark Hahn <<a href="mailto:hahn@mcmaster.ca">hahn@mcmaster.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> #!/bin/bash<br>
> #SBATCH -c 2<br>
> #SBATCH -o slurm-gpu-job.out<br>
> #SBATCH -p gpu.q<br>
> #SBATCH -w mk-gpu-1<br>
> #SBATCH --gres=gpu:1<br>
<br>
could it be that sbatch is defaulting to --mem=0, meaning "all the node's memory"?<br>
<br>
regards, mark hahn.<br>
<br>
</blockquote></div>