🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to specify multiple nodes in PBS Pro

User: "David Canon"
Altair Community Member
Updated by David Canon

Hello,

I’m trying to run an application on specific nodes (using PBS Pro), but cannot get the correct syntax.

The following works for running on any two nodes:

#PBS -l select=2,ncpus=4:mpiprocs=4:mem=60gb

The following works for running on one specific node

#PBS -l select=1,ncpus=20:mpiprocs=20:mem=60gb:host=myNodeName

The following DO NOT work for running on two specific nodes

#PBS -l select=2,ncpus=4:mpiprocs=4:mem=60gb:host=myNodeName1:host=myNodeName2

#PBS -l select=2,ncpus=4:mpiprocs=4:mem=60gb:host=myNodeName1,myNodeName2

#PBS -l select=2,ncpus=4:mpiprocs=4:mem=60gb:host=myNodeName1+myNodeName2

 

I’ve tried many other permutations of syntax, but cannot get it to work

Could you give me the correct syntax to submit to more than one specific node?

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "Chayan"
    Altair Employee
    Updated by Chayan

    Hi David,

    Our PBS technical support team will get in touch with you regarding this request. Let them know if you have any followup questions.

     

    User: "Mark Panasci_21520"
    Altair Employee
    Updated by Mark Panasci_21520

    Hi David, I think you got your answer in Support Case CS0465848, where I commented on the proper syntax to get this to work:

    This syntax can be a bit tricky, but you almost have it. Try this:

    #PBS -l select=1:ncpus=4:mpiprocs=4:mem=60gb:host=myNodeName1+1:ncpus=4:mpiprocs=4:mem=60gb:host=myNodeName2

    The "+" sign makes this a compound select statement, which you can use to define multiple chunks (select=) but with each chunk or groups of chunks calling for different quantities of resources. A key thing to notice is the 2nd select statement only has the chunk quantity, in this case "1", and not the string "select".