Ignore:
Timestamp:
02/14/17 07:04:10 (7 years ago)
Author:
cetlod
Message:

Update NEMO_v6 configurations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/NEMO_v6/GENERAL/DRIVER/opa9.driver

    r3096 r3124  
    116116        OPA_LRSTAR=.FALSE. 
    117117        OPA_NRSTDT=0 
    118         #Put OPA_NMSH=0 when OPA runnig in parallel mode  
    119         OPA_NMSH=1 
    120         ( [ X${mpiTasks} != X ] && [ "${mpiTasks}" -gt 1 ] ) && OPA_NMSH=0 
    121  
    122118    elif ( [ "${CumulPeriod}" -eq 1 ] && [ "${config_OCE_Restart}" = "y" ] ) ; then 
    123119 
     
    125121        OPA_LRSTAR=.TRUE. 
    126122        OPA_NRSTDT=0 
    127         OPA_NMSH=0 
    128  
    129123    else 
    130124 
     
    132126        OPA_LRSTAR=.TRUE. 
    133127        OPA_NRSTDT=2 
    134         OPA_NMSH=0 
    135  
    136128    fi 
    137129    
    138      ## nleapy configuration 
    139         case ${config_UserChoices_CalendarType} in 
    140                 leap) 
    141                 OPA_NLEAPY=1;; 
    142                 noleap) 
    143                 OPA_NLEAPY=0;; 
    144                 360d) 
    145                 OPA_NLEAPY=30;; 
    146         esac 
     130    OPA_NMSH=0 
     131    if [ "${opa9_UserChoices_mesh_mask}" = "y" ]; then 
     132        OPA_NMSH=1 
     133        IGCM_card_WriteOption ${SUBMIT_DIR}/COMP/opa9.card UserChoices mesh_mask "n" 
     134    fi 
     135    ## nleapy configuration 
     136    case ${config_UserChoices_CalendarType} in 
     137        ( leap|gregorian) OPA_NLEAPY=1  ;; 
     138        ( noleap        ) OPA_NLEAPY=0  ;; 
     139        ( 360d          ) OPA_NLEAPY=30 ;; 
     140        ( *             ) OPA_NLEAPY=30 ;; 
     141    esac 
    147142 
    148  
    149         typeset -r PRECIS=8 
    150         NEMO_END=$( echo $( awk "BEGIN { printf \"%0${PRECIS}d\",${OPA_NITEND} }" ) )  
     143   typeset -r PRECIS=8 
     144   NEMO_END=$( echo $( awk "BEGIN { printf \"%0${PRECIS}d\",${OPA_NITEND} }" ) )  
    151145 
    152146   IGCM_comp_modifyNamelist blocker    namelist_cfg cn_exp    ${config_UserChoices_JobName} 
Note: See TracChangeset for help on using the changeset viewer.