# # QSUB -s /bin/csh ## QSUB -lQ 11.25Mw # SSD requirements (INCORE=0 only) # QSUB -lT 1000:00 # time limit (min:sec) # QSUB -q reg # queue to be used, prem, reg, econ, sb, lm # QSUB -lM 22Mw # space used in megawords (22Mw w/o ssd INCORE=1) ## QSUB -lM 9Mw # space used in megawords (9Mw w/ ssd INCORE=0) # QSUB -o tgcm14a.SEQN # # Example job script for tgcm. # (use the perl script $TGCMROOT/bin/submit to submit this job, # type "submit -h" for submit usage message) # cd $TMPDIR # # The next 6 shell vars may be set by user: # (user also may include any modified or new source in INCLUDE -h # statement below) # set job = tgcm14a # generic job name set tgcm_version = tgcm14a # model version name #set rmeta = euchre.hao:/d/cmq/tiegcm # return metacode (optional) #set rmeta = cedar.hao:/d/cmq/tiegcm #set tmpdir = /tmp/cmq # temp dir on cray for links (optional) # #if(! -e /tmp/TIEGCM)then #mkdir 777 /tmp/TIEGCM #echo 'make directory /tmp/TIEGCM' #endif #set COMPILE_ALL # recompile all code, not just mods set EXEC # comment out for compile/load only # set host = `hostname` echo ' ' ; date echo job=$job ; echo tgcm_version=$tgcm_version host=$host echo ' ' # # Get fixed source and object tar files from mss: # INCLUDE $TGCMROOT/bld/tgcm.setup #INCLUDE $TGCMROOT/bin/getsrcobj # # User may include any modified or new source, e.g., from subdir "modsrc": # (this will overwrite fixed source obtained from mss by getsrcobj above) # #INCLUDE -h modsrc/*.h modsrc/*.f #INCLUDE -h modsrc/gpsleo.xyz #INCLUDE -h ~cmq/tiegcm/modsrc/*.h ~cmq/tiegcm/modsrc/*.f #INCLUDE -h ~cmq/tiegcm/modsrc/gpsleo.xyz # # Model lexical input (file name on cray must be $job.inp): # (either INCLUDE, as shown below, or put the input parameters # directly in this file between the "cat" and the "EOF") # #INCLUDE gpstgcm14a.inp set inp = $job.inp # used by tgcm.run cat << 'EOF' >! $inp INCLUDE cmq.inp 'EOF' # # $TGCMROOT/bin/tgcm.run runs make and executes the model # (if EXEC not set, model is not executed) # (if RETURN is set, as below, tgcm.run will return to $RETURN) # set RETURN = return INCLUDE $TGCMROOT/bld/tgcm.exec #INCLUDE $TGCMROOT/bin/tgcm.run return: # # # #rcp fhist.out cedar.hao:/d/cmq/gpsmet/eqsn-fhist.out #rcp out.dat cedar.hao:/d/cmq/gpsmet/0540000-t14a-cray-out.dat #rcp electron.tec cedar.hao:/d/cmq/gpsmet/eqsn-electron.tec #rcp tie-gcm.his cedar.hao:/d/cmq/gpsmet/0540000-t14a-cray.his #rcp tracks.dat euchre.hao:/d/cmq/tiegcm/tracks.dat #rcp ccheck.out euchre.hao:/d/cmq/WSTIE/tiegcm # # # # Can do post-model stuff here if desired. # exit