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 4796 for trunk/NEMOGCM/SETTE/sette.sh – NEMO

Ignore:
Timestamp:
2014-09-30T17:41:45+02:00 (10 years ago)
Author:
flavoni
Message:

add ORCA2_LIM3 in SETTE, preparing ORCA2_LIM3 to be a reference configuration, see ticket #1396

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/SETTE/sette.sh

    r4379 r4796  
    136136# ORCA2_LIM_PISCES: 3 &  4 
    137137# ORCA2_OFF_PISCES: 5 &  6 
    138 # AMM12           : 7 &  8 
    139 # SAS             : 9 & 10 
     138# ORCA2_LIM3      : 7 &  8 
     139# AMM12           : 9 & 10  
     140# SAS             :11 & 12 
    140141# ORCA2_AGRIF_LIM: 11 
    141142for config in 1 2 3 4 5 6 7 8 9 10 11 
     
    629630fi 
    630631 
     632 
     633# TESTS FOR ORCA2_LIM3 CONFIGURATION 
     634if [ ${config} -eq 7 ] ;  then 
     635    ## Restartability tests for ORCA2_LIM3 
     636    export TEST_NAME="LONG" 
     637    cd ${CONFIG_DIR} 
     638    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_LONG -r ORCA2_LIM3 -j 8 del_key ${DEL_KEYS} 
     639    cd ${SETTE_DIR} 
     640    . ./param.cfg 
     641    . ./all_functions.sh 
     642    . ./prepare_exe_dir.sh 
     643    JOB_FILE=${EXE_DIR}/run_job.sh 
     644    NPROC=4 
     645    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     646    cd ${EXE_DIR} 
     647    set_namelist namelist_cfg cn_exp \"O2L3_LONG\" 
     648    set_namelist namelist_cfg nn_it000 1 
     649    set_namelist namelist_cfg nn_itend 150 
     650    set_namelist namelist_cfg nn_stock 75 
     651    set_namelist namelist_cfg ln_clobber .true. 
     652    set_namelist namelist_cfg nn_fwb 0 
     653    set_namelist namelist_cfg jpni 2 
     654    set_namelist namelist_cfg jpnj 2 
     655    set_namelist namelist_cfg jpnij 4 
     656    set_namelist namelist_cfg nn_solv 2 
     657    if [ ${USING_MPMD} == "yes" ] ; then 
     658       set_xio_using_server iodef.xml true 
     659    else 
     660       set_xio_using_server iodef.xml false 
     661    fi 
     662    cd ${SETTE_DIR} 
     663    . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     664     
     665    cd ${SETTE_DIR} 
     666    export TEST_NAME="SHORT" 
     667    . ./prepare_exe_dir.sh 
     668    cd ${EXE_DIR} 
     669    set_namelist namelist_cfg cn_exp \"O2L3_SHORT\" 
     670    set_namelist namelist_cfg nn_it000 76 
     671    set_namelist namelist_cfg nn_itend 150 
     672    set_namelist namelist_cfg nn_stock 75 
     673    set_namelist namelist_cfg ln_rstart .true. 
     674    set_namelist namelist_cfg nn_rstctl 2 
     675    set_namelist namelist_cfg ln_clobber .true. 
     676    set_namelist namelist_cfg nn_fwb 0 
     677    set_namelist namelist_cfg jpni 2 
     678    set_namelist namelist_cfg jpnj 2 
     679    set_namelist namelist_cfg jpnij 4 
     680    set_namelist namelist_cfg nn_solv 2 
     681    set_namelist namelist_cfg cn_ocerst_in \"O2L3_LONG_00000075_restart\" 
     682    set_namelist namelist_ice_cfg cn_icerst_in \"O2L3_LONG_00000075_restart_ice\" 
     683    for (( i=1; i<=$NPROC; i++)) ; do 
     684        L_NPROC=$(( $i - 1 )) 
     685        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     686        ln -sf ../LONG/O2L3_LONG_00000075_restart_${L_NPROC}.nc . 
     687        ln -sf ../LONG/O2L3_LONG_00000075_restart_ice_${L_NPROC}.nc . 
     688    done 
     689    if [ ${USING_MPMD} == "yes" ] ; then 
     690       set_xio_using_server iodef.xml true 
     691    else 
     692       set_xio_using_server iodef.xml false 
     693    fi 
     694    cd ${SETTE_DIR} 
     695    . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     696    cd ${SETTE_DIR} 
     697    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     698fi 
     699 
     700if [ ${config} -eq 8 ] ;  then 
     701    ## Reproducibility tests for ORCA2_LIM3 
     702    export TEST_NAME="REPRO_4_4" 
     703    cd ${CONFIG_DIR} 
     704    . ./makenemo -m ${CMP_NAM} -n ORCA2LIM3_16 -r ORCA2_LIM3 -j 8 add_key "key_mpp_rep" del_key ${DEL_KEYS} 
     705    cd ${SETTE_DIR} 
     706    . ./param.cfg 
     707    . ./all_functions.sh 
     708    . ./prepare_exe_dir.sh 
     709    JOB_FILE=${EXE_DIR}/run_job.sh 
     710    NPROC=16 
     711    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     712    cd ${EXE_DIR} 
     713    set_namelist namelist_cfg nn_it000 1 
     714    set_namelist namelist_cfg nn_itend 75 
     715    set_namelist namelist_cfg nn_fwb 0 
     716    set_namelist namelist_cfg ln_ctl .false. 
     717    set_namelist namelist_cfg ln_clobber .true. 
     718    set_namelist namelist_cfg jpni 4 
     719    set_namelist namelist_cfg jpnj 4 
     720    set_namelist namelist_cfg jpnij 16 
     721    set_namelist namelist_cfg nn_solv 2 
     722    if [ ${USING_MPMD} == "yes" ] ; then 
     723       set_xio_using_server iodef.xml true 
     724    else 
     725       set_xio_using_server iodef.xml false 
     726    fi 
     727    cd ${SETTE_DIR} 
     728    . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     729    cd ${SETTE_DIR} 
     730    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     731 
     732    cd ${SETTE_DIR} 
     733    export TEST_NAME="REPRO_2_8" 
     734    . ./prepare_exe_dir.sh 
     735    JOB_FILE=${EXE_DIR}/run_job.sh 
     736    NPROC=16 
     737    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi 
     738    cd ${EXE_DIR} 
     739    set_namelist namelist_cfg nn_it000 1 
     740    set_namelist namelist_cfg nn_itend 75 
     741    set_namelist namelist_cfg ln_clobber .true. 
     742    set_namelist namelist_cfg nn_fwb 0 
     743    set_namelist namelist_cfg jpni 2 
     744    set_namelist namelist_cfg jpnj 8 
     745    set_namelist namelist_cfg jpnij 16 
     746    set_namelist namelist_cfg nn_solv 2 
     747    if [ ${USING_MPMD} == "yes" ] ; then 
     748       set_xio_using_server iodef.xml true 
     749    else 
     750       set_xio_using_server iodef.xml false 
     751    fi 
     752 
     753    cd ${SETTE_DIR} 
     754    . ./prepare_job.sh input_ORCA2_LIM3.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     755    cd ${SETTE_DIR} 
     756    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     757fi 
     758 
     759 
    631760# TESTS FOR AMM12 CONFIGURATION 
    632 if [ ${config} -eq 7 ] ;  then 
     761if [ ${config} -eq 9 ] ;  then 
    633762    ## Restartability tests for AMM12 
    634763    export TEST_NAME="LONG" 
     
    692821fi 
    693822 
    694 if [ ${config} -eq 8 ] ;  then 
     823if [ ${config} -eq 10 ] ;  then 
    695824## Reproducibility tests for AMM12 
    696825    export TEST_NAME="REPRO_8_4" 
     
    748877 
    749878# TESTS FOR ORCA2_SAS_LIM CONFIGURATION 
    750 if [ ${config} -eq 9 ] ;  then 
     879if [ ${config} -eq 11 ] ;  then 
    751880    ## Restartability tests for SAS 
    752881    export TEST_NAME="LONG" 
     
    810939fi 
    811940 
    812 if [ ${config} -eq 10 ] ;  then 
     941if [ ${config} -eq 12 ] ;  then 
    813942## Reproducibility tests for ORCA2_SAS_LIM 
    814943    export TEST_NAME="REPRO_8_4" 
     
    866995 
    867996# TEST FOR ORCA2_LIM_AGRIF : simple test of running AGRIF (no restartability neither reproducibility tests) 
    868 if [ ${config} -eq 11 ] ;  then 
     997if [ ${config} -eq 13 ] ;  then 
    869998    ## ORCA2_LIM with Agulhas AGRIF zoom in MPI 
    870999    export TEST_NAME="SHORT" 
Note: See TracChangeset for help on using the changeset viewer.