# # QSUB -s /bin/csh # QSUB -lT 80000 # time limit # QSUB -q prem # queue to be used # QSUB -lM 20Mw # space required in megawords # QSUB -nr # no rerun ## QSUB -A 28103032 # # Run script for tgcm13mt (multi-tasked tiegcm) # cd $TMPDIR # # Comment out EXEC for compile/load only (no execution): # set EXEC # # Set FFLAGS and LDFLAGS for building multi-tasked model: # set FFLAGS = "(-m4 -Ooverindex,nofastint,inlinefrom=inline.f)" set LDFLAGS = "(-f zeros -M,stat -L /usr/local/lib -lncarm,ncaro,mss,alfpack,ecmfft,fitpack,fishpak,fftpack,hpf)" # # job is any generic job name (output listing will be $job.$$): # set job = tgcm13mt_gpi # # tgcm_version must be a valid tgcm version name # (use the command "printversions" to get list of valid versions) # set tgcm_version = tgcm13mt # # tmpdir = temporary cray directory in which to keep copies of # model source and object files: # #set tmpdir = /tmp/roble # temp dir for links (optional) set tmpdir = /tmp/foster/tgcm13mt # temp dir for links (optional) # # tgcm.run will set NCPUS according to ncpus: #set ncpus = 9 set ncpus = 12 # 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, e.g., in dir modsrc: # (this will overwrite fixed source obtained from mss by getsrcobj above) # #INCLUDE -h modsrc.kibo/*.h modsrc.kibo/*.f INCLUDE -h modsrc.tstgpi/*.h modsrc.tstgpi/*.f # # Model lexical input: # set inp = $job.inp # do not change -- used by timegcm.run cat << 'EOFINP' >! $inp INCLUDE tgcm13mt.gpi.inp 'EOFINP' # # timegcm.run runs make and executes the model # (if EXEC not set, model is not executed) # INCLUDE $TGCMROOT/bin/tgcm.run