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 3178 – NEMO

Changeset 3178


Ignore:
Timestamp:
2011-11-24T17:27:29+01:00 (12 years ago)
Author:
acc
Message:

Branch dev_NEMO_MERGE_2011. Fixed minor bug in restart checks in zdfgls.F90 and updated SETTE to work correctly for MPP restartability tests when nproc >1

Location:
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/OPA_SRC/ZDF/zdfgls.F90

    r3155 r3178  
    12041204      ! 
    12051205      INTEGER ::   jit, jk   ! dummy loop indices 
    1206       INTEGER ::   id1, id2, id3, id4, id5, id6, id7, id8 
     1206      INTEGER ::   id1, id2, id3, id4, id5, id6 
    12071207      INTEGER ::   ji, jj, ikbu, ikbv 
    12081208      REAL(wp)::   cbx, cby 
     
    12191219            id6 = iom_varid( numror, 'mxln' , ldstop = .FALSE. ) 
    12201220            ! 
    1221             IF( MIN( id1, id2, id3, id4, id5, id6, id7, id8 ) > 0 ) THEN        ! all required arrays exist 
     1221            IF( MIN( id1, id2, id3, id4, id5, id6 ) > 0 ) THEN        ! all required arrays exist 
    12221222               CALL iom_get( numror, jpdom_autoglo, 'en'    , en     ) 
    12231223               CALL iom_get( numror, jpdom_autoglo, 'avt'   , avt    ) 
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/BATCH_TEMPLATE/batch-ALTIX_NAUTILUS_MPT

    r3050 r3178  
    88#PBS -W group_list=nemo 
    99#PBS -j oe 
    10  
     10# 
     11  OCEANCORES=NPROCS 
     12  export SETTE_DIR=DEF_SETTE_DIR 
     13# 
     14# load sette functions (only post_test_tidyup needed) 
     15# 
     16  . ${SETTE_DIR}/all_functions.sh 
    1117############################################################### 
    1218# 
     
    2733  export SVN_HOME=/fibre/acc/UTILS/svn/v1.5/svn 
    2834# 
    29 # 
    30 # Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these 
    31 # (via sed operating on this template job file). Note that the number of compute nodes required 
    32 # (half-populated on the NOCS ALTIX system) is also set by the fcm_job.sh on the PBS select 
    33 # header line above. 
    34 # 
    35   OCEANCORES=NPROCS 
    36   export SETTE_DIR=DEF_SETTE_DIR 
    37 # 
    38 # These variables are needed by post_test_tidyup function in all_functions.sh 
    39 # 
    40   export INPUT_DIR=DEF_INPUT_DIR 
    41   export OUTPUT_DIR=DEF_OUTPUT_DIR 
    42   export CONFIG_DIR=DEF_CONFIG_DIR 
    43   export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION 
    44   export NEW_CONF=DEF_NEW_CONF 
    45   export CMP_NAM=DEF_CMP_NAM 
    46   export TEST_NAME=DEF_TEST_NAME 
    47   export EXE_DIR=DEF_EXE_DIR 
    48 # 
    49 # end of set up 
    50 ############################################################### 
    51 # 
    52 # change to the working directory  
    53 # 
    54   cd $PBS_O_WORKDIR 
    55 # 
    56 # load sette functions (only post_test_tidyup needed) 
    57 # 
    58   . ${SETTE_DIR}/all_functions.sh 
    59 # 
    6035  echo Running on host `hostname` 
    6136  echo Time is `date` 
    62   echo Directory is `pwd` 
    6337  echo PBS job ID is $PBS_JOBID 
    6438  echo This jobs runs on the following machines: 
     
    7953  echo export OMP_NUM_THREADS=1  
    8054# 
     55# Don't remove neither change the following line 
     56# BODY 
     57# 
     58# Test specific settings. Do not hand edit these lines; the fcm_job.sh script will set these 
     59# (via sed operating on this template job file). Note that the number of compute nodes required 
     60# (half-populated on the NOCS ALTIX system) is also set by the fcm_job.sh on the PBS select 
     61# header line above. 
     62# 
     63# These variables are needed by post_test_tidyup function in all_functions.sh 
     64# 
     65  export INPUT_DIR=DEF_INPUT_DIR 
     66  export CONFIG_DIR=DEF_CONFIG_DIR 
     67  export NEMO_VALIDATION_DIR=DEF_NEMO_VALIDATION 
     68  export NEW_CONF=DEF_NEW_CONF 
     69  export CMP_NAM=DEF_CMP_NAM 
     70  export TEST_NAME=DEF_TEST_NAME 
     71  export EXE_DIR=DEF_EXE_DIR 
     72# 
     73# end of set up 
     74############################################################### 
     75# 
     76# change to the working directory  
     77# 
     78# cd $PBS_O_WORKDIR 
     79  cd $EXE_DIR 
     80  echo Directory is `pwd` 
     81# 
     82# 
    8183#  Run the parallel MPI executable  
    8284# 
     
    8688# 
    8789  post_test_tidyup 
     90# END_BODY 
     91# Don't remove neither change the previous line 
    8892  exit 
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/all_functions.sh

    r3021 r3178  
    119119      exit 1 
    120120   fi 
    121         sed -e "s/${VAR_NAME}.*/${VAR_NAME}/" ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 
     121        sed -e "s:${VAR_NAME}.*:${VAR_NAME}:" ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 
    122122        mv ${EXE_DIR}/$1.tmp ${EXE_DIR}/$1 
    123         sed -e "s/${VAR_NAME}/$2=$3/"  ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 
     123        sed -e "s:${VAR_NAME}:$2=$3:"  ${EXE_DIR}/$1 > ${EXE_DIR}/$1.tmp 
    124124        mv ${EXE_DIR}/$1.tmp ${EXE_DIR}/$1 
    125125 
  • branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/SETTE/sette.sh

    r3167 r3178  
    200200 
    201201if [ ${config} -eq 2 ] ;  then 
    202     ## Repropducibility tests for GYRE_LOBSTER 
     202    ## Reproducibility tests for GYRE_LOBSTER 
    203203    export TEST_NAME="REPRO_1_4" 
    204204    cd ${SETTE_DIR} 
     
    325325 
    326326if [ ${config} -eq 4 ] ;  then 
    327     ## Repropducibility tests for ORCA2_LIM_PISCES 
     327    ## Reproducibility tests for ORCA2_LIM_PISCES 
    328328    export TEST_NAME="REPRO_4_4" 
    329329    cd ${SETTE_DIR} 
     
    451451 
    452452if [ ${config} -eq 6 ] ;  then 
    453     ## Repropducibility tests for ORCA2_OFF_PISCES 
     453    ## Reproducibility tests for ORCA2_OFF_PISCES 
    454454    export TEST_NAME="REPRO_4_4" 
    455455    cd ${SETTE_DIR} 
     
    516516if [ ${config} -eq 7 ] ;  then 
    517517    ## Reproducibility tests for AMM12 
    518     export TEST_NAME="REPO_8_4" 
     518    export TEST_NAME="REPRO_8_4" 
    519519    cd ${SETTE_DIR} 
    520520    . ../CONFIG/makenemo -m ${CMP_NAM} -n AMM12_32 -r AMM12 -j 8 add_key "key_mpp_rep" 
     
    544544 
    545545    cd ${SETTE_DIR} 
    546     export TEST_NAME="REPO_4_8" 
     546    export TEST_NAME="REPRO_4_8" 
    547547    . prepare_exe_dir.sh 
    548548    JOB_FILE=${EXE_DIR}/run_job.sh 
     
    611611    set_namelist namelist ln_rstart .true. 
    612612    set_namelist namelist nn_rstctl 2 
    613     cp ../LONG/AMM12_00000006_restart*.nc . 
    614     set_namelist namelist cn_ocerst_in \"AMM12_00000006_restart\" 
     613    set_namelist namelist cn_ocerst_in \"../LONG/AMM12_00000006_restart\" 
    615614    cd ${SETTE_DIR} 
    616615    . ./prepare_job.sh input_AMM12.cfg $NPROC ${TEST_NAME} $MPIRUN_FLAG $JOB_FILE 
Note: See TracChangeset for help on using the changeset viewer.