|

The IBM SP RS/6000, blackforest
|
How to control resubmission of your batch job
- In your run directory, create a file called "resubmit" that contains a number
representing the number of times you want to resubmit your batch queue script.
- In your batch queuing script, at the point where you want to resubmit the
batch queue script, include the following:
set RESUBMIT = 'FALSE'
if ( -e ./resubmit ) then
@ N = `cat ./resubmit`
echo "file resubmit exists and requests $N more job submissions"
if ( $N > 0 ) then
set RESUBMIT = 'TRUE'
@ N--
echo $N >! i./resubmit
endif
endif
if ( $RESUBMIT == 'TRUE' ) then
echo "Note: resubmitting job"
llsubmit your_batch_queue_script
else
echo "Note: not resubmitting job"
endif
How to acquire a high-water memory mark
To acquire a high-water memory mark for
runs on blackforest, you can use the C program [name] that is provided in a tar
file in the blackforest tools directory /usr/local/tools/summary.tar
To use this tool, link the C program summary.o in with your program and insert
call start
call summary
in your Fortran code. It calls getrusage and several other
routines.
Use the thread-safe compiler
We recommend that everyone use the thread-safe
compiler whether you are using threads or not; that way you'll have access to
MPI-2 functions, and will benefit from some internal thread creation when running
on multiple CPUs per node.
Useful defaults for MPI jobs
We suggest you include
MP_EAGER_LIMIT=65536
MP_SHARED_MEMORY=yes
with your defaults for MPI jobs.
For more information
Back to contents
|