Ticket 1701

Summary: test1.69 failed
Product: Slurm Reporter: Véronique Legrand <vlegrand>
Component: Test SuiteAssignee: Nathan Yee <nyee32>
Status: RESOLVED FIXED QA Contact:
Severity: 6 - No support contract    
Priority: --- CC: brian, da, nyee32
Version: 14.11.8   
Hardware: Linux   
OS: Linux   
Site: -Other- Alineos Sites: ---
Atos/Eviden Sites: --- Confidential Site: ---
Coreweave sites: --- Cray Sites: ---
DS9 clusters: --- HPCnow Sites: ---
HPE Sites: --- IBM Sites: ---
NOAA SIte: --- OCF Sites: ---
Recursion Pharma Sites: --- SFW Sites: ---
SNIC sites: --- Linux Distro: ---
Machine Name: CLE Version:
Version Fixed: 14.11.8 Target Release: ---
DevPrio: --- Emory-Cloud Sites: ---
Attachments: patch for test1.69

Description Véronique Legrand 2015-05-28 01:33:58 MDT
Created attachment 1912 [details]
patch for test1.69

Hello,

I am running slurm for test purpose on a linux virtual machine with 2 CPU. In slurm.conf, I have SelectType=linear. Because of my configuration (1 node with 2 CPU, select=linear), test1.69 failed. Indeed, it is not possible to run 2 srun jobs simultaneously on the same node with SelectType=linear.
I simply added a few lines of code at the beginning of the test to check the number of nodes in the default partition and the SelectType and exit in my case. I propose the patch in attachment.
Comment 1 Moe Jette 2015-05-28 03:36:44 MDT
Thank you for diagnosing the problem and your patch. I checked in a variation of your change here:
https://github.com/SchedMD/slurm/commit/99cd33f11a028358934c001c952f5a9fcf06a5eb