Changeset 9458


Ignore:
Timestamp:
2018-04-04T16:05:10+02:00 (3 years ago)
Author:
clem
Message:

debug sas biper test case after the last commits

Location:
branches/2017/dev_merge_2017/NEMOGCM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/SAS_BIPER/EXP00/namelist_cfg

    r9356 r9458  
    128128&namagrif      !  AGRIF zoom                                            ("key_agrif") 
    129129!----------------------------------------------------------------------- 
    130    nn_cln_update =    1    !  baroclinic update frequency 
    131130/ 
    132131!----------------------------------------------------------------------- 
  • branches/2017/dev_merge_2017/NEMOGCM/CONFIG/TEST_CASES/SAS_BIPER/MY_SRC/usrdef_nam.F90

    r7818 r9458  
    7373      kk_cfg = INT( rn_dx ) 
    7474      ! 
    75       ! Global Domain size:  SAS_BIPER domain is  300 km x 300 Km x 2000 m 
     75      ! Global Domain size:  SAS_BIPER domain is  300 km x 300 Km x 10 m 
    7676      kpi = INT( 300.e3 / rn_dx ) -1 
    7777      kpj = INT( 300.e3 / rn_dy ) -1 
     78#if defined key_agrif 
     79      IF( .NOT. Agrif_Root() ) THEN 
     80         kpi = nbcellsx + 2 + 2*nbghostcells 
     81         kpj = nbcellsy + 2 + 2*nbghostcells 
     82      ENDIF 
     83#endif 
    7884      kpk = 1 
    7985      ! 
  • branches/2017/dev_merge_2017/NEMOGCM/SETTE/sette_test-cases.sh

    r9268 r9458  
    146146 
    147147 
    148 for config in 1 2 3  
     148for config in 5  
    149149do 
    150150 
     
    421421fi 
    422422 
     423 
     424#--clem: 
     425# TESTS FOR SAS_BIPER CONFIGURATION 
     426if [ ${config} -eq 5 ] ;  then  
     427    ## Restartability tests for SAS_BIPER 
     428    export TEST_NAME="LONG" 
     429    cd ${CONFIG_DIR0} 
     430    . ./makenemo -m ${CMP_NAM} -n SAS_BIPER_ST -r SAS_BIPER -a TEST_CASES -j 8  del_key ${DEL_KEYS} 
     431    cd ${SETTE_DIR} 
     432    . ./param.cfg 
     433    . ./all_functions.sh 
     434    . ./prepare_exe_dir.sh 
     435    JOB_FILE=${EXE_DIR}/run_job.sh 
     436    NPROC=1 
     437    if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi  
     438    cd ${EXE_DIR} 
     439    set_namelist namelist_cfg cn_exp \"SAS_BIPER_LONG\" 
     440    set_namelist namelist_cfg nn_it000 1 
     441    set_namelist namelist_cfg nn_itend 200 
     442    set_namelist namelist_cfg nn_stock 100 
     443    set_namelist namelist_cfg ln_clobber .true. 
     444#    set_namelist namelist_cfg nn_fsbc 1        
     445    set_namelist namelist_cfg jpni 1 
     446    set_namelist namelist_cfg jpnj 1 
     447    set_namelist namelist_cfg jpnij 1 
     448     
     449    set_namelist namelist_ice_cfg ln_icethd .true. 
     450    set_namelist namelist_ice_cfg ln_icedyn .true. 
     451    set_namelist namelist_ice_cfg ln_dynFULL .true. 
     452    set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
     453    set_namelist namelist_ice_cfg ln_dynADV .false. 
     454    set_namelist namelist_ice_cfg ln_adv_Pra .false. 
     455    set_namelist namelist_ice_cfg ln_adv_UMx .true. 
     456    set_namelist namelist_ice_cfg ln_icediachk .true. 
     457     
     458    set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_LONG\" 
     459    set_namelist 1_namelist_cfg nn_it000 1 
     460    set_namelist 1_namelist_cfg nn_itend 600 
     461    set_namelist 1_namelist_cfg nn_stock 300 
     462    set_namelist 1_namelist_cfg ln_clobber .true. 
     463    set_namelist 1_namelist_cfg jpni 1 
     464    set_namelist 1_namelist_cfg jpnj 1 
     465    set_namelist 1_namelist_cfg jpnij 1 
     466     
     467    set_namelist 1_namelist_ice_cfg ln_icethd .true. 
     468    set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
     469    set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
     470    set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
     471    set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
     472    set_namelist 1_namelist_ice_cfg ln_adv_Pra .false. 
     473    set_namelist 1_namelist_ice_cfg ln_adv_UMx .true. 
     474#    set_namelist 1_namelist_ice_cfg ln_icediachk .true. 
     475    if [ ${USING_MPMD} == "yes" ] ; then 
     476        set_xio_using_server iodef.xml true 
     477    else 
     478        set_xio_using_server iodef.xml false 
     479    fi 
     480    cd ${SETTE_DIR} 
     481    . ./prepare_job.sh input_SASBIPER.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     482     
     483    cd ${SETTE_DIR} 
     484    export TEST_NAME="SHORT" 
     485    . ./prepare_exe_dir.sh 
     486    cd ${EXE_DIR} 
     487    set_namelist namelist_cfg cn_exp \"SAS_BIPER_SHORT\" 
     488    set_namelist namelist_cfg nn_it000 101 
     489    set_namelist namelist_cfg nn_itend 200 
     490    set_namelist namelist_cfg nn_stock 100 
     491    set_namelist namelist_cfg ln_rstart .true. 
     492    set_namelist namelist_cfg nn_rstctl 2 
     493    set_namelist namelist_cfg ln_clobber .true. 
     494    set_namelist namelist_cfg jpni 1 
     495    set_namelist namelist_cfg jpnj 1 
     496    set_namelist namelist_cfg jpnij 1 
     497     
     498    set_namelist namelist_ice_cfg ln_icethd .true. 
     499    set_namelist namelist_ice_cfg ln_icedyn .true. 
     500    set_namelist namelist_ice_cfg ln_dynFULL .true. 
     501    set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
     502    set_namelist namelist_ice_cfg ln_dynADV .false. 
     503    set_namelist namelist_ice_cfg ln_adv_Pra .false. 
     504    set_namelist namelist_ice_cfg ln_adv_UMx .true. 
     505    set_namelist namelist_ice_cfg ln_icediachk .true. 
     506    set_namelist namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000100_restart\" 
     507    set_namelist namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000100_restart_ice\" 
     508     
     509    set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_SHORT\" 
     510    set_namelist 1_namelist_cfg nn_it000 301 
     511    set_namelist 1_namelist_cfg nn_itend 600 
     512    set_namelist 1_namelist_cfg nn_stock 300 
     513    set_namelist 1_namelist_cfg ln_rstart .true. 
     514    set_namelist 1_namelist_cfg nn_rstctl 2 
     515    set_namelist 1_namelist_cfg ln_clobber .true. 
     516    set_namelist 1_namelist_cfg jpni 1 
     517    set_namelist 1_namelist_cfg jpnj 1 
     518    set_namelist 1_namelist_cfg jpnij 1 
     519     
     520    set_namelist 1_namelist_ice_cfg ln_icethd .true. 
     521    set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
     522    set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
     523    set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
     524    set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
     525    set_namelist 1_namelist_ice_cfg ln_adv_Pra .false. 
     526    set_namelist 1_namelist_ice_cfg ln_adv_UMx .true. 
     527#    set_namelist 1_namelist_ice_cfg ln_icediachk .true. 
     528    set_namelist 1_namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000300_restart\" 
     529    set_namelist 1_namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000300_restart_ice\" 
     530     
     531     
     532    if [ ${USING_MPMD} == "yes" ] ; then 
     533        set_xio_using_server iodef.xml true 
     534    else 
     535        set_xio_using_server iodef.xml false 
     536    fi 
     537    if [ $NPROC -eq 1 ] ;  then 
     538        ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart.nc . 
     539        ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_ice.nc . 
     540        ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart.nc . 
     541        ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_ice.nc . 
     542    else 
     543        for (( i=1; i<=$NPROC; i++)) ; do 
     544            L_NPROC=$(( $i - 1 )) 
     545            L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     546            ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_${L_NPROC}.nc . 
     547            ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_ice_${L_NPROC}.nc . 
     548            ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_${L_NPROC}.nc . 
     549            ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_ice_${L_NPROC}.nc . 
     550        done 
     551    fi 
     552    if [ ${USING_MPMD} == "yes" ] ; then 
     553        set_xio_using_server iodef.xml true 
     554    else 
     555        set_xio_using_server iodef.xml false 
     556    fi 
     557    if [ $NPROC -eq 1 ] ;  then 
     558        ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart.nc . 
     559        ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_ice.nc . 
     560   ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart.nc . 
     561        ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_ice.nc . 
     562    else 
     563        for (( i=1; i<=$NPROC; i++)) ; do 
     564            L_NPROC=$(( $i - 1 )) 
     565            L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     566            ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_${L_NPROC}.nc . 
     567            ln -sf ../LONG/SAS_BIPER_LONG_00000100_restart_ice_${L_NPROC}.nc . 
     568            ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_${L_NPROC}.nc . 
     569            ln -sf ../LONG/1_SAS_BIPER_LONG_00000300_restart_ice_${L_NPROC}.nc . 
     570        done 
     571    fi 
     572    if [ ${USING_MPMD} == "yes" ] ; then 
     573        set_xio_using_server iodef.xml true 
     574    else 
     575        set_xio_using_server iodef.xml false 
     576    fi 
     577    cd ${SETTE_DIR} 
     578    . ./prepare_job.sh input_SASBIPER.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
     579    cd ${SETTE_DIR} 
     580    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     581     
     582fi 
     583 
     584#---- 
    423585done 
    424  
    425 ###### #--clem: 
    426 ###### # TESTS FOR SAS_BIPER CONFIGURATION 
    427 ###### if [ ${config} -eq 11 ] ;  then  
    428 ######     ## Restartability tests for SAS_BIPER 
    429 ######     export TEST_NAME="LONG" 
    430 ######     cd ${CONFIG_DIR0} 
    431 ######     . ./makenemo -m ${CMP_NAM} -n SAS_BIPER_ST -r SAS_BIPER -a TEST_CASES -j 8  del_key ${DEL_KEYS} 
    432 ######     cd ${SETTE_DIR} 
    433 ######     . ./param.cfg 
    434 ######     . ./all_functions.sh 
    435 ######     . ./prepare_exe_dir.sh 
    436 ######     JOB_FILE=${EXE_DIR}/run_job.sh 
    437 ######     NPROC=1 
    438 ######     if [ -f ${JOB_FILE} ] ; then \rm ${JOB_FILE} ; fi  
    439 ######     cd ${EXE_DIR} 
    440 ######     set_namelist namelist_cfg cn_exp \"SAS_BIPER_LONG\" 
    441 ######     set_namelist namelist_cfg nn_it000 1 
    442 ######     set_namelist namelist_cfg nn_itend 100 
    443 ######     set_namelist namelist_cfg nn_stock 50 
    444 ######     set_namelist namelist_cfg ln_clobber .true. 
    445 ###### #    set_namelist namelist_cfg ln_read_cfg .false. 
    446 ###### #    set_namelist namelist_cfg ln_linssh .true. 
    447 ###### #    set_namelist namelist_cfg ln_usr .true. 
    448 ###### #    set_namelist namelist_cfg ln_blk .false. 
    449 ###### #    set_namelist namelist_cfg nn_fsbc 1 
    450 ###### #    set_namelist namelist_cfg nn_ice 2 
    451 ###### #    set_namelist namelist_cfg l_sasread .false. 
    452 ###### #    set_namelist namelist_cfg rn_shlat 0. 
    453 ###### #    set_namelist namelist_cfg ln_NONE .true. 
    454 ###### #    set_namelist namelist_cfg ln_traadv_NONE .true. 
    455 ######  
    456 ######     set_namelist namelist_cfg jpni 1 
    457 ######     set_namelist namelist_cfg jpnj 1 
    458 ######     set_namelist namelist_cfg jpnij 1 
    459 ######     set_namelist namelist_ice_cfg ln_icethd .true. 
    460 ######     set_namelist namelist_ice_cfg ln_icedyn .true. 
    461 ######     set_namelist namelist_ice_cfg ln_dynFULL .true. 
    462 ######     set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
    463 ######     set_namelist namelist_ice_cfg ln_dynADV .false. 
    464 ######     set_namelist namelist_ice_cfg ln_adv_Pra .false. 
    465 ######     set_namelist namelist_ice_cfg ln_adv_UMx .true. 
    466 ######  
    467 ######     set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_LONG\" 
    468 ######     set_namelist 1_namelist_cfg nn_it000 1 
    469 ######     set_namelist 1_namelist_cfg nn_itend 300 
    470 ######     set_namelist 1_namelist_cfg nn_stock 150 
    471 ######     set_namelist 1_namelist_cfg ln_clobber .true. 
    472 ######     set_namelist 1_namelist_cfg jpni 1 
    473 ######     set_namelist 1_namelist_cfg jpnj 1 
    474 ######     set_namelist 1_namelist_cfg jpnij 1 
    475 ######     set_namelist 1_namelist_ice_cfg ln_icethd .true. 
    476 ######     set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
    477 ######     set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
    478 ######     set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
    479 ######     set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
    480 ######     set_namelist 1_namelist_ice_cfg ln_adv_Pra .false. 
    481 ######     set_namelist 1_namelist_ice_cfg ln_adv_UMx .true. 
    482 ######     if [ ${USING_MPMD} == "yes" ] ; then 
    483 ######        set_xio_using_server iodef.xml true 
    484 ######     else 
    485 ######        set_xio_using_server iodef.xml false 
    486 ######     fi 
    487 ######     cd ${SETTE_DIR} 
    488 ######     . ./prepare_job.sh input_SASBIPER.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    489 ######  
    490 ######     cd ${SETTE_DIR} 
    491 ######     export TEST_NAME="SHORT" 
    492 ######     . ./prepare_exe_dir.sh 
    493 ######     cd ${EXE_DIR} 
    494 ######     set_namelist namelist_cfg cn_exp \"SAS_BIPER_SHORT\" 
    495 ######     set_namelist namelist_cfg nn_it000 51 
    496 ######     set_namelist namelist_cfg nn_itend 100 
    497 ######     set_namelist namelist_cfg nn_stock 50 
    498 ######     set_namelist namelist_cfg ln_rstart .true. 
    499 ######     set_namelist namelist_cfg nn_rstctl 2 
    500 ######     set_namelist namelist_cfg ln_clobber .true. 
    501 ######     set_namelist namelist_cfg jpni 1 
    502 ######     set_namelist namelist_cfg jpnj 1 
    503 ######     set_namelist namelist_cfg jpnij 1 
    504 ######     set_namelist namelist_ice_cfg ln_icethd .true. 
    505 ######     set_namelist namelist_ice_cfg ln_icedyn .true. 
    506 ######     set_namelist namelist_ice_cfg ln_dynFULL .true. 
    507 ######     set_namelist namelist_ice_cfg ln_dynRHGADV .false. 
    508 ######     set_namelist namelist_ice_cfg ln_dynADV .false. 
    509 ######     set_namelist namelist_ice_cfg ln_adv_Pra .false. 
    510 ######     set_namelist namelist_ice_cfg ln_adv_UMx .true. 
    511 ######     set_namelist namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000050_restart\" 
    512 ######     set_namelist namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000050_restart_ice\" 
    513 ######  
    514 ######     set_namelist 1_namelist_cfg cn_exp \"SAS_BIPER_SHORT\" 
    515 ######     set_namelist 1_namelist_cfg nn_it000 151 
    516 ######     set_namelist 1_namelist_cfg nn_itend 300 
    517 ######     set_namelist 1_namelist_cfg nn_stock 150 
    518 ######     set_namelist 1_namelist_cfg ln_rstart .true. 
    519 ######     set_namelist 1_namelist_cfg nn_rstctl 2 
    520 ######     set_namelist 1_namelist_cfg ln_clobber .true. 
    521 ######     set_namelist 1_namelist_cfg jpni 1 
    522 ######     set_namelist 1_namelist_cfg jpnj 1 
    523 ######     set_namelist 1_namelist_cfg jpnij 1 
    524 ######     set_namelist 1_namelist_ice_cfg ln_icethd .true. 
    525 ######     set_namelist 1_namelist_ice_cfg ln_icedyn .true. 
    526 ######     set_namelist 1_namelist_ice_cfg ln_dynFULL .true. 
    527 ######     set_namelist 1_namelist_ice_cfg ln_dynRHGADV .false. 
    528 ######     set_namelist 1_namelist_ice_cfg ln_dynADV .false. 
    529 ######     set_namelist 1_namelist_ice_cfg ln_adv_Pra .false. 
    530 ######     set_namelist 1_namelist_ice_cfg ln_adv_UMx .true. 
    531 ######     set_namelist 1_namelist_cfg cn_ocerst_in \"SAS_BIPER_LONG_00000150_restart\" 
    532 ######     set_namelist 1_namelist_ice_cfg cn_icerst_in \"SAS_BIPER_LONG_00000150_restart_ice\" 
    533 ######  
    534 ######  
    535 ######     if [ ${USING_MPMD} == "yes" ] ; then 
    536 ######        set_xio_using_server iodef.xml true 
    537 ######     else 
    538 ######        set_xio_using_server iodef.xml false 
    539 ######     fi 
    540 ######     if [ $NPROC -eq 1 ] ;  then 
    541 ######        ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart.nc . 
    542 ######        ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart_ice.nc . 
    543 ######        ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart.nc . 
    544 ######        ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart_ice.nc . 
    545 ######     else 
    546 ######        for (( i=1; i<=$NPROC; i++)) ; do 
    547 ######           L_NPROC=$(( $i - 1 )) 
    548 ######           L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    549 ######           ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart_${L_NPROC}.nc . 
    550 ######           ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart_ice_${L_NPROC}.nc . 
    551 ######           ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart_${L_NPROC}.nc . 
    552 ######           ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart_ice_${L_NPROC}.nc . 
    553 ######        done 
    554 ######     fi 
    555 ######     if [ ${USING_MPMD} == "yes" ] ; then 
    556 ######        set_xio_using_server iodef.xml true 
    557 ######     else 
    558 ######        set_xio_using_server iodef.xml false 
    559 ######     fi 
    560 ######     if [ $NPROC -eq 1 ] ;  then 
    561 ######        ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart.nc . 
    562 ######        ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart_ice.nc .######        ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart.nc . 
    563 ######        ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart_ice.nc . 
    564 ######     else 
    565 ######        for (( i=1; i<=$NPROC; i++)) ; do 
    566 ######           L_NPROC=$(( $i - 1 )) 
    567 ######           L_NPROC=`printf "%04d\n" ${L_NPROC}` 
    568 ######           ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart_${L_NPROC}.nc . 
    569 ######           ln -sf ../LONG/SAS_BIPER_LONG_00000050_restart_ice_${L_NPROC}.nc . 
    570 ######           ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart_${L_NPROC}.nc . 
    571 ######           ln -sf ../LONG/1_SAS_BIPER_LONG_00000150_restart_ice_${L_NPROC}.nc . 
    572 ######        done 
    573 ######     fi 
    574 ######     if [ ${USING_MPMD} == "yes" ] ; then 
    575 ######        set_xio_using_server iodef.xml true 
    576 ######     else 
    577 ######        set_xio_using_server iodef.xml false 
    578 ######     fi 
    579 ######     cd ${SETTE_DIR} 
    580 ######     . ./prepare_job.sh input_SASBIPER.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} ${NUM_XIOSERVERS} 
    581 ######     cd ${SETTE_DIR} 
    582 ######     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    583 ######  
    584 ###### fi 
    585 ######  
    586 ###### #---- 
Note: See TracChangeset for help on using the changeset viewer.