[torqueusers] How to limit threads per job

Rob Holmes Rob.Holmes at bmtwbm.com.au
Sun Mar 10 17:33:02 MDT 2013

Are these OpenMP jobs?  If so, you need to set the OMP_NUM_THREADS environment variable to match PBS_NUM_PPN.  I set the default OMP_NUM_THREADS to 1 and ask users to include the following line in their submission scripts:

I'm sure you could use a prologue script for a more elegant solution but we don't have many users so this works fine.

Rob Holmes
Environmental Scientist - Catchments & Receiving Environments

Tel:  +61 7 3831 6744

Website:  www.bmtwbm.com.au

http://www.linkedin.com/company/bmt-wbm | https://twitter.com/bmtwbm | http://www.facebook.com/bmtwbm | http://www.youtube.com/bmtwbm

BMT WBM Pty Ltd, Level 8, 200 Creek Street, Brisbane QLD 4000 Australia

E-mail confidentiality notice and disclaimer:
The contents of this e-mail are intended for the use of the mail addressee(s) shown. If you are not that person, you are not allowed to read, action, copy, forward, distribute or disclose the contents and you should delete it from your system. BMT WBM accepts no liability for any errors or omissions in the content of this e-mail, nor does it accept liability for statements which are those of the author and clearly not made on behalf of the company.

Commercial Terms and Conditions: Unless otherwise agreed by BMT WBM in writing, all services or products supplied by BMT WBM shall be subject to and governed by BMT WBM's standard terms and conditions, which are available upon request.

-----Original Message-----
From: torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] On Behalf Of Albano Serrano
Sent: Monday, 11 March 2013 03:06 AM
To: torqueusers at supercluster.org
Subject: [torqueusers] How to limit threads per job

I have a Rocks cluster with Torque  2.3.6.
Some users submit jobs with certain number of cores but after these jobs run, on each node, with many threads, more than cores specified in qsub.
Is there any way to limit the number of threads/job?
The Torque/Maui lets you do this?

Thank you in advance.
albano serrano
university of minho
braga - portugal
torqueusers mailing list
torqueusers at supercluster.org

More information about the torqueusers mailing list