# # QSUB -s /bin/csh # QSUB -lQ 95000000 # SSD requirements in bytes # QSUB -lT 4000 # time limit in seconds # Need to set time limit to 2000 for 1 day of tiegcm # QSUB -q prem # queue to be used, prem, reg, econ, sb, sds_test, lm # QSUB -lM 4.0Mw # space used in megawords # QSUB -nr # # Steps to submit this script and make a model run: # # 1) Set QSUB commands above # 2) Set shell vars job, model, mssdir, rmeta, tmpdir as described below # (typically you will need to set only job, rmeta, and maybe tmpdir) # 3) Set INCLUDE statements for mod files as described below # 4) Set lexical read inputs below # 5) To submit via MIGS, use the command "modjob file", where "file" is # the name of this script (there is a modjob script in ~foster/bin) # (modjob inserts the INCLUDE file(s) given below and submits to shavano) # # job = Arbitrary name for this job (e.g., timesgcm.eq) for output, etc. # (usually the same as the name of this file) # model = Model version (e.g., tgcm19) # mssdir= Mss directory in which to find model plib ($mssdir.pl) and the # model object ($mssdir.o). (e.g., /FOSTER/tgcm) # rmeta = Machine:path for rcp of gmeta (may be commented out for no rcp) # (e.g., vishnu.hao:/d/foster/tgcm/$job.cgm) # tmpdir= Temporary directory on cray in which to save and link files # (i.e., program lib, object, etc) (e.g., /usr/tmp/TIGCM) # ja cd $TMPDIR set job = tgcm12p7 set model = tgcm12 set mssdir = /FOSTER/tgcm #set rmeta = vishnu.hao:/d/foster/timegcm/$job.cgm set tmpdir = /usr/tmp/TIGCM batchname $job.$$ # # The mods file specified after each INCLUDE below should exist in the # local (unix) directory from which this script is submitted. # INCLUDE statements are optional (i.e., no mods). # INCLUDE statments must start in column one. # Shell variable references are not allowed in INCLUDE file names. # There must be no blank lines between the cat statement and the 'EOF' line. # The modjob script will replace each INCLUDE statement with the # given file. (If files may have zero-length, the INCLUDE line is deleted) # cat << 'EOF' >! $job.mods INCLUDE tiegcm.mods 'EOF' # # Lexical inputs: # cat << 'EOF' >! $job.inp C*********************************************************************** LABEL='TIEGCM EQUINOX.P7 TEST1 ' CLABEL='TIEGCM EQUINOX.P7 STORM STUDY 1/19/96 ' DATE=1995,80 CDATE=1995,355 SOURCE='ROBLE','RGR96','TEENGF3',2,0,0 OUTPUT='CROWLEY','GC96','TEENGG1','CROWLEY','GC96','TEENGG2', 'CROWLEY','GC96','TEENGG3','CROWLEY','GC96','TEENGG4', 'CROWLEY','GC96','TEENGG5','CROWLEY','GC96','TEENGG6' MAGVOL='ECRIDLEY','ECR90','ECRMG6' START=0,0,0 STOP= 0,1,0 HIST=0,1,0 SAVE=0,1,0 CSTOP= 1,0,0,2,0,0 CHIST=0,12,0,0,1,0 CSAVE=0,12,0 STEP= 300 C*****************************P DISPOSE=1 CDISPOSE=0 C*****************************P MAG=-74.5,127.,79.,-70. CDIFHOR=0 DIFHOR=1 IUIVI=1 CTIDE=0.,0.,0.,0.,0.0,0.0,0.0,0.0,0.0,0.0 C JANUARY TIDES FORBES(NEW) CTIDE=2.8E+4,0.7E+4,1.0E+4,1.5E+4,0.6E+4,10.4,1.2,7.8,9.0,8.3 C FEBRUARY TIDES FORBES(NEW) CTIDE=2.2E+4,0.7E+4,1.1E+4,1.3E+4,0.3E+4,10.2,0.8,8.1,8.8,7.8 C MARCH TIDES FORBES(NEW) TIDE=1.5E+4,0.1E+4,2.8E+4,0.1E+4,0.2E+4,10.3,5.8,7.6,8.3,8.4 C APRIL TIDES FORBES(NEW) CTIDE=1.8E+4,0.3E+4,2.2E+4,0.6E+4,0.3E+4,10.2,5.6,7.7,1.4,6.2 C MAY TIDES FORBES(NEW) CTIDE=1.9E+4,0.3E+4,0.5E+4,0.9E+4,0.5E+4,10.3,8.5,7.7,2.2,7.4 C JUNE TIDES FORBES(NEW) CTIDE=2.3E+4,0.5E+4,0.4E+4,0.8E+4,0.4E+4,10.5,8.6,6.6,3.0,8.3 C JULY TIDES FORBES(NEW) CTIDE=2.3E+4,0.8E+4,0.7E+4,1.1E+4,0.6E+4,10.2,10.5,3.8,3.2,8.1 C AUGUST TIDES FORBES(NEW) CTIDE=2.2E+4,1.1E+4,0.5E+4,1.3E+4,0.6E+4,10.2,10.7,2.1,2.7,7.4 C SEPTEMBER TIDES FORBES(NEW) CTIDE=1.5E+4,0.4E+4,1.4E+4,0.9E+4,0.6E+4,10.4,1.6,8.2,1.3,0.8 C OCTOBER TIDES FORBES(NEW) CTIDE=1.7E+4,0.4E+4,1.8E+4,0.2E+4,0.4E+4,10.3,3.4,7.7,4.0,2.9 C NOVEMBER TIDES FORBES(NEW) CTIDE=2.4E+4,0.4E+4,1.2E+4,1.0E+4,0.7E+4,10.5,1.8,8.0,8.5,6.8 C DECEMBER TIDES FORBES(NEW) CTIDE=2.7E+4,0.7E+4,0.9E+4,1.2E+4,0.5E+4,10.5,0.9,7.4,8.8,8.1 CTIDE2=4.0E+4,4.0 CTIDE2=1.0E+4,4.0 TIDE2=0.0,0.0 TIDEANN=0 AURORA=1 COLFAC=1.5 ENDOFREAD CF107=243. CF107A=215. CF107=150. CF107A=150. F107=67. F107A=72. CAMIVOL='EMERY','PVIEN','S86F3B' OLDALF=1 C H POWER = 2 3 5 7 11 16 23 33 48 82 : 115 155 255 C CTPOTEN = 20 30 40 50 60 70 80 90 100 115 : 130 150 200 POWER=3. CTPOTEN=30. BYIMF=0. CPOWER= 0,0,0,3.0,0,14,30,3.0,0,15,30,3.0,0,18,0,3.0,5,0,0,3. CCTPOTEN=0,0,0,30.,0,14,30,30.,0,15,30,30.,0,18,0,30.,5,0,0,30. CBYIMF= 0,0,0,0.0,0,14,30,0.0,0,15,30,0.0,0,18,0,0.0,5,0,0,0. ENDOFREAD 'EOF' # # The below script, uses the above defined shell vars to obtain the model # program library and object, run nupdate, compile the mods, and load # and execute the model. # INCLUDE tgcm.run