SPS 1.1.0 run
Matières
building of SPS 1.1.0 executable based on GEM 4.6.2, physics 5.6.8, INTEL fortran 14.0.2
NOTE: environment variable storage_model MUST BE DEFINED
NEW WAY
(uses github for public code)
git clone https://github.com/mfvalin/SPS my_sps cd my_sps . ./.setenv.dot rde mklink # links to compile sps rde mkdep # create Makefile and dependencies make obj # compile make sps # build executable linkit # links to run sps sps.ksh # run sps (test)
OLD WAY (HISTORICAL)
(legacy, vanilla, deprecated version)
. s.ssmuse.dot sps_beta_dev # acquire software mkdir my_sps_dir # where i want to build u.get_sps_beta my_sps_dir # get the source cd my_sps_dir . ./.setenv.dot ulimit -s unlimited ulimit -m unlimited ulimit -d unlimited rde mklink # links to compile sps rde mkdep # create Makefile and dependencies make obj # compile make sps # build executable linkit # links to run sps sps.ksh # run sps
making runs with SPS 1.1.0 executable
create a directory for the configuration cd SPS_run_directory needed ingredients: include directory SPS_cfgs directory exper.cfg experiment configuration file .setenv.dot setup file sps_Linux_x86-64.Abs sps executable SHM must be a directory or point to one Data -> SHM/Data Data_disk/Input where climato and Gem_geophy.fst will come from storage_model -> SHM/storage_model OUT -> __workdir__Linux_x86-64/output/cfg_0000/
typical contents of .setenv.dot source s.ssmuse.dot fulldev-ifort15 sps_1.1.0.1_all@SPS_1.1.0_intel15 python-2.7.7 task-setup model_data -z $COMP_ARCH && echo ERROR: COMP_ARCH is not defined && return export sps=$(pwd)
typical contents of exper.cfg exper='experiment_001' # name of the experiment # exper_archive=$(pwd -P)/ARCHIVE # where output is to be sent by post_sps.sh # # anal_*_YYYYMMDD or anal_*_YYYYMMDD_yyy # exper_anal1=$(pwd -P)/Data_disk/Input/inrep/INI # where initial conditions can be found by pre_sps.sh exper_anal2=${exper_archive}/${exper} # where initial conditions can be found by pre_sps.sh # exper_depot1=${MODEL_DATA}/Offline_driving/ERA-Interim_0.75/6h_Analysis # where driving data can be found by pre_sps.sh exper_depot2=${MODEL_DATA}/SST_SeaIce/ERA-Interim_0.75deg # where driving data can be found by pre_sps.sh # exper_start_date=19790101 # initial date exper_end_date=19800101 # last date (unused if > exper_fold_date) exper_fold_date=19850201 # "back to the past" date (unused if > exper_end_date) # # exper_delta='1month' # MUST be 1month for now exper_cpu_config='--verbosity=error --ptopo=4x4x1' # configuration for sps.ksh exper_cpu_config2='--verbosity=error --ptopo=3x3x1' # alternate configuration for sps.ksh # # the following variables get read and adjusted by pre_sps.sh, run_sps.sh, and post_sps.sh # exper_current_date is the starting date for the current monthly step # exper_current_year is the current year number in this multi year integration (should start at 1) # if exper_current_year == 0 , no extension is used for outputs or initial conditions # exper_cycle_year is the number of years to run # exper_current_date='19790101' exper_cycle_year='2' exper_current_year='1'