Search

link to homepage

Institute for Advanced Simulation (IAS)

Navigation and service


Job File Samples

The sample job files can also be found on jugene in the directory:

/bgsys/local/samples/LoadL

Sample 1 (using bg_size):

# @ job_name = LoadL_Sample_1
# @ comment = "BGP Job by Size"
# @ error = $(job_name).$(jobid).out
# @ output = $(job_name).$(jobid).out
# @ environment = COPY_ALL
# @ wall_clock_limit = 00:20:00
# @ notification = error
# @ notify_user = v.nachname@fz-juelich.de
# @ job_type = bluegene
# @ bg_size = 32
# @ queue
mpirun -exe myprogp.rts -mode VN -np 128 -verbose 2 -args "-t 1"

Sample 2 (using bg_shape):

# @ job_name = LoadL_Sample_2
# @ comment = "BGP Job by Shape"
# @ error = $(job_name).$(jobid).out
# @ output = $(job_name).$(jobid).out
# @ environment = COPY_ALL
# @ wall_clock_limit = 10:25:00
# @ notification = error
# @ notify_user = v.nachname@fz-juelich.de
# @ job_type = bluegene
# @ bg_connection = TORUS
# @ bg_shape = 1x1x2
# @ queue
mpirun -exe program5.rts -mode DUAL -verbose 1 -args "1543 23 98"

Sample 3 (Multi Step Job / Job Chain):

One step is processed after the other, depending on the completion code of the previous step.

# @ job_name = LoadL_MultiJobStep
# @ environment = COPY_ALL
# @ error = $(job_name).$(jobid).$(stepid).out
# @ output = $(job_name).$(jobid).$(stepid).out
# @ notification = never
# @ notify_user = v.nachname@fz-juelich.de
##############################################################
# @ step_name = step_1
# @ job_type = bluegene
# @ comment = "BGP Multi Job Step"
# @ wall_clock_limit = 00:15:00
# @ bg_size = 128
# @ queue
##############################################################
# @ step_name = step_2
# @ dependency = ( step_1 == 0 )
# @ job_type = bluegene
# @ comment = "BGP Multi Job Step"
# @ wall_clock_limit = 00:15:00
# @ bg_size = 512
# @ bg_connection = torus
# @ queue
##############################################################
# @ step_name = step_3
# @ dependency = (step_2 >= 0)
# @ job_type = bluegene
# @ comment = "BGP Multi Job Step"
# @ wall_clock_limit = 00:15:00
# @ bg_size = 1024
# @ bg_connection = torus
# @ queue
case $LOADL_STEP_NAME in
step_1) echo "Working on $LOADL_STEP_NAME"
# step 1
mpirun -mode SMP -verbose 1 -exe prog1.rts
;;
step_2) echo "Working on $LOADL_STEP_NAME"
# step 2
mpirun -mode DUAL -verbose 1 -exe prog2.rts
;;
step_3) echo "Working on $LOADL_STEP_NAME"
# step 3
mpirun -mode VN -verbose 1 -exe prog3.rts
;;
*) echo "Nothing to do for $LOADL_STEP_NAME"
;;


Servicemeu

Homepage