r12 - 10 Jan 2016 - 18:26:08 - DavidAcremanYou are here: Astrophysics Wiki >  Zen Web  >  RunningJobs > MultipleSerialJobs
If you have a number of serial jobs to run you can run them simultaneously on one node. Each compute node has 12 cores so can run up to 12 copies of a serial program, provided there is enough memory (each compute node has 24GB RAM). For example this script file runs four serial programs:

#!/bin/tcsh
#PBS -l nodes=1
#PBS -l walltime=12:00:00

myprog1 &
myprog2 &
myprog3 &
myprog4 &

# wait for all the background jobs to finish. 
wait

See /usr/local/examples/qsub_script/example-serial.pbs for an example of how to run multiple serial jobs in different directories.

-- JohnRowe - 11 Jan 2008

Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r12 < r11 < r10 < r9 < r8 | More topic actions
Zen.MultipleSerialJobs moved from Zen.MulipleSerialJobs on 11 Jan 2008 - 14:52 by JohnRowe - put it back

key Log In or Register
Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen Information

Main Web Users Groups Index Search Changes Notifications Statistics Preferences


Webs Main Sandbox TWiki Zen


 
Astrophysics Wiki


Edit Wysiwyg Attach Printable
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Astrophysics Wiki? Send feedback