[MITgcm-devel] question about pbs/testreport

Martin Losch mlosch at awi-bremerhaven.de
Mon Mar 27 14:17:11 EST 2006


Hi,

solved my problem, PBS (at least the version we have) does have an  
option that does what I want it to do (-W block=true), I just didn't  
have the correct manual pages.

M.
On Mar 27, 2006, at 1:20 PM, Martin Losch wrote:

> 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
> _______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list