** Warning **

Issuing rollback() due to DESTROY without explicit disconnect() of DBD::mysql::db handle dbname=MITgcm at /usr/local/share/lxr/lib/LXR/Common.pm line 1224.

Last-Modified: Sun, 28 Dec 2024 06:11:55 GMT Content-Type: text/html; charset=utf-8 MITgcm/MITgcm/verification/fizhi-cs-aqualev20/input/runScript.columbia
Back to home page

MITgcm

 
 

    


Warning, /verification/fizhi-cs-aqualev20/input/runScript.columbia is written in an unsupported language. File is not indexed.

view on githubraw file Latest commit 7ae8fb32 on 2006-04-03 20:55:29 UTC
7ae8fb32b5 Andr*0001 #!/bin/csh
                0002 #PBS -N APE6hr
                0003 #PBS -l ncpus=6
                0004 #PBS -l walltime=08:00:00
                0005 #PBS -j oe
                0006 #PBS -o /nobackup2/molod/APE6hr/input/stdout
                0007 #PBS -q science@columbia2
                0008 #PBS -V
                0009 
                0010 
                0011 echo 'start'
                0012 #----------------------------------------------
                0013 set namPBS=APE6hr
                0014 set runDir=/nobackup/molod/APE6hr/input
                0015 set executable=/nobackup/molod/APE6hr/build/mitgcmuv
                0016 #-------------------
                0017 cd $runDir
                0018 
                0019 #------
                0020 limit stacksize unlimited
                0021 module list
                0022 module purge
                0023 module load modules scsl.1.5.0.0 intel-comp.8.1.024 mpt.1.12.0.0
                0024 #------
                0025 
                0026 set its=`egrep 'nIter0' data | sed 's/ nIter0=//'| sed 's/,$//'`
                0027 
                0028 #-------------------
                0029 
                0030  mpirun -np 6 $executable
                0031 
                0032 #-------------------
                0033 #- prepare new submission :
                0034 #-------------------
                0035 echo 'Copying datetime file to datetime0 - time is: ' `cat datetime`
                0036 cp datetime datetime0
                0037 
                0038 set ite=`grep CHECKPOINT STDOUT.0000 | grep ckptA | sed 's/(PID.TID 0000.0001) %CHECKPOINT//' | sed 's/ //g' | sed 's/ckptA//'`
                0039 echo 'Ending iteration number '$ite
                0040 set nitPick = `/u/molod/bin/add0upto10c $ite`
                0041 if ( -f pickup.ckptA.001.001.data ) then
                0042  echo 'file:' pickup.ckptA.001.001.data 'exist'
                0043 echo 'Rename pickup files'
                0044    mv pickup.ckptA.001.001.data pickup.$nitPick.001.001.data
                0045    mv pickup.ckptA.002.001.data pickup.$nitPick.002.001.data
                0046    mv pickup.ckptA.003.001.data pickup.$nitPick.003.001.data
                0047    mv pickup.ckptA.004.001.data pickup.$nitPick.004.001.data
                0048    mv pickup.ckptA.005.001.data pickup.$nitPick.005.001.data
                0049    mv pickup.ckptA.006.001.data pickup.$nitPick.006.001.data
                0050    mv pickup_fizhi.ckptA.001.001.data pickup_fizhi.$nitPick.001.001.data
                0051    mv pickup_fizhi.ckptA.002.001.data pickup_fizhi.$nitPick.002.001.data
                0052    mv pickup_fizhi.ckptA.003.001.data pickup_fizhi.$nitPick.003.001.data
                0053    mv pickup_fizhi.ckptA.004.001.data pickup_fizhi.$nitPick.004.001.data
                0054    mv pickup_fizhi.ckptA.005.001.data pickup_fizhi.$nitPick.005.001.data
                0055    mv pickup_fizhi.ckptA.006.001.data pickup_fizhi.$nitPick.006.001.data
                0056    mv pickup_vegtiles.ckptA.001.001.data pickup_vegtiles.$nitPick.001.001.data
                0057    mv pickup_vegtiles.ckptA.002.001.data pickup_vegtiles.$nitPick.002.001.data
                0058    mv pickup_vegtiles.ckptA.003.001.data pickup_vegtiles.$nitPick.003.001.data
                0059    mv pickup_vegtiles.ckptA.004.001.data pickup_vegtiles.$nitPick.004.001.data
                0060    mv pickup_vegtiles.ckptA.005.001.data pickup_vegtiles.$nitPick.005.001.data
                0061    mv pickup_vegtiles.ckptA.006.001.data pickup_vegtiles.$nitPick.006.001.data
                0062    mv pickup_vegtiles.ckptA.007.001.data pickup_vegtiles.$nitPick.007.001.data
                0063 echo 'Rename mnc directories'
                0064  mkdir mnc_out_$ite
                0065  mv mnc_out_200511*00*/* mnc_out_$ite
                0066  mv STDOUT.0001 mnc_out_$ite
                0067  /bin/rmdir mnc_out_200511*00*
                0068 echo 'Change start iteration number for next run '
                0069  sed "s/ nIter0=$its/ nIter0=$ite/" data > data.tmp
                0070  mv data.tmp data
                0071  sleep 5
                0072  qsub $runDir/runScript.columbia
                0073 else
                0074  echo 'file:' pickup.ckptA.001.001.data 'do not exist !'
                0075 endif
                0076 
                0077 exit