Warning: Undefined array key "DOKU_PREFS" in /usr/share/dokuwiki/inc/common.php on line 2082
cluster:106 [DokuWiki]

User Tools

Site Tools


cluster:106

Warning: Undefined array key 4 in /usr/share/dokuwiki/inc/html.php on line 1453

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
cluster:106 [2012/07/10 10:51]
hmeij created
cluster:106 [2012/07/10 14:30]
hmeij
Line 10: Line 10:
 ==== Sample ==== ==== Sample ====
  
-* save in a script abnd submit to scheduler+* save in a script and submit to scheduler
  
 <code> <code>
- 
 #!/bin/bash #!/bin/bash
  
Line 25: Line 24:
  
 #BSUB -q stata #BSUB -q stata
-#BSUB -R "span[hosts=1]" 
 #BSUB -J test #BSUB -J test
 #BSUB -o out #BSUB -o out
 #BSUB -e err #BSUB -e err
  
-# use all cores per node +# use cores (job slots) ... a license limitation of 6 
-note the span forces all on one node or use the -x flag +#BSUB -n 6 
-#BSUB -n 8 +# force using all on one node (hosts=1) or use the -x flag 
-# can stata-mp work across nodes?+#BSUB -R "span[hosts=1]" 
 +# 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 per node with span=value +nr of processes per node with tile=value  
 +####BSUB -R "span[ptile=2]"  
  
 # scratch dirs # scratch dirs
 MYSANSCRATCH=/sanscratch/$LSB_JOBID MYSANSCRATCH=/sanscratch/$LSB_JOBID
 MYLOCALSCRATCH=/localscratch/$LSB_JOBID MYLOCALSCRATCH=/localscratch/$LSB_JOBID
-export PATH+ 
 +# required in 12 
 +export PATH=/share/apps/stata/12:$PATH
  
 # 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
-/share/apps/stata/10/stata-mp -b do firm_analysis_cluster+/share/apps/stata/12/stata-mp -b do firm_analysis_cluster
  
  
cluster/106.txt · Last modified: 2016/11/21 15:22 by hmeij07