[torqueusers] using taskset within a PBS job

Garrick Staples garrick at clusterresources.com
Fri Sep 1 17:46:14 MDT 2006

On Wed, Aug 30, 2006 at 05:20:59PM +0200, bill alleged:
> Hello
> I have a script which do the following:
> compile an mpi executable
> launch it.
> I want then to lock these executables in CPU with taskset.
> Is there a way to do it easily?
> ex:
> a user launch a job: there is 3 process on 2 nodes called out.exe
> another user launch another job on 3 nodes and 4 ppn, call out.exe
> Is there any builtin in torque which can help me, or I should write a 
> shell script to wrap all the taskset?

Support for the newer linux 2.6 cpusets is currently under development.

For the most part, I think this level of control on dual and quad proc
machines isn't needed.  Just let the process scheduler do its thing.

More information about the torqueusers mailing list