User Tools

Site Tools


cluster:147

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cluster:147 [2016/03/18 18:50]
hmeij07
cluster:147 [2016/03/29 17:36]
hmeij07
Line 3: Line 3:
  
 ==== BLCR Checkpoint in OL3 ==== ==== BLCR Checkpoint in OL3 ====
 +
 +  * This page concerns SERIAL jobs only
  
   * Installation and what it does [[cluster:124|BLCR]]   * Installation and what it does [[cluster:124|BLCR]]
Line 96: Line 98:
 <code> <code>
  
-[hmeij@cottontail ~/ynam]$ bsub < blcr_wrapper+[hmeij@cottontail ~/ynam]$ bsub < blcr_wrapper_serial
  
 </code> </code>
Line 103: Line 105:
 ==== Files v0.2 ==== ==== Files v0.2 ====
  
-  * ''blcr_wrapper'' at v01/home/hmeij/jobs/blcr/blcr_wrapper for non MPI jobs+  * ''blcr_wrapper_serial'' at /home/hmeij/jobs/blcr/ for non MPI jobs
  
 <code> <code>
Line 124: Line 126:
  
 # CHECK POINT TIME INTERVAL: 10m (debug) 6h 12h 18h 1d  # CHECK POINT TIME INTERVAL: 10m (debug) 6h 12h 18h 1d 
-cpti=120+cpti=10m
  
 # COPY APPLICATION TO WORK DIR $MYSANSCRATCH (cwd) # COPY APPLICATION TO WORK DIR $MYSANSCRATCH (cwd)
Line 135: Line 137:
 # IF START OF JOB, UNCOMMENT # IF START OF JOB, UNCOMMENT
 # its either start or restart block # its either start or restart block
-#mode=start +mode=start 
-#queue=test +queue=test 
-#cmd="./a.out"+cmd="./a.out"
  
 # IF RESTART OF JOB, UNCOMMENT # IF RESTART OF JOB, UNCOMMENT
 # you must have pwd.JOBPID and chk.JOBPID in $orgjobpid/ # you must have pwd.JOBPID and chk.JOBPID in $orgjobpid/
-mode=restart +#mode=restart 
-queue=test +#queue=test 
-orgjobpid=250+#orgjobpid=250
  
 # buglines: if your group/lab is mentioned set value to "y", else "n" # buglines: if your group/lab is mentioned set value to "y", else "n"
Line 167: Line 169:
 if [ $mods -ne 2 ]; then if [ $mods -ne 2 ]; then
         echo "Error: BLCR modules not loaded on `hostname`"         echo "Error: BLCR modules not loaded on `hostname`"
-        exit+        kill $$
 fi fi
  
Line 185: Line 187:
 else else
         echo "Error: $checkpoints/$LSB_JOBID already exists, exciting"         echo "Error: $checkpoints/$LSB_JOBID already exists, exciting"
-        exit+        kill $$
 fi fi
  
Line 205: Line 207:
         #if [ "X$orgpid" == "X" -o "X$orgpwd" == "X" ]; then         #if [ "X$orgpid" == "X" -o "X$orgpwd" == "X" ]; then
         #       echo "Error: problem with missing orgpid or orgpwd values"         #       echo "Error: problem with missing orgpid or orgpwd values"
-        #       exit+        #       kill $$
         #fi         #fi
         scp $checkpoints/$orgjobpid/*.$orgjobpid.err $checkpoints/$orgjobpid/*.$orgjobpid.out $HOME/.lsbatch/         scp $checkpoints/$orgjobpid/*.$orgjobpid.err $checkpoints/$orgjobpid/*.$orgjobpid.out $HOME/.lsbatch/
Line 221: Line 223:
 else else
         echo "Error: startup mode not defined correctly"         echo "Error: startup mode not defined correctly"
-        exit+        kill $$
 fi fi
  
cluster/147.txt · Last modified: 2020/02/27 18:06 by hmeij07