This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
cluster:106 [2012/07/10 14:52] hmeij [Sample] |
cluster:106 [2012/07/10 18:30] hmeij |
||
---|---|---|---|
Line 13: | Line 13: | ||
< | < | ||
- | |||
#!/bin/bash | #!/bin/bash | ||
Line 25: | Line 24: | ||
#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 " |
+ | # 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 | # if so, raise the hosts=value or control | ||
- | # process | + | # nr of processes |
+ | ####BSUB -R " | ||
# 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 | ||
Line 49: | Line 53: | ||
# working in home dir | # working in home dir | ||
- | / | + | / |