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

McStas

About McStas
 Conditions of use
 Authors/Contacts
 Project funding
 Screenshots

Download
 Components
 Linux Install (deb/rpm)
 Mac OS X Install
 Unix Install (src code)
 Windows Install
 Other Downloads (share)

Mailing list

Search web/mailinglist

Documentation
 McStas manual
 FAQ
 Known problems
 Publications
 C Compilers
 Other
 Tools
 Tutorial

Workshops/conferences

Developments

Links

Report bugs

Git

McStas Ubuntu live-dvd


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