Ticket 13870 - How to exclude a feature from job submission sbatch
Summary: How to exclude a feature from job submission sbatch
Status: RESOLVED DUPLICATE of ticket 3875
Alias: None
Product: Slurm
Classification: Unclassified
Component: User Commands (show other tickets)
Version: 21.08.4
Hardware: Linux Linux
: --- 4 - Minor Issue
Assignee: Director of Support
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2022-04-19 06:54 MDT by Thu-Ha Tran
Modified: 2022-04-19 15:41 MDT (History)
0 users

See Also:
Site: Shell
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:
Target Release: ---
DevPrio: ---
Emory-Cloud Sites: ---


Attachments

Note You need to log in before you can comment on or make changes to this ticket.
Description Thu-Ha Tran 2022-04-19 06:54:20 MDT
Hi support,

In a NodeSet, we include both CPU and GPU nodes.  We set different weight, so if job doesn't require gpu, then it will run on CPU nodes first.  If no more CPU nodes, then it can be able to run on GPU nodes. 

Some of users want to run their jobs on CPU nodes only.  Is there a way to exclude the feature, for instance, sbatch -A account1 -C !gpu ....

Would you please check into this and let me know?

Thanks,
Thu-Ha
Comment 1 Jason Booth 2022-04-19 13:51:39 MDT
Slurm does not currently support an expanded regular expression set for this that includes XOR or not.

bug#3875


Although not ideal, you could add an additional feature to the node that falls in the category you are trying to target.

*** This ticket has been marked as a duplicate of ticket 3875 ***
Comment 2 Thu-Ha Tran 2022-04-19 14:07:10 MDT
Hi Jason,

By reading the ticket that you posted here https://bugs.schedmd.com/show_bug.cgi?id=3875, this has been requested since 2017 by many users. 

Do you think that this feature will be implemented in near future since it has been requested by many users/ customers?  I think it will be more valuable and convenient if this is available for usage

regards,
Thu-Ha
Comment 3 Jason Booth 2022-04-19 15:41:37 MDT
We have no foreseeable plans to implement this right now. As Tim mentioned in bug#3875comment#11 we are open to sponsorship of this feature or community contributions.