Warning, /verification/fizhi-cs-32x32x40/input/runScript.columbia is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit 4ba4ab86 on 2007-05-21 19:14:07 UTC
b837625b2f Andr*0001 #!/bin/csh
0002 #PBS -N fizhiT3
0003 #PBS -l ncpus=24
0004 #PBS -l walltime=08:00:00
0005 #PBS -j oe
4ba4ab8612 Andr*0006 #PBS -o /nobackup2b/molod/fizhi-cs-32x32x40-hfac02/input/stdout
b837625b2f Andr*0007 ########PBS -q normal
0008 #PBS -V
0009
0010 echo 'start'
0011 #----------------------------------------------
0012 set namPBS=fizhiT3
4ba4ab8612 Andr*0013 set runDir=/nobackup2b/molod/fizhi-cs-32x32x40-hfac02/input
0014 set executable=/nobackup2b/molod/fizhi-cs-32x32x40-hfac02/build/mitgcmuv
b837625b2f Andr*0015 #-------------------
0016 cd $runDir
0017
0018 #------
0019 limit stacksize unlimited
0020 module purge
4ba4ab8612 Andr*0021 module load modules scsl.1.6.1.0 intel-comp.9.1.039 mpt.1.12.0.nas pd-netcdf.3.6.0-p1
b837625b2f Andr*0022 #------
0023
0024 set its=`egrep 'nIter0' data | sed 's/ nIter0=//'| sed 's/,$//'`
0025
0026 #-------------------
0027 mpirun -np 24 $executable
0028 #-------------------
0029 echo 'Copying datetime file to datetime0 - time is: ' `cat datetime`
0030 cp datetime datetime0
0031
0032 set ite=`grep CHECKPOINT STDOUT.0000 | grep ckptA | sed 's/(PID.TID 0000.0001) %CHECKPOINT//' | sed 's/ //g' | sed 's/ckptA//'`
0033 set nitPick = `/u/molod/bin/add0upto10c $ite`
0034 if ( -f pickup.ckptA.001.001.data ) then
0035 echo 'file:' pickup.ckptA.001.001.data 'exist'
0036 #- prepare new submission :
0037 echo 'Copy pickup ckptA files to pickup ' $nitPick 'files'
0038 mv pickup.ckptA.001.001.data pickup.$nitPick.001.001.data
0039 mv pickup.ckptA.002.001.data pickup.$nitPick.002.001.data
0040 mv pickup.ckptA.003.001.data pickup.$nitPick.003.001.data
0041 mv pickup.ckptA.004.001.data pickup.$nitPick.004.001.data
0042 mv pickup.ckptA.005.001.data pickup.$nitPick.005.001.data
0043 mv pickup.ckptA.006.001.data pickup.$nitPick.006.001.data
0044 mv pickup.ckptA.007.001.data pickup.$nitPick.007.001.data
0045 mv pickup.ckptA.008.001.data pickup.$nitPick.008.001.data
0046 mv pickup.ckptA.009.001.data pickup.$nitPick.009.001.data
0047 mv pickup.ckptA.010.001.data pickup.$nitPick.010.001.data
0048 mv pickup.ckptA.011.001.data pickup.$nitPick.011.001.data
0049 mv pickup.ckptA.012.001.data pickup.$nitPick.012.001.data
0050 mv pickup.ckptA.013.001.data pickup.$nitPick.013.001.data
0051 mv pickup.ckptA.014.001.data pickup.$nitPick.014.001.data
0052 mv pickup.ckptA.015.001.data pickup.$nitPick.015.001.data
0053 mv pickup.ckptA.016.001.data pickup.$nitPick.016.001.data
0054 mv pickup.ckptA.017.001.data pickup.$nitPick.017.001.data
0055 mv pickup.ckptA.018.001.data pickup.$nitPick.018.001.data
0056 mv pickup.ckptA.019.001.data pickup.$nitPick.019.001.data
0057 mv pickup.ckptA.020.001.data pickup.$nitPick.020.001.data
0058 mv pickup.ckptA.021.001.data pickup.$nitPick.021.001.data
0059 mv pickup.ckptA.022.001.data pickup.$nitPick.022.001.data
0060 mv pickup.ckptA.023.001.data pickup.$nitPick.023.001.data
0061 mv pickup.ckptA.024.001.data pickup.$nitPick.024.001.data
0062 mv pickup.ckptA.001.001.meta pickup.$nitPick.001.001.meta
0063 mv pickup.ckptA.002.001.meta pickup.$nitPick.002.001.meta
0064 mv pickup.ckptA.003.001.meta pickup.$nitPick.003.001.meta
0065 mv pickup.ckptA.004.001.meta pickup.$nitPick.004.001.meta
0066 mv pickup.ckptA.005.001.meta pickup.$nitPick.005.001.meta
0067 mv pickup.ckptA.006.001.meta pickup.$nitPick.006.001.meta
0068 mv pickup.ckptA.007.001.meta pickup.$nitPick.007.001.meta
0069 mv pickup.ckptA.008.001.meta pickup.$nitPick.008.001.meta
0070 mv pickup.ckptA.009.001.meta pickup.$nitPick.009.001.meta
0071 mv pickup.ckptA.010.001.meta pickup.$nitPick.010.001.meta
0072 mv pickup.ckptA.011.001.meta pickup.$nitPick.011.001.meta
0073 mv pickup.ckptA.012.001.meta pickup.$nitPick.012.001.meta
0074 mv pickup.ckptA.013.001.meta pickup.$nitPick.013.001.meta
0075 mv pickup.ckptA.014.001.meta pickup.$nitPick.014.001.meta
0076 mv pickup.ckptA.015.001.meta pickup.$nitPick.015.001.meta
0077 mv pickup.ckptA.016.001.meta pickup.$nitPick.016.001.meta
0078 mv pickup.ckptA.017.001.meta pickup.$nitPick.017.001.meta
0079 mv pickup.ckptA.018.001.meta pickup.$nitPick.018.001.meta
0080 mv pickup.ckptA.019.001.meta pickup.$nitPick.019.001.meta
0081 mv pickup.ckptA.020.001.meta pickup.$nitPick.020.001.meta
0082 mv pickup.ckptA.021.001.meta pickup.$nitPick.021.001.meta
0083 mv pickup.ckptA.022.001.meta pickup.$nitPick.022.001.meta
0084 mv pickup.ckptA.023.001.meta pickup.$nitPick.023.001.meta
0085 mv pickup.ckptA.024.001.meta pickup.$nitPick.024.001.meta
0086 mv pickup_fizhi.ckptA.001.001.data pickup_fizhi.$nitPick.001.001.data
0087 mv pickup_fizhi.ckptA.002.001.data pickup_fizhi.$nitPick.002.001.data
0088 mv pickup_fizhi.ckptA.003.001.data pickup_fizhi.$nitPick.003.001.data
0089 mv pickup_fizhi.ckptA.004.001.data pickup_fizhi.$nitPick.004.001.data
0090 mv pickup_fizhi.ckptA.005.001.data pickup_fizhi.$nitPick.005.001.data
0091 mv pickup_fizhi.ckptA.006.001.data pickup_fizhi.$nitPick.006.001.data
0092 mv pickup_fizhi.ckptA.007.001.data pickup_fizhi.$nitPick.007.001.data
0093 mv pickup_fizhi.ckptA.008.001.data pickup_fizhi.$nitPick.008.001.data
0094 mv pickup_fizhi.ckptA.009.001.data pickup_fizhi.$nitPick.009.001.data
0095 mv pickup_fizhi.ckptA.010.001.data pickup_fizhi.$nitPick.010.001.data
0096 mv pickup_fizhi.ckptA.011.001.data pickup_fizhi.$nitPick.011.001.data
0097 mv pickup_fizhi.ckptA.012.001.data pickup_fizhi.$nitPick.012.001.data
0098 mv pickup_fizhi.ckptA.013.001.data pickup_fizhi.$nitPick.013.001.data
0099 mv pickup_fizhi.ckptA.014.001.data pickup_fizhi.$nitPick.014.001.data
0100 mv pickup_fizhi.ckptA.015.001.data pickup_fizhi.$nitPick.015.001.data
0101 mv pickup_fizhi.ckptA.016.001.data pickup_fizhi.$nitPick.016.001.data
0102 mv pickup_fizhi.ckptA.017.001.data pickup_fizhi.$nitPick.017.001.data
0103 mv pickup_fizhi.ckptA.018.001.data pickup_fizhi.$nitPick.018.001.data
0104 mv pickup_fizhi.ckptA.019.001.data pickup_fizhi.$nitPick.019.001.data
0105 mv pickup_fizhi.ckptA.020.001.data pickup_fizhi.$nitPick.020.001.data
0106 mv pickup_fizhi.ckptA.021.001.data pickup_fizhi.$nitPick.021.001.data
0107 mv pickup_fizhi.ckptA.022.001.data pickup_fizhi.$nitPick.022.001.data
0108 mv pickup_fizhi.ckptA.023.001.data pickup_fizhi.$nitPick.023.001.data
0109 mv pickup_fizhi.ckptA.024.001.data pickup_fizhi.$nitPick.024.001.data
0110 mv pickup_fizhi.ckptA.001.001.meta pickup_fizhi.$nitPick.001.001.meta
0111 mv pickup_fizhi.ckptA.002.001.meta pickup_fizhi.$nitPick.002.001.meta
0112 mv pickup_fizhi.ckptA.003.001.meta pickup_fizhi.$nitPick.003.001.meta
0113 mv pickup_fizhi.ckptA.004.001.meta pickup_fizhi.$nitPick.004.001.meta
0114 mv pickup_fizhi.ckptA.005.001.meta pickup_fizhi.$nitPick.005.001.meta
0115 mv pickup_fizhi.ckptA.006.001.meta pickup_fizhi.$nitPick.006.001.meta
0116 mv pickup_fizhi.ckptA.007.001.meta pickup_fizhi.$nitPick.007.001.meta
0117 mv pickup_fizhi.ckptA.008.001.meta pickup_fizhi.$nitPick.008.001.meta
0118 mv pickup_fizhi.ckptA.009.001.meta pickup_fizhi.$nitPick.009.001.meta
0119 mv pickup_fizhi.ckptA.010.001.meta pickup_fizhi.$nitPick.010.001.meta
0120 mv pickup_fizhi.ckptA.011.001.meta pickup_fizhi.$nitPick.011.001.meta
0121 mv pickup_fizhi.ckptA.012.001.meta pickup_fizhi.$nitPick.012.001.meta
0122 mv pickup_fizhi.ckptA.013.001.meta pickup_fizhi.$nitPick.013.001.meta
0123 mv pickup_fizhi.ckptA.014.001.meta pickup_fizhi.$nitPick.014.001.meta
0124 mv pickup_fizhi.ckptA.015.001.meta pickup_fizhi.$nitPick.015.001.meta
0125 mv pickup_fizhi.ckptA.016.001.meta pickup_fizhi.$nitPick.016.001.meta
0126 mv pickup_fizhi.ckptA.017.001.meta pickup_fizhi.$nitPick.017.001.meta
0127 mv pickup_fizhi.ckptA.018.001.meta pickup_fizhi.$nitPick.018.001.meta
0128 mv pickup_fizhi.ckptA.019.001.meta pickup_fizhi.$nitPick.019.001.meta
0129 mv pickup_fizhi.ckptA.020.001.meta pickup_fizhi.$nitPick.020.001.meta
0130 mv pickup_fizhi.ckptA.021.001.meta pickup_fizhi.$nitPick.021.001.meta
0131 mv pickup_fizhi.ckptA.022.001.meta pickup_fizhi.$nitPick.022.001.meta
0132 mv pickup_fizhi.ckptA.023.001.meta pickup_fizhi.$nitPick.023.001.meta
0133 mv pickup_fizhi.ckptA.024.001.meta pickup_fizhi.$nitPick.024.001.meta
0134 mv pickup_vegtiles.ckptA.001.001.data pickup_vegtiles.$nitPick.001.001.data
0135 mv pickup_vegtiles.ckptA.002.001.data pickup_vegtiles.$nitPick.002.001.data
0136 mv pickup_vegtiles.ckptA.003.001.data pickup_vegtiles.$nitPick.003.001.data
0137 mv pickup_vegtiles.ckptA.004.001.data pickup_vegtiles.$nitPick.004.001.data
0138 mv pickup_vegtiles.ckptA.005.001.data pickup_vegtiles.$nitPick.005.001.data
0139 mv pickup_vegtiles.ckptA.006.001.data pickup_vegtiles.$nitPick.006.001.data
0140 mv pickup_vegtiles.ckptA.007.001.data pickup_vegtiles.$nitPick.007.001.data
0141 mv pickup_vegtiles.ckptA.008.001.data pickup_vegtiles.$nitPick.008.001.data
0142 mv pickup_vegtiles.ckptA.009.001.data pickup_vegtiles.$nitPick.009.001.data
0143 mv pickup_vegtiles.ckptA.010.001.data pickup_vegtiles.$nitPick.010.001.data
0144 mv pickup_vegtiles.ckptA.011.001.data pickup_vegtiles.$nitPick.011.001.data
0145 mv pickup_vegtiles.ckptA.012.001.data pickup_vegtiles.$nitPick.012.001.data
0146 mv pickup_vegtiles.ckptA.013.001.data pickup_vegtiles.$nitPick.013.001.data
0147 mv pickup_vegtiles.ckptA.014.001.data pickup_vegtiles.$nitPick.014.001.data
0148 mv pickup_vegtiles.ckptA.015.001.data pickup_vegtiles.$nitPick.015.001.data
0149 mv pickup_vegtiles.ckptA.016.001.data pickup_vegtiles.$nitPick.016.001.data
0150 mv pickup_vegtiles.ckptA.017.001.data pickup_vegtiles.$nitPick.017.001.data
0151 mv pickup_vegtiles.ckptA.018.001.data pickup_vegtiles.$nitPick.018.001.data
0152 mv pickup_vegtiles.ckptA.019.001.data pickup_vegtiles.$nitPick.019.001.data
0153 mv pickup_vegtiles.ckptA.020.001.data pickup_vegtiles.$nitPick.020.001.data
0154 mv pickup_vegtiles.ckptA.021.001.data pickup_vegtiles.$nitPick.021.001.data
0155 mv pickup_vegtiles.ckptA.022.001.data pickup_vegtiles.$nitPick.022.001.data
0156 mv pickup_vegtiles.ckptA.023.001.data pickup_vegtiles.$nitPick.023.001.data
0157 mv pickup_vegtiles.ckptA.024.001.data pickup_vegtiles.$nitPick.024.001.data
0158 echo 'Change start iteration number for next run '
0159 cp STDOUT.0001 STDOUT.0001-$ite
0160 sed "s/ nIter0=$its/ nIter0=$ite/" data > data.tmp
0161 mv data.tmp data
0162 sleep 5
0163 qsub $runDir/runScript.columbia
0164 else
0165 echo 'file:' pickup.ckptA.001.001.data 'do not exist !'
0166 endif
0167
0168 exit