Ignore:
Timestamp:
2012-11-16T12:47:14+01:00 (8 years ago)
Author:
adani
Message:

ticket #998. Step 5: Add in changes from the trunk between revisions 3521 and 3555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_INGV/NEMOGCM/SETTE/sette.sh

    r3575 r3577  
    1111# 
    1212############################################################# 
    13 set -vx 
     13#set -x 
    1414set -o posix 
    1515#set -u 
     
    8484# 
    8585# 
    86 #  prepare_job.sh 
    87 # 
    88 #  to generate the script run_job.sh 
    89 # 
    9086#  fcm_job.sh  
    9187# 
     
    125121# ========== 
    126122# 
    127 # $Id: $ 
     123# $Id:$ 
    128124# 
    129125#   * creation 
     
    159155    export TEST_NAME="LONG" 
    160156    cd ${SETTE_DIR} 
    161     . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_LONG -r GYRE_LOBSTER -j 8   
    162     cd ${SETTE_DIR} 
    163     . param.cfg 
    164     . all_functions.sh 
    165     . prepare_exe_dir.sh 
    166     JOB_FILE=${EXE_DIR}/run_job.sh 
    167     NPROC=1 
     157    . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_LONG -r GYRE_LOBSTER add_key "key_mpp_mpi" 
     158    cd ${SETTE_DIR} 
     159    . param.cfg 
     160    . all_functions.sh 
     161    . prepare_exe_dir.sh 
     162    JOB_FILE=${EXE_DIR}/run_job.sh 
     163    NPROC=4 
    168164    \rm ${JOB_FILE} 
    169165    cd ${EXE_DIR} 
     
    175171    set_namelist namelist nn_solv 2 
    176172    set_namelist namelist_top ln_diatrc .false. 
    177     cd ${SETTE_DIR} 
    178     . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} no ${JOB_FILE} 
    179     cd ${SETTE_DIR} 
    180     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} no 
     173    set_namelist namelist jpni 2 
     174    set_namelist namelist jpnj 2 
     175    set_namelist namelist jpnij 4 
     176    cd ${SETTE_DIR} 
     177    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    181178 
    182179    cd ${SETTE_DIR} 
     
    192189    set_namelist namelist ln_clobber .true. 
    193190    set_namelist namelist nn_solv 2 
    194     ln -s -f ..\/LONG\/GYRELOB_LONG_00000060_restart.nc 
    195     ln -s -f ..\/LONG\/GYRELOB_LONG_00000060_restart_trc.nc 
     191    set_namelist namelist jpni 2 
     192    set_namelist namelist jpnj 2 
     193    set_namelist namelist jpnij 4 
    196194    set_namelist namelist cn_ocerst_in \"GYRELOB_LONG_00000060_restart\" 
     195    set_namelist namelist_top cn_trcrst_in \"GYRELOB_LONG_00000060_restart_trc\" 
    197196    set_namelist namelist_top ln_diatrc .false. 
    198197    set_namelist namelist_top ln_rsttr .true. 
    199198    set_namelist namelist_top nn_rsttr 2 
    200     set_namelist namelist_top cn_trcrst_in \"GYRELOB_LONG_00000060_restart_trc\" 
    201     cd ${SETTE_DIR} 
    202     . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} no ${JOB_FILE} 
    203     cd ${SETTE_DIR} 
    204     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} no 
     199    for (( i=1; i<=$NPROC; i++)) ; do 
     200        L_NPROC=$(( $i - 1 )) 
     201        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     202        ln -sf ../LONG/GYRELOB_LONG_00000060_restart_${L_NPROC}.nc . 
     203        ln -sf ../LONG/GYRELOB_LONG_00000060_restart_trc_${L_NPROC}.nc . 
     204    done 
     205    cd ${SETTE_DIR} 
     206    . ./prepare_job.sh input_GYRE.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     207    cd ${SETTE_DIR} 
     208    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    205209fi 
    206210 
    207211if [ ${config} -eq 2 ] ;  then 
    208     ## Reproducibility tests for GYRE_LOBSTER 
     212    ## Repropducibility tests for GYRE_LOBSTER 
    209213    export TEST_NAME="REPRO_1_4" 
    210214    cd ${SETTE_DIR} 
    211     . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_4 -r GYRE_LOBSTER -j 8 add_key "key_mpp_rep key_mpp_mpi" 
     215    . ../CONFIG/makenemo -m ${CMP_NAM} -n GYRELOB_4 -r GYRE_LOBSTER add_key "key_mpp_mpi key_mpp_rep" 
    212216    cd ${SETTE_DIR} 
    213217    . param.cfg 
     
    216220    JOB_FILE=${EXE_DIR}/run_job.sh 
    217221    NPROC=4 
    218     \rm $JOB_FILE 
     222    \rm ${JOB_FILE} 
    219223    cd ${EXE_DIR} 
    220224    set_namelist namelist cn_exp \"GYRELOB_14\" 
     
    239243    export TEST_NAME="REPRO_2_2" 
    240244    . prepare_exe_dir.sh 
    241     JOB_FILE=${EXE_DIR}/run_job.sh 
    242     NPROC=4 
    243     \rm $JOB_FILE 
    244245    cd ${EXE_DIR} 
    245246    set_namelist namelist cn_exp \"GYRELOB_22\" 
     
    259260    cd ${SETTE_DIR} 
    260261    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     262 
    261263fi 
    262264 
     
    266268    export TEST_NAME="LONG" 
    267269    cd ${SETTE_DIR} 
    268     . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES -j 8 
    269     cd ${SETTE_DIR} 
    270     . param.cfg 
    271     . all_functions.sh 
    272     . prepare_exe_dir.sh 
    273     JOB_FILE=${EXE_DIR}/run_job.sh 
    274     NPROC=1 
    275     \rm $JOB_FILE 
     270    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2LIMPIS_LONG -r ORCA2_LIM_PISCES -j 8 add_key "key_mpp_mpi"  
     271    cd ${SETTE_DIR} 
     272    . param.cfg 
     273    . all_functions.sh 
     274    . prepare_exe_dir.sh 
     275    JOB_FILE=${EXE_DIR}/run_job.sh 
     276    NPROC=4 
     277    \rm ${JOB_FILE} 
    276278    cd ${EXE_DIR} 
    277279    set_namelist namelist cn_exp \"O2LP_LONG\" 
     
    280282    set_namelist namelist nn_stock 75 
    281283    set_namelist namelist ln_clobber .true. 
     284    set_namelist namelist jpni 2 
     285    set_namelist namelist jpnj 2 
     286    set_namelist namelist jpnij 4 
    282287    set_namelist namelist nn_solv 2 
    283288    set_namelist namelist_top ln_trcdta .false. 
     
    291296    set_namelist namelist_pisces ln_presatm .false. 
    292297    cd ${SETTE_DIR} 
    293     . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} no ${JOB_FILE} 
    294     cd ${SETTE_DIR} 
    295     . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} no 
    296 # 
     298    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     299     
     300    cd ${SETTE_DIR} 
    297301    export TEST_NAME="SHORT" 
    298     cd ${SETTE_DIR} 
    299302    . prepare_exe_dir.sh 
    300303    cd ${EXE_DIR} 
     
    306309    set_namelist namelist nn_rstctl 2 
    307310    set_namelist namelist ln_clobber .true. 
    308     set_namelist namelist nn_solv 2 
    309     ln -s -f ../LONG/O2LP_LONG_00000075_restart.nc 
    310     ln -s -f ../LONG/O2LP_LONG_00000075_restart_ice.nc 
    311     ln -s -f ../LONG/O2LP_LONG_00000075_restart_trc.nc 
     311    set_namelist namelist jpni 2 
     312    set_namelist namelist jpnj 2 
     313    set_namelist namelist jpnij 4 
     314    set_namelist namelist nn_solv 2 
    312315    set_namelist namelist cn_ocerst_in \"O2LP_LONG_00000075_restart\" 
    313316    set_namelist namelist_ice cn_icerst_in \"O2LP_LONG_00000075_restart_ice\" 
     317    set_namelist namelist_top cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\" 
    314318    set_namelist namelist_top ln_diatrc .false. 
    315319    set_namelist namelist_top ln_rsttr .true. 
    316320    set_namelist namelist_top nn_rsttr 2 
    317     set_namelist namelist_top cn_trcrst_in \"O2LP_LONG_00000075_restart_trc\" 
    318321    # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
    319322    # if not you need input files, and for tests is not necessary 
     
    323326    set_namelist namelist_pisces ln_dust .false. 
    324327    set_namelist namelist_pisces ln_presatm .false. 
    325     cd ${SETTE_DIR} 
    326     . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} no ${JOB_FILE} 
    327     cd ${SETTE_DIR} 
    328     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} no 
     328    for (( i=1; i<=$NPROC; i++)) ; do 
     329        L_NPROC=$(( $i - 1 )) 
     330        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     331        ln -sf ../LONG/O2LP_LONG_00000075_restart_${L_NPROC}.nc . 
     332        ln -sf ../LONG/O2LP_LONG_00000075_restart_trc_${L_NPROC}.nc . 
     333        ln -sf ../LONG/O2LP_LONG_00000075_restart_ice_${L_NPROC}.nc . 
     334    done 
     335    cd ${SETTE_DIR} 
     336    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     337    cd ${SETTE_DIR} 
     338    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    329339fi 
    330340 
    331341if [ ${config} -eq 4 ] ;  then 
    332     ## Reproducibility tests for ORCA2_LIM_PISCES 
     342    ## Repropducibility tests for ORCA2_LIM_PISCES 
    333343    export TEST_NAME="REPRO_4_4" 
    334344    cd ${SETTE_DIR} 
     
    345355    set_namelist namelist nn_itend 75 
    346356    set_namelist namelist nn_fwb 0 
     357    set_namelist namelist ln_ctl .false. 
    347358    set_namelist namelist ln_clobber .true. 
    348359    set_namelist namelist jpni 4 
     
    362373    . ./prepare_job.sh input_ORCA2_LIM_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    363374    cd ${SETTE_DIR} 
    364     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG}  
     375    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    365376 
    366377    cd ${SETTE_DIR} 
    367378    export TEST_NAME="REPRO_2_8" 
    368379    . prepare_exe_dir.sh 
    369     JOB_FILE=${EXE_DIR}/run_job.sh 
    370     NPROC=16 
    371     \rm $JOB_FILE 
    372380    cd ${EXE_DIR} 
    373381    set_namelist namelist nn_it000 1 
    374382    set_namelist namelist nn_itend 75 
    375383    set_namelist namelist nn_fwb 0 
     384    set_namelist namelist ln_ctl .false. 
    376385    set_namelist namelist ln_clobber .true. 
    377386    set_namelist namelist jpni 2 
     
    399408    export TEST_NAME="LONG" 
    400409    cd ${SETTE_DIR} 
    401     . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8  
    402     cd ${SETTE_DIR} 
    403     . param.cfg 
    404     . all_functions.sh 
    405     . prepare_exe_dir.sh 
    406     JOB_FILE=${EXE_DIR}/run_job.sh 
    407     NPROC=1 
     410    . ../CONFIG/makenemo -m ${CMP_NAM} -n ORCA2OFFPIS_LONG -r ORCA2_OFF_PISCES -j 8 add_key "key_mpp_mpi key_mpp_rep" 
     411    cd ${SETTE_DIR} 
     412    . param.cfg 
     413    . all_functions.sh 
     414    . prepare_exe_dir.sh 
     415    JOB_FILE=${EXE_DIR}/run_job.sh 
     416    NPROC=4 
    408417    \rm $JOB_FILE 
    409418    cd ${EXE_DIR} 
     
    413422    set_namelist namelist nn_stock 20 
    414423    set_namelist namelist ln_clobber .true. 
     424    set_namelist namelist jpni 2 
     425    set_namelist namelist jpnj 2 
     426    set_namelist namelist jpnij 4 
    415427    set_namelist namelist_top ln_trcdta .false. 
    416428    set_namelist namelist_top ln_diatrc .false. 
     
    428440    export TEST_NAME="SHORT" 
    429441    . prepare_exe_dir.sh 
     442    JOB_FILE=${EXE_DIR}/run_job.sh 
     443    NPROC=4 
     444    \rm $JOB_FILE 
    430445    cd ${EXE_DIR} 
    431446    set_namelist namelist cn_exp \"OFFP_SHORT\" 
     
    434449    set_namelist namelist nn_stock 20 
    435450    set_namelist namelist ln_clobber .true. 
    436     ln -s ../LONG/OFFP_LONG_00000020_restart_trc.nc . 
     451    set_namelist namelist jpni 2 
     452    set_namelist namelist jpnj 2 
     453    set_namelist namelist jpnij 4 
     454    cp ../LONG/OFFP_LONG_00000020_restart*nc . 
    437455    set_namelist namelist_top ln_diatrc .false. 
    438456    set_namelist namelist_top ln_rsttr .true. 
    439457    set_namelist namelist_top nn_rsttr 2 
    440458    set_namelist namelist_top cn_trcrst_in \"OFFP_LONG_00000020_restart_trc\" 
     459    for (( i=1; i<=$NPROC; i++)) ; do 
     460        L_NPROC=$(( $i - 1 )) 
     461        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     462        ln -sf ../LONG/OFFP_LONG_00000020_restart_trc_${L_NPROC}.nc . 
     463    done 
    441464    # put ln_ironsed, ln_river, ln_ndepo, ln_dust 
    442465    # if not you need input files, and for tests is not necessary 
     
    453476 
    454477if [ ${config} -eq 6 ] ;  then 
    455     ## Reproducibility tests for ORCA2_OFF_PISCES 
     478    ## Repropducibility tests for ORCA2_OFF_PISCES 
    456479    export TEST_NAME="REPRO_4_4" 
    457480    cd ${SETTE_DIR} 
     
    467490    set_namelist namelist nn_it000 1 
    468491    set_namelist namelist nn_itend 40 
     492    set_namelist namelist ln_ctl .false. 
    469493    set_namelist namelist ln_clobber .true. 
    470494    set_namelist namelist jpni 4 
     
    483507    . ./prepare_job.sh input_ORCA2_OFF_PISCES.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    484508    cd ${SETTE_DIR} 
    485     . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     509    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    486510 
    487511    cd ${SETTE_DIR} 
    488512    export TEST_NAME="REPRO_2_8" 
    489513    . prepare_exe_dir.sh 
    490     JOB_FILE=${EXE_DIR}/run_job.sh 
    491     NPROC=16 
    492     \rm $JOB_FILE 
    493514    cd ${EXE_DIR} 
    494515    set_namelist namelist nn_it000 1 
    495516    set_namelist namelist nn_itend 40 
     517    set_namelist namelist ln_ctl .false. 
    496518    set_namelist namelist ln_clobber .true. 
    497519    set_namelist namelist jpni 2 
     
    513535fi 
    514536 
    515 # TESTS FOR AMM12 CONFIGURATION 
    516537if [ ${config} -eq 7 ] ;  then 
    517     ## Reproducibility tests for AMM12 
    518     export TEST_NAME="REPRO_8_4" 
    519     cd ${SETTE_DIR} 
    520     . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_mpp_rep" 
     538    ## Restartability tests for AMM12 
     539    export TEST_NAME="LONG" 
     540    cd ${SETTE_DIR} 
     541    . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12  
    521542    cd ${SETTE_DIR} 
    522543    . param.cfg 
     
    528549    cd ${EXE_DIR} 
    529550    set_namelist namelist nn_it000 1 
    530     set_namelist namelist nn_itend 576 
     551    set_namelist namelist nn_itend 12 
     552    set_namelist namelist nn_stock 6 
    531553    set_namelist namelist nn_fwb 0 
    532554    set_namelist namelist ln_ctl .false. 
     
    539561    cd ${SETTE_DIR} 
    540562    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    541     cd ${SETTE_DIR} 
    542     . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    543  
    544     cd ${SETTE_DIR} 
    545     export TEST_NAME="REPRO_4_8" 
    546     . prepare_exe_dir.sh 
    547     JOB_FILE=${EXE_DIR}/run_job.sh 
    548     NPROC=32 
    549     \rm $JOB_FILE 
    550     cd ${EXE_DIR} 
    551     set_namelist namelist nn_it000 1 
    552     set_namelist namelist nn_itend 576 
    553     set_namelist namelist nn_fwb 0 
    554     set_namelist namelist ln_ctl .false. 
    555     set_namelist namelist nn_dyn2d 2 
    556     set_namelist namelist nn_tra_dta 0 
    557     set_namelist namelist ln_clobber .true. 
    558     set_namelist namelist jpni 4 
    559     set_namelist namelist jpnj 8 
    560     set_namelist namelist jpnij 32 
    561     cd ${SETTE_DIR} 
    562     . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    563     cd ${SETTE_DIR} 
    564     . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    565 fi 
    566  
    567 if [ ${config} -eq 8 ] ;  then 
    568     ## Restartability tests for AMM12 
    569     export TEST_NAME="LONG" 
    570     cd ${SETTE_DIR} 
    571     . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_LONG -r AMM12 -j 8 add_key "key_mpp_rep" 
    572     cd ${SETTE_DIR} 
    573     . param.cfg 
    574     . all_functions.sh 
    575     . prepare_exe_dir.sh 
    576     JOB_FILE=${EXE_DIR}/run_job.sh 
    577     NPROC=32 
    578     \rm $JOB_FILE 
    579     cd ${EXE_DIR} 
    580     set_namelist namelist nn_it000 1 
    581     set_namelist namelist nn_itend 12 
    582     set_namelist namelist nn_stock 6 
    583     set_namelist namelist nn_fwb 0 
    584     set_namelist namelist ln_ctl .false. 
    585     set_namelist namelist ln_clobber .true. 
    586     set_namelist namelist nn_dyn2d 2 
    587     set_namelist namelist nn_tra_dta 0 
    588     set_namelist namelist jpni 8 
    589     set_namelist namelist jpnj 4 
    590     set_namelist namelist jpnij 32 
    591     cd ${SETTE_DIR} 
    592     . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    593     cd ${SETTE_DIR} 
    594     . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    595563 
    596564    cd ${SETTE_DIR} 
     
    610578    set_namelist namelist ln_rstart .true. 
    611579    set_namelist namelist nn_rstctl 2 
    612     set_namelist namelist cn_ocerst_in \"../LONG/AMM12_00000006_restart\" 
     580    set_namelist namelist cn_ocerst_in \"AMM12_00000006_restart\" 
     581    for (( i=1; i<=$NPROC; i++)) ; do 
     582        L_NPROC=$(( $i - 1 )) 
     583        L_NPROC=`printf "%04d\n" ${L_NPROC}` 
     584        ln -sf ../LONG/AMM12_00000006_restart_${L_NPROC}.nc . 
     585    done 
    613586    cd ${SETTE_DIR} 
    614587    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    615588    cd ${SETTE_DIR} 
    616     . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     589    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     590fi 
     591 
     592if [ ${config} -eq 8 ] ;  then 
     593    ## Reproducibility tests for AMM12 
     594    export TEST_NAME="REPO_8_4" 
     595    cd ${SETTE_DIR} 
     596    . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 add_key "key_mpp_rep" 
     597    cd ${SETTE_DIR} 
     598    . param.cfg 
     599    . all_functions.sh 
     600    . prepare_exe_dir.sh 
     601    JOB_FILE=${EXE_DIR}/run_job.sh 
     602    NPROC=32 
     603    \rm ${JOB_FILE} 
     604    cd ${EXE_DIR} 
     605    set_namelist namelist nn_it000 1 
     606    set_namelist namelist nn_itend 576 
     607    set_namelist namelist nn_fwb 0 
     608    set_namelist namelist ln_ctl .false. 
     609    set_namelist namelist ln_clobber .true. 
     610    set_namelist namelist nn_dyn2d 2 
     611    set_namelist namelist nn_tra_dta 0 
     612    set_namelist namelist jpni 8 
     613    set_namelist namelist jpnj 4 
     614    set_namelist namelist jpnij 32 
     615    cd ${SETTE_DIR} 
     616    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     617    cd ${SETTE_DIR} 
     618    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     619 
     620    cd ${SETTE_DIR} 
     621    export TEST_NAME="REPO_4_8" 
     622    . prepare_exe_dir.sh 
     623    cd ${EXE_DIR} 
     624    set_namelist namelist nn_it000 1 
     625    set_namelist namelist nn_itend 576 
     626    set_namelist namelist nn_fwb 0 
     627    set_namelist namelist ln_ctl .false. 
     628    set_namelist namelist nn_dyn2d 2 
     629    set_namelist namelist nn_tra_dta 0 
     630    set_namelist namelist ln_clobber .true. 
     631    set_namelist namelist jpni 4 
     632    set_namelist namelist jpnj 8 
     633    set_namelist namelist jpnij 32 
     634    cd ${SETTE_DIR} 
     635    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
     636    cd ${SETTE_DIR} 
     637    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    617638fi 
    618639 
     
    629650    JOB_FILE=${EXE_DIR}/run_job.sh 
    630651    NPROC=2 
    631     \rm $JOB_FILE 
     652    \rm ${JOB_FILE} 
    632653    cd ${EXE_DIR} 
    633654    set_namelist namelist nn_it000 1 
     
    645666    . ./prepare_job.sh input_ORCA2_LIM_AGRIF.cfg $NPROC ${TEST_NAME} ${MPIRUN_FLAG} ${JOB_FILE} 
    646667    cd ${SETTE_DIR} 
    647     . ./fcm_job.sh $NPROC  ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
     668    . ./fcm_job.sh $NPROC ${JOB_FILE} ${INTERACT_FLAG} ${MPIRUN_FLAG} 
    648669fi 
    649670 
Note: See TracChangeset for help on using the changeset viewer.