[MITgcm-devel] question about pbs/testreport

Martin Losch mlosch at awi-bremerhaven.de
Mon Mar 27 06:20:57 EST 2006


Hi,
the operating system and the batch-system have changed on our CRAY  
XD, unfortunately the new batch system has a different syntax so that  
my old script for the weekly tests no longer works.
Here's the problem:
I can only compile on the head node (that is only interactively,  
because the head node will not accept jobs from the batch); I can  
only run on compute nodes.
my script did this (Ed helped me with this):

set COMMAND="qsub -sync y $HERE/$RUNIT"
set CMD=$cwd/command.qsub
cat >! $CMD <<EOF
$COMMAND
EOF
chmod 744 $CMD
set OPTFILE=../tools/build_options/linux_amd64_pgf77+mpi_xd1
./testreport -mpi -of $OPTFILE -command $CMD >& /dev/null

This way  testreport was run on the headnode, compiled everything and  
then submitted a job. The crucial point is the "-sync y" flag for  
qsub, which made the script wait for the submitted job to finish  
before continuing, if I didn't have that, all jobs were submitted but  
not finished by the time the comparison with the reference was made.

Now the new batch - system (some flavor of PBS) does not have this  
capability. Do you have any idea, how I can make my testing script  
work again?

Martin



More information about the MITgcm-devel mailing list