[slurm-users] EXTERNAL: Re: Memory per CPU

Luecht, Jeff A jeff.luecht at pnc.com
Wed Sep 30 13:37:57 UTC 2020


First off, I want to thank everyone for their input and suggestions.  They were very helpful an ultimately pointed me in the right direction.  I spent several hours playing around with various settings.  

Some additional background. When the srun command is used to execute this job,  we do not see this issue.  We only see it in SBATCH.

What I ultimate did was the following:

1 - Change the NodeName to add the specific parameters Sockets, Cores and Threads.
2 - Changed the DefMemPerCPU/MaxMemCPU to 16144/12228 instead of 6000/12000 respectively

I tested jobs after the above changes and used 'scontrol --defaults job <ID>' command.  The CPU allocation now works as expected.  

I do have one question though - what is the benefit/recommendation of using srun to execute a process within SBATCH.  We are running primarily python jobs, but need to also support R jobs.

-----Original Message-----
From: slurm-users [mailto:slurm-users-bounces at lists.schedmd.com] On Behalf Of Diego Zuccato
Sent: Wednesday, September 30, 2020 2:18 AM
To: Slurm User Community List <slurm-users at lists.schedmd.com>; Michael Di Domenico <mdidomenico4 at gmail.com>
Subject: EXTERNAL: Re: [slurm-users] Memory per CPU

** This email has been received from outside the organization – Think before clicking on links, opening attachments, or responding. **

Il 29/09/20 16:19, Michael Di Domenico ha scritto:

> what leads you to believe that you're getting 2 CPU's instead of 1?
I think I saw that too, once, but thought it was related to hyperthreading.

--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786




The contents of this email are the property of PNC. If it was not addressed to you, you have no legal right to read it. If you think you received it in error, please notify the sender. Do not forward or copy without permission of the sender. This message may be considered a commercial electronic message under Canadian law or this message may contain an advertisement of a product or service and thus may constitute a commercial electronic mail message under US law. You may unsubscribe at any time from receiving commercial electronic messages from PNC at http://pages.e.pnc.com/globalunsub/
PNC, 249 Fifth Avenue, Pittsburgh, PA 15222; pnc.com




More information about the slurm-users mailing list