# PBSpro equivalent of "procs=" syntax in Moab/Torque

**URL:** <https://community.openpbs.org/t/pbspro-equivalent-of-procs-syntax-in-moab-torque/1459>\
**Category:** Users/Site Administrators\
**Created:** [February 12, 2019, 7:11am UTC](https://community.openpbs.org/t/pbspro-equivalent-of-procs-syntax-in-moab-torque/1459 "2019-02-12T07:11:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikescchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mikescchen/32/192_2.png) [@mikescchen](https://community.openpbs.org/u/mikescchen)\
**Post date:** [February 12, 2019, 7:11am UTC](https://community.openpbs.org/t/pbspro-equivalent-of-procs-syntax-in-moab-torque/1459/1 "2019-02-12T07:11:57Z")

</div>

Hi~~  
We’d like to find a system that supports submitting jobs without assigning nodes number, but with total MPI procs number.  
This is can be done with paid Moab/torque; but the Torque is no longer freely downloadable, and the free Maui had stopped updates for a long time.  
We did discussed subscribing their support, but since their pricing model changes during the process, we’d like to search for other options.  
I’ve never used PBSpro before, but from a glimpse of the document and some short test on a minimal environment, I did not find this possible on PBSpro.  
Am I right on this conclusion? Or there is some way to do this which I did not find?  
(Sorry for the bad English :p)

Mike Chen  
Research Assistant  
Dept. of Atmospheric Science  
National Taiwan University

---

<div class="post-metadata">

**Author:** ![adarsh](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@adarsh](https://community.openpbs.org/u/adarsh)\
**Post date:** [February 12, 2019, 9:17am UTC](https://community.openpbs.org/t/pbspro-equivalent-of-procs-syntax-in-moab-torque/1459/2 "2019-02-12T09:17:17Z")

</div>

Mike

Could you please share us an example or link to this feature description.  
A bit more explanation of the purpose of this feature used in your environment.

Thank you

---

<div class="post-metadata">

**Author:** ![mikescchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mikescchen/32/192_2.png) [@mikescchen](https://community.openpbs.org/u/mikescchen)\
**Post date:** [February 12, 2019, 9:30am UTC](https://community.openpbs.org/t/pbspro-equivalent-of-procs-syntax-in-moab-torque/1459/3 "2019-02-12T09:30:20Z")

</div>

Hi,  
The environment is using Torque 3.0.4 w/o Maui.  
The said function is broken in Torque + internal pbs\_sched higher than v3.0.4.  
With this function, I can just submit jobs like:  
#PBS -l procs=100  
The scheduler will assign as many nodes as it needs to satisfy the total MPI processes requirement, without the “#PBS -l nodes=” argument.

Mike

---

<div class="post-metadata">

**Author:** ![bhroam](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/bhroam/32/20_2.png) [@bhroam](https://community.openpbs.org/u/bhroam)\
**Post date:** [February 13, 2019, 2:25am UTC](https://community.openpbs.org/t/pbspro-equivalent-of-procs-syntax-in-moab-torque/1459/4 "2019-02-13T02:25:36Z")

</div>

Try qsub -l select=100:ncpus=1. This will have the scheduler spread the job out on as many nodes as it needs to give the job 100 cpus. You can go even further and if the job requires a certain amount of memory per process, you can say -lselect=100:ncpus=1:mem=2gb.

Bhroam

---

<div class="post-metadata">

**Author:** ![mikescchen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mikescchen/32/192_2.png) [@mikescchen](https://community.openpbs.org/u/mikescchen)\
**Post date:** [February 13, 2019, 4:07pm UTC](https://community.openpbs.org/t/pbspro-equivalent-of-procs-syntax-in-moab-torque/1459/5 "2019-02-13T16:07:53Z")

</div>

Hi,  
The job runs, and the output ($PBS\_NODEFILE) is as expected.  
Thank you very much!  
I’ll try if I can actually run MPI jobs this way.

Mike
