McStas logo McStas - A neutron ray-trace simulation package ILL; PSI; ESS Niels Bohr Institute DTU Physics NEXMAP


About McStas
 Conditions of use
 Project funding

 Other Downloads (share)

Mailing list

Search web/mailinglist

 McStas manual
 Known problems



Links <- UPDATED!

Report bugs


Quick and dirty perl-hack for generating a batchfile for PBS cluster schedulers.

Takes an mcrun commandline as input, plus the following extra parameters controlling parallization and scheduling.

Written by Peter Willendrup, Risø DTU, 2010.

Usage: mcsub [options] [mcrun params] 
 -h        --help            Show this help
 -r N      --runtime=N       Specify maximum runtime (hours) [default 99]
 -q QNAME  --queue=QNAME    Specify wanted openPBS queue [default 'default']
           --nodes=NUM       Specify wanted number of nodes [default 3]
           --name=NAME       Specify openPBS job name [default McSub]

After running mcsub NAME.batch is ready for submission using the qsub command

Last Modified: Tuesday, 10-Aug-2010 20:26:05 CEST
Search website mailinglist archive GitHub repos