cluster:106
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| cluster:106 [2012/07/10 18:30] – hmeij | cluster:106 [2016/11/21 20:22] (current) – [Sample] hmeij07 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ==== Sample ==== | ==== Sample ==== | ||
| - | * save in a script and submit to scheduler | + | * save in a script |
| < | < | ||
| Line 21: | Line 21: | ||
| # find queues: bqueues | # find queues: bqueues | ||
| # submit job: bsub < run | # submit job: bsub < run | ||
| - | # jobs submmitted: bjobs | + | # show jobs submitted: bjobs |
| #BSUB -q stata | #BSUB -q stata | ||
| Line 30: | Line 30: | ||
| # use n cores (job slots) ... a license limitation of 6 | # use n cores (job slots) ... a license limitation of 6 | ||
| #BSUB -n 6 | #BSUB -n 6 | ||
| - | # force using all on one node (hosts=1) | + | # force using all on one node (hosts=1) |
| #BSUB -R " | #BSUB -R " | ||
| - | # can stata-mp work across nodes? | ||
| - | # it appears not so (only one out of 3 hosts ran stata-mp). | ||
| - | # if so, raise the hosts=value or control | ||
| - | # nr of processes per node with tile=value | ||
| - | ####BSUB -R " | ||
| + | # can stata-mp work across nodes? | ||
| + | # it appears not | ||
| # scratch dirs | # scratch dirs | ||
| Line 48: | Line 45: | ||
| # alternate workdir, stage data and/or retrieve results | # alternate workdir, stage data and/or retrieve results | ||
| # cd $MYSANSCRATCH | # cd $MYSANSCRATCH | ||
| - | # cp ~/ | + | # cp ~/ |
| # / | # / | ||
| - | # assumes output is written back to home, else copy back | + | # assumes output is written back to home, else copy results to ~/stata/ |
| # working in home dir | # working in home dir | ||
| + | cd ~/stata/ | ||
| / | / | ||
cluster/106.1341945027.txt.gz · Last modified: by hmeij
