...
Volet |
---|
SPS_launch r.run_in_parallel sps.sh |
Executable
The following is a recipe to create your own executable:
a) Create directory for executable
...
So the object files, libraries and executables will not be under your home, create links for the directories 'build' and 'work'. Pick a place under which you want to keep the object files, libraries and executables these file under your data space, something like:
...
Set the variable 'abs_dir' to the name of your executable directory, including the 'sps' directory (needed under eh))
Volet |
---|
abs_dir=$PWD |
g) Change into 'build' directory:
...
Volet |
---|
configexp.cfg dyn_input_table rpnstd_units.dict |
configexp.cfg
Example file with variable explanations:
Volet |
---|
# Requested wall time; same as in GEM SPS_walltime=86400 # Topology: MPI(x)xMPI(y)xOpenMP; same as in GEM but other than for GEM, OpenMPI is much a little more efficient!. # SPS_topo=1x1x1 SPS_topo=2x2x4 4x2x2 # Experiment name; other than in GEM the YYYYMM will get added to the full name. So no need for the _YYYYMM. SPS_exp=SPS_GLHBQC_0.0225d_1350x1080 # Base directory of executable; same as in GEM (but different executable) SPS_bin=/home/winger/SPS/v_6.1.1/Abs/SPS_UQAM_development_FLake_CLASS/sps # Start date of simulation; same as in GEM SPS_startdate="2008 01 01 00" # End date of simulation; same as in GEM SPS_enddate="2008 02 02 00" # Number of months to run per job; max 12; same as in GEM SPS_interval=12 # Ozone climatology; same file as for GEM SPS_CONST=${AFSISIO}/datafiles/constants/ozoclim_phy45 # General climatology file; same file as for GEM SPS_climato=${MODEL_DATA}/Climatology/MHEEP/clim_gemdm320_1080x540_v2_de_francois_withiceline_i8_glorys1v1.0_corr_EMIB # Geophysical field file directory; almost same file as for GEM but # - 'ME' needs to be renamed to 'MF' and # - 'ME' of the driving data should be added and called 'MFBR' SPS_geophy=/pampa/roberge/Geophys/For_Offline/Geophys_GLHBQC_0.0225d_1350x1080_USGS # Initial condition file; similar file as for GEM: instead of atmospheric fields SPS upper driving data are needed SPS_anal=/tornado/roberge/Output/GEM511/Cascades_CORDEX/CLASS/For_Offline/NAM-11m_GEM511_ERA5_CLASS_USGS_SN8_TOFD_SA2_10yrs/Analysis/NAM-11m_GEM511_ERA5_CLASS_USGS_SN8_TOFD_SA2_10yrs_20080101-00000000 # Directory containing upper SPS driving data. There needs to be one file per month SPS_pil_dir=/tornado/roberge/Output/GEM511/Cascades_CORDEX/CLASS/For_Offline/NAM-11m_GEM511_ERA5_CLASS_USGS_SN8_TOFD_SA2_10yrs/Offline_monthly # Directory containing SST & SIC, same as for GEM SPS_SST_dir=${MODEL_DATA}/SST_SeaIce_degK/ERA5 # Temporary base input directory; same as for GEM SPS_inrep=/dev/shm/${USER}/SPS_inrep # Temporary base output directory; same as for GEM SPS_outrep=/BIG3/winger/EXECDIR/stage # Final archive directory SPS_archdir=/BIG3/winger/SPS/Output/${SPS_exp} |
...