cluster:106
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| cluster:106 [2012/07/10 14:51] – created hmeij | cluster:106 [2016/11/21 20:22] (current) – [Sample] hmeij07 | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ==== Sample ==== | ==== Sample ==== | ||
| - | * save in a script | + | * save in a script |
| < | < | ||
| - | |||
| #!/bin/bash | #!/bin/bash | ||
| Line 22: | 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 | ||
| - | #BSUB -R " | ||
| #BSUB -J test | #BSUB -J test | ||
| #BSUB -o out | #BSUB -o out | ||
| #BSUB -e err | #BSUB -e err | ||
| - | # use all cores per node | + | # use n cores (job slots) ... a license limitation of 6 |
| - | # note the span forces | + | #BSUB -n 6 |
| - | #BSUB -n 8 | + | # force using all on one node (hosts=1) |
| - | # can stata-mp work across nodes? | + | #BSUB -R " |
| - | # if so, raise the hosts=value or control | + | |
| - | # process per node with span=value | + | # can stata-mp work across nodes? |
| + | # it appears not | ||
| # scratch dirs | # scratch dirs | ||
| MYSANSCRATCH=/ | MYSANSCRATCH=/ | ||
| MYLOCALSCRATCH=/ | MYLOCALSCRATCH=/ | ||
| - | export PATH | + | |
| + | # required in 12 | ||
| + | export | ||
| # 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.1341931913.txt.gz · Last modified: by hmeij
