New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 14870 for utils/CI/sette_ticket2673/prepare_exe_dir.sh – NEMO

Ignore:
Timestamp:
2021-05-16T16:54:58+02:00 (3 years ago)
Author:
acc
Message:

Branch: sette_ticket2673. More tweaks. Added a few more features and aligned the utility scripts with the new directory structure. Each experiment directory in the NEMO_VALIDATION_DIR now gets a sette_config file recording the settings used to run the test. They now also get copies of the *namelist*_cfg files which can be useful for cross-checking. sette_list_avail_rev.sh now accepts the -v subdir option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2673/prepare_exe_dir.sh

    r11161 r14870  
    7575#cat ${SETTE_DIR}/iodef_sette.xml | sed -e"s;DEF_SHARED;${CONFIG_DIR0}/SHARED;" > ${EXE_DIR}/iodef.xml 
    7676cd ${EXE_DIR} 
     77# 
     78# Add summary of the sette.sh set-up used and the current list of keys added or deleted 
     79COMP_KEYS="`cat ${CONFIG_DIR}/${NEW_CONF}/cpp_${NEW_CONF}.fcm | sed -e 's/.*fppkeys *//'`" 
     80echo "Summary of sette environment"                                > ./sette_config 
     81echo "----------------------------"                               >> ./sette_config 
     82echo "requested by the command          : "$cmd $cmdargs          >> ./sette_config 
     83printf "%-33s : %s\n" USING_TIMING $USING_TIMING                  >> ./sette_config 
     84printf "%-33s : %s\n" USING_ICEBERGS $USING_ICEBERGS              >> ./sette_config 
     85printf "%-33s : %s\n" USING_EXTRA_HALO $USING_EXTRA_HALO          >> ./sette_config 
     86printf "%-33s : %s\n" USING_TILING $USING_TILING                  >> ./sette_config 
     87printf "%-33s : %s\n" USING_COLLECTIVES $USING_COLLECTIVES        >> ./sette_config 
     88printf "%-33s : %s\n" USING_NOSIGNED0 $USING_NOSIGNED0            >> ./sette_config 
     89printf "%-33s : %s\n" USING_QCO $USING_QCO                        >> ./sette_config 
     90printf "%-33s : %s\n" USING_LOOP_FUSION $USING_LOOP_FUSION        >> ./sette_config 
     91printf "%-33s : %s\n" USING_XIOS $USING_XIOS                      >> ./sette_config 
     92printf "%-33s : %s\n" USING_MPMD $USING_MPMD                      >> ./sette_config 
     93printf "%-33s : %s\n" USING_RK3 $USING_RK3                        >> ./sette_config 
     94printf "%-33s : %s\n" "Common compile keys added" "$ADD_KEYS"     >> ./sette_config 
     95printf "%-33s : %s\n" "Common compile keys deleted" "$DEL_KEYS"   >> ./sette_config 
     96printf "%-33s : %s\n" "Compile keys actually used" "${COMP_KEYS}" >> ./sette_config 
    7797 
    7898# Remove previously generated output files used for test evaluation 
Note: See TracChangeset for help on using the changeset viewer.