# # QSUB -s /bin/csh ## QSUB -lQ 5Mw # SSD requirement (Mw) # QSUB -lT 60:00 # time limit # QSUB -q reg # queue to be used, prem, reg, econ, sb, sds_test, lm # QSUB -lM 8Mw # space used in megawords (8Mw incore (w/o ssd)) ## QSUB -lM 5Mw # space used in megawords (5Mw w/ ssd) # cd $TMPDIR set job = tgcm12 # generic job name set tgcm_version = tgcm12 # model version name #set rmeta = vishnu.hao:/d/foster/timegcm # return metacode set tmpdir = /tmp/foster # temp dir for links (optional) # # default f77 FFLAGS = "(-m4 -evz -i64)" # default f90 FFLAGS = "(-m4 -ev -i64 -O overindex)" #set FFLAGS = # compiler flags (optional) #set LDFLAGS = # loader flags (optional) #set COMPILE_ALL # recompile all code, not just mods set EXEC # comment out for compile/load only # echo ' ' date echo job = $job ; echo tgcm_version = $tgcm_version echo ' ' # # Get fixed source and object tar files from mss: # INCLUDE $TGCMROOT/bin/getsrcobj # # Include any modified or new source: # (this will overwrite fixed source obtained from mss by getsrcobj above) # #INCLUDE -h modsrc/*.h modsrc/*.f #INCLUDE -h modsrc_incore/*.h modsrc_incore/*.f #INCLUDE -h modsrc_f90/*.f # # Model lexical input: # set inp = $job.inp # used by timegcm.run cat << 'EOF' >! $inp INCLUDE tgcm12.inp 'EOF' # # timegcm.run runs make and executes the model # (if EXEC not set, model is not executed) # INCLUDE $TGCMROOT/bin/tgcm.run