Changeset 561 for CONFIG


Ignore:
Timestamp:
02/18/09 12:30:42 (16 years ago)
Author:
aclsce
Message:

Modified IPSLCM5_WORK configuration to be coherent with IPSLCM5
configuration

Location:
CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK
Files:
3 added
13 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/AA_make

    r434 r561  
    1515ORCA2xLMD9671 : libioipsl oasis3 liborchidee orca2 lmdz9671 verif        
    1616        echo "ORCA2xLMD9671" >.resol 
     17        echo "$(LIB_MPI)" >.libmpi 
     18 
     19ORCA2xLMD9695 : libioipsl oasis3 liborchidee orca2 lmdz9695 verif 
     20        echo "ORCA2xLMD9695" >.resol 
    1721        echo "$(LIB_MPI)" >.libmpi 
    1822 
     
    3741        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x71x19 -v true -parallel mpi -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_96x71x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; ) 
    3842 
     43lmdz9695: 
     44        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x95x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_96x95x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) 
     45        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 96x95x19 -v true -parallel mpi -c $(LIB_MPI) -m $(FCM_ARCH) gcm ; cp bin/gcm_96x95x19_t4_phylmd_para_orch_couple.e ../../bin/gcm.e ; ) 
     46 
    3947lmdz144142: 
    4048        (cd ../../modeles/LMDZ4; ./makegcm_fcm -d 144x142x19 -m $(FCM_ARCH) create_etat0_limit ; cp bin/create_etat0_limit_144x142x19_t4_phylmd_seq.e ../../bin/create_etat0_limit.e ; ) 
     
    4250 
    4351orca2: 
    44         (cd ../../modeles/NEMO/WORK; $(M_K) USER_INC='-I ../$(PRISM_DIR)/$(PRISM_ARCH)/build/lib/psmile.$(LIB_MPI)' OASIS_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' ; ) 
     52        (cd ../../modeles/NEMO/WORK; $(M_K) USER_INC='-I ../$(PRISM_DIR)/$(PRISM_ARCH)/build/lib/psmile.$(LIB_MPI)' USER_LIB='-L../$(PRISM_DIR)/$(PRISM_ARCH)/lib -lpsmile.$(LIB_MPI) -lmpp_io' P_P='key_trabbl_dif key_vectopt_loop key_vectopt_memory key_orca_r2 key_lim2 key_dynspg_flt key_ldfslp key_traldf_c2d key_traldf_eiv key_dynldf_c3d key_dtatem key_dtasal key_coupled key_trabbc key_zdftke key_zdfddm key_oasis3 key_diahth key_cpl_albedo key_cpl_discharge key_mpp_mpi' ; ) 
    4553 
    4654verif: 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/lmdz.card

    r396 r561  
    1616        (${R_INIT}/ATM/${config_UserChoices_TagName}/Rugos.nc, .), \ 
    1717        (${R_INIT}/ATM/${config_UserChoices_TagName}/landiceref.nc, .), \ 
    18         (${R_INIT}/ATM/${config_UserChoices_TagName}/${RESOL}/o2a.nc, .)  
     18        (${R_INIT}/ATM/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/o2a.nc, .)  
    1919 
    2020[BoundaryFiles] 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/nemo.card

    r396 r561  
    44[UserChoices] 
    55OPA_NPDT_JOURS=15 
     6ORCA_version=ORCA2.1 
    67 
    78[InitialStateFiles] 
     
    1011[BoundaryFiles] 
    1112List=   () 
    12 ListNonDel= (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/ahmcoef, .), \ 
    13             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/bathy_level.nc, .), \ 
    14             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/bathy_meter.nc, .), \ 
    15             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/bathy_updated.nc, .), \ 
    16             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/coordinates.nc, .), \ 
    17             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/data_1m_potential_temperature_nomask.nc, .), \ 
    18             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/data_1m_salinity_nomask.nc, .), \ 
    19             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/geothermal_heating.nc, .),\ 
    20             (${R_BC}/OCE/${config_UserChoices_TagName}/${RESOL_OCE}/runoff_1m_nomask.nc, .),\ 
     13ListNonDel= (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/ahmcoef, .), \ 
     14            (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/bathy_level.nc, .), \ 
     15            (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/bathy_meter.nc, .), \ 
     16            (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/coordinates.nc, .), \ 
     17            (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/data_1m_potential_temperature_nomask.nc, .), \ 
     18            (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/data_1m_salinity_nomask.nc, .), \ 
     19            (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/geothermal_heating.nc, .),\ 
     20            (${R_BC}/OCE/${config_UserChoices_TagName}/\${${compname}_UserChoices_ORCA_version}/runoff_1m_nomask.nc, .),\ 
    2121 
    2222[ParametersFiles] 
     
    2727 
    2828[OutputText] 
    29 List=   (ocean.output, opa.xx.prt, solver.stat) 
     29List=   (ocean.output, oceanx.prt, solver.stat) 
    3030 
    3131[OutputFiles] 
     
    4545Patches = () 
    4646GatherWithInternal = (nav_lon, nav_lat, deptht, time_counter) 
    47 TimeSeriesVars = (iowaflup, sohtc300, sohefldo, soicecov, somxl010, sorunoff, sosaline, sossheig, sosstsst, sowaflep, sowaflcd, sowaflup) 
     47TimeSeriesVars = (sohtc300, sohefldo, soicecov, somxl010, sosaline, sossheig, sosstsst, sowaflcd, sowaflup) 
    4848 
    4949[Post_1M_grid_U] 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/nemo.driver

    r396 r561  
    1414    fi 
    1515 
    16     ##--Transformation namelist fortran 77 --> fortran 90 
    17     #   ?       ? Is it really necessary ?       ? 
    18     #sed -e /:/d -e s/" \&END"/"\/"/ -e s/" \&"/"\&"/ ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} > ${SUBMIT_DIR}/PARAM/namelist 
    19  
     16# Local function to find namelists parameters 
     17        supergrep () { 
     18            grep "^ *$1 *=" $2 | sed -e "s% *\!.*%%" 
     19        } 
     20         
    2021    ##--Variables used by OPA -- 
    2122 
     
    3233    # nmsh  =1 create a mesh file (coordinates, scale factors, masks) 
    3334 
    34     PAT_NO=$(     grep 'no *='     ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v off | grep -v \!) 
    35     PAT_CEXPER=$( grep 'cexper *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    36     PAT_NIT000=$( grep 'nit000 *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    37     PAT_NITEND=$( grep 'nitend *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    38     PAT_NBISEX=$( grep 'nbisex *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE}| sed 's/ nbisex  =//' |sed '/^[ ]$/d'|sed 's/,//' | grep -v \!) 
    39     PAT_NWRITE=$( grep 'nwrite *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    40     PAT_RESTAR=$( grep 'ln_rstart *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    41     PAT_NSTOCK=$( grep 'nstock *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    42     PAT_NRSTAR=$( grep 'nrstdt *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    43     PAT_NPRG=$(   grep 'nprg *='   ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    44     PAT_NDATE0=$( grep 'ndate0 *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!) 
    45     PAT_NMSH=$(   grep 'nmsh *='   ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | grep -v \!)  
    46 #######    PAT_NWRIHF=$( grep 'nwrihf' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
    47  
    48     ORCA_NSTOCK=$( echo $PAT_NSTOCK | sed "s/[a-z,A-Z,=]//g" ) 
    49     ORCA_RDT=$( egrep 'rdt *=' ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | sed 's/ *rdt *=//' | sed 's/\.//' | grep -v \!) 
     35            PAT_CEXPER=$( supergrep cexper    ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     36            PAT_NIT000=$( supergrep nit000    ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     37            PAT_NITEND=$( supergrep nitend    ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     38            PAT_NWRITE=$( supergrep nwrite    ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     39            PAT_RESTAR=$( supergrep ln_rstart ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     40            PAT_NSTOCK=$( supergrep nstock    ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     41            PAT_NRSTAR=$( supergrep nrstdt    ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     42            PAT_NDATE0=$( supergrep ndate0    ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     43            PAT_NMSH=$(   supergrep nmsh      ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} ) 
     44         
     45            ORCA_NSTOCK=$( echo $PAT_NSTOCK | sed "s/[a-z,A-Z,=]//g" ) 
     46            ORCA_RDT=$( supergrep rdt  ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} | sed 's/ *rdt *=//' | sed 's/\. *//' ) 
     47 
     48    ##--Transformation namelist fortran 77 --> fortran 90 
     49    #   ?       ? Is it really necessary ?       ? 
     50    #sed -e /:/d -e s/" \&END"/"\/"/ -e s/" \&"/"\&"/ ${SUBMIT_DIR}/PARAM/namelist_${RESOL_OCE} > ${SUBMIT_DIR}/PARAM/namelist 
    5051 
    5152    # Period Length In Days between DateBegin and first day of calendar 0001 01 01 
     
    8889            (( ORCA_NWRITE = 0 ))                                                            ;; 
    8990    esac 
    90 ###            (( ORCA_NWRITE = 1 ))  ; 
    91 ###            PREFIX_NWRITE=${config_UserChoices_JobName}_${factor}d ; 
    92 ###            R_OUT_OCE_NWRITE=${R_OUT_OCE_O_D} ; 
    93 ###            R_OUT_ICE_NWRITE=${R_OUT_ICE_O_D} ; 
    94 ###            WF1=${factor}D ; 
    95  
    9691 
    9792    ##--Write Frequency Purpose .... concerning the second opa file type. 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/oasis.card

    r396 r561  
    33          
    44[UserChoices] 
     5Output_mode=n 
    56 
    67[InitialStateFiles] 
    7 List=   (${R_INIT}/CPL/${config_UserChoices_TagName}/${RESOL}/flxat.nc, flxat.nc), \ 
    8         (${R_INIT}/CPL/${config_UserChoices_TagName}/${RESOL}/sstoc.nc, sstoc.nc) 
     8List=   (${R_INIT}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/flxat.nc, flxat.nc), \ 
     9        (${R_INIT}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/sstoc.nc, sstoc.nc) 
    910 
    1011[BoundaryFiles] 
    1112List=   () 
    12 ListNonDel= (${R_BC}/CPL/${config_UserChoices_TagName}/${RESOL}/grids.nc,                grids.nc),\ 
    13             (${R_BC}/CPL/${config_UserChoices_TagName}/${RESOL}/masks.nc,                masks.nc),\ 
    14             (${R_BC}/CPL/${config_UserChoices_TagName}/${RESOL}/areas.nc,                areas.nc),\ 
    15             (${R_BC}/CPL/${config_UserChoices_TagName}/${RESOL}/mozaic.wa2o,        wa2o.flx),\ 
    16             (${R_BC}/CPL/${config_UserChoices_TagName}/${RESOL}/mozaic.wo2a,        wo2a.tsg),\ 
    17             (${R_BC}/CPL/${config_UserChoices_TagName}/${RESOL}/mozaic.wa2o.runoff, wa2o.run),\ 
    18             (${R_BC}/CPL/${config_UserChoices_TagName}/${RESOL}/mozaic.wa2o.calvin, wa2o.cal) 
     13ListNonDel= (${R_BC}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/grids.nc, grids.nc),\ 
     14            (${R_BC}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/masks.nc, masks.nc),\ 
     15            (${R_BC}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/areas.nc, areas.nc),\ 
     16            (${R_BC}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/mozaic.wa2o, wa2o.flx),\ 
     17            (${R_BC}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/mozaic.wo2a, wo2a.tsg),\ 
     18            (${R_BC}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/mozaic.wa2o.runoff, wa2o.run),\ 
     19            (${R_BC}/CPL/${config_UserChoices_TagName}/\${nemo_UserChoices_ORCA_version}x${RESOL_ATM}/mozaic.wa2o.calvin, wa2o.cal) 
    1920 
    2021[ParametersFiles] 
     
    3031 
    3132[OutputFiles] 
    32 List=   (cpl_oce_tau.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_cpl_oce_tau.nc,    NONE),\ 
    33         (cpl_oce_flx.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_cpl_oce_flx.nc,    NONE),\ 
    34         (cpl_oce_sst.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_cpl_oce_sst.nc,    NONE) 
     33List=   (SISUTESW_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_SISUTESW.nc,    NONE),\ 
     34        (SIICECOV_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_SIICECOV.nc,    NONE),\ 
     35        (SIICTEMW_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_SIICTEMW.nc,    NONE),\ 
     36        (SIICEALW_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_SIICEALW.nc,    NONE),\ 
     37        (COTAUXXU_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COTAUXXU.nc,    NONE),\ 
     38        (COTAUXXV_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COTAUXXV.nc,    NONE),\ 
     39        (COTAUYYU_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COTAUYYU.nc,    NONE),\ 
     40        (COTAUYYV_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COTAUYYV.nc,    NONE),\ 
     41        (COTAUZZU_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COTAUZZU.nc,    NONE),\ 
     42        (COTAUZZV_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COTAUZZV.nc,    NONE),\ 
     43        (COWINDSP_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COWINDSP.nc,    NONE),\ 
     44        (COEMPSIC_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COEMPSIC.nc,    NONE),\ 
     45        (CONESOPR_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_CONESOPR.nc,    NONE),\ 
     46        (COEMPOCE_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COEMPOCE.nc,    NONE),\ 
     47        (COICEVAP_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COICEVAP.nc,    NONE),\ 
     48        (COSHFOCE_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COSHFOCE.nc,    NONE),\ 
     49        (CONSFOCE_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_CONSFOCE.nc,    NONE),\ 
     50        (COSHFICE_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COSHFICE.nc,    NONE),\ 
     51        (CONSFICE_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_CONSFICE.nc,    NONE),\ 
     52        (CODFLXDT_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_CODFLXDT.nc,    NONE),\ 
     53        (COCALVIN_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COCALVIN.nc,    NONE),\ 
     54        (COLIQRUN_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_COLIQRUN.nc,    NONE),\ 
     55        (O_SSTSST_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_SSTSST.nc,    NONE),\ 
     56        (OIceFrac_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OIceFrac.nc,    NONE),\ 
     57        (O_TepIce_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_TepIce.nc,    NONE),\ 
     58        (O_AlbIce_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_AlbIce.nc,    NONE),\ 
     59        (O_OTaux1_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_OTaux1.nc,    NONE),\ 
     60        (O_OTaux2_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_OTaux2.nc,    NONE),\ 
     61        (O_OTauy1_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_OTauy1.nc,    NONE),\ 
     62        (O_OTauy2_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_OTauy2.nc,    NONE),\ 
     63        (O_OTauz1_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_OTauz1.nc,    NONE),\ 
     64        (O_OTauz2_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_OTauz2.nc,    NONE),\ 
     65        (O_Wind10_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_Wind10.nc,    NONE),\ 
     66        (OSubMPre_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OSubMPre.nc,    NONE),\ 
     67        (OISubMSn_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OISubMSn.nc,    NONE),\ 
     68        (OOEvaMPr_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OOEvaMPr.nc,    NONE),\ 
     69        (OIceEvap_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OIceEvap.nc,    NONE),\ 
     70        (O_QsrOce_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QsrOce.nc,    NONE),\ 
     71        (O_QsrIce_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QsrIce.nc,    NONE),\ 
     72        (O_QnsOce_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QnsOce.nc,    NONE),\ 
     73        (O_QnsIce_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_QnsIce.nc,    NONE),\ 
     74        (O_dQnsdT_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_dQnsdT.nc,    NONE),\ 
     75        (O_Runoff_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_O_Runoff.nc,    NONE),\ 
     76        (OCalving_out.${DATE_OASIS}.nc,    ${R_OUT_CPL_O_M}/${PREFIX}_OCalving.nc,    NONE) 
    3577 
    3678[Post_cpl_oce_tau] 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/COMP/oasis.driver

    r396 r561  
    2121CPL_Update () 
    2222{ 
    23  
    2423    IGCM_debug_PushStack "CPL_Update" 
    2524 
     
    2928 
    3029############ Update Other Parameters  ############## 
     30## Read Output_mode option in ${compname}.card --> Put "y" to have coupling variables in ouptut files 
     31IGCM_card_DefineVariableFromOption ${SUBMIT_DIR}/COMP/${compname}.card UserChoices Output_mode  
     32eval Output_mode=\${${compname}_UserChoices_Output_mode} > /dev/null 2>&1 
     33echo ${Output_mode} 
     34Output_var='EXPORTED' 
     35if [ ${Output_mode} = y ] ; then 
     36    Output_var='EXPOUT' 
     37fi 
    3138 
    3239############ Update Parameter Files   ############## 
     
    3643    -e "s/<nproc_atm>/${NUM_PROC_ATM}/g" \ 
    3744    -e "s/<nproc_oce>/${NUM_PROC_OCE}/g" \ 
     45    -e "s/<output_mode>/${Output_var}/g" \ 
    3846        namcouple > namcouple.tmp 
    3947 
     
    5159CPL_Finalize () 
    5260{ 
     61    IGCM_debug_PushStack "CPL_Finalize" 
    5362 
    54     IGCM_debug_PushStack "CPL_Finalize" 
     63    DATE_OASIS=$(echo ${PeriodDateBegin} | sed -e "{ s/^\(.\{4\}\)/\1-/;s/\(-.\{2\}\)/\1-/; }"); 
     64    DATE_OASIS=${DATE_OASIS}"T00:00:00" 
    5565 
    5666    echo FINALIZE CPL !!! 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/PARAM/namcouple_ORCA2xLMD144142

    r409 r561  
    2929# 
    3030 $CHANNEL 
    31            <lib_mpi> 
     31<lib_mpi> 
    3232<nproc_atm>  <nproc_atm> 
    3333<nproc_oce>  <nproc_oce>         
     
    5959# 
    6060 $RUNTIME 
    61              <total_time> 
     61 <total_time> 
    6262 $END 
    6363############################################################################### 
     
    6767# 
    6868 $INIDATE 
    69              <initial_date> 
     69 <initial_date> 
    7070 $END 
    7171############################################################################### 
     
    108108# Field 1 : Weighted sea surface temperature (o->a 1) 
    109109# 
    110 O_SSTSST SISUTESW 1 86400  5  sstoc.nc  EXPORTED  
     110O_SSTSST SISUTESW 1 86400  5  sstoc.nc  <output_mode>  
    111111torc  tlmd  LAG=5760 
    112112P  2 P  0 
    113113LOCTRANS CHECKIN MOZAIC CHECKOUT REVERSE 
     114# LOCTRANS: AVERAGE to average value over coupling period 
    114115 AVERAGE 
    115116# CHECKIN: indicate computation of global, land and sea field integrals. 
     
    126127# Field 2 : Sea ice extent  (o->a 2) 
    127128# 
    128 OIceFrac SIICECOV 2 86400  5  sstoc.nc EXPORTED 
     129OIceFrac SIICECOV 2 86400  5  sstoc.nc <output_mode> 
    129130torc  tlmd   LAG=5760 
    130131P  2 P  0 
     
    144145# Field 3 : Weighted Sea Ice Temperature (o->a 3) 
    145146# 
    146 O_TepIce SIICTEMW 34 86400  5  sstoc.nc  EXPORTED 
     147O_TepIce SIICTEMW 34 86400  5  sstoc.nc  <output_mode> 
    147148torc  tlmd   LAG=5760 
    148149P  2 P  0 
     
    161162# Field 4 : Weighted Sea ice albedo (o->a 4) 
    162163# 
    163 O_AlbIce  SIICEALW 17 86400  5  sstoc.nc  EXPORTED 
     164O_AlbIce  SIICEALW 17 86400  5  sstoc.nc  <output_mode> 
    164165torc  tlmd  LAG=5760   
    165166P  2 P  0 
     
    182183# Field 5 : wind stress along X axis (a->o tau 1) 
    183184# 
    184 COTAUXXU O_OTaux1 23 86400  6  flxat.nc   EXPORTED 
     185COTAUXXU O_OTaux1 23 86400  6  flxat.nc   <output_mode> 
    185186tlmd    uorc  LAG=1800  
    186187P  0 P  2 
     
    202203# Field 6 : stress along Y axis (a->o tau 1) 
    203204# 
    204 COTAUYYU O_OTauy1 23 86400  6  flxat.nc  EXPORTED 
     205COTAUYYU O_OTauy1 23 86400  6  flxat.nc  <output_mode> 
    205206tlmd    uorc  LAG=1800  
    206207P  0 P  2 
     
    222223# Field 7 :wind stress along Z axis (a->o tau 1) 
    223224# 
    224 COTAUZZU O_OTauz1 23 86400  6  flxat.nc  EXPORTED 
     225COTAUZZU O_OTauz1 23 86400  6  flxat.nc  <output_mode> 
    225226tlmd    uorc  LAG=1800  
    226227P  0 P  2 
     
    242243# Field 8 : wind stress along X axis 2 (a->o tau 2) 
    243244# 
    244 COTAUXXV O_OTaux2 24 86400  6    flxat.nc  EXPORTED 
     245COTAUXXV O_OTaux2 24 86400  6    flxat.nc  <output_mode> 
    245246tlmd    vorc  LAG=1800  
    246247P  0 P  2 
     
    262263# Field 9 : wind stress along Y axis 2 (a->o tau 2)  
    263264# 
    264 COTAUYYV O_OTauy2 24 86400  6    flxat.nc  EXPORTED 
     265COTAUYYV O_OTauy2 24 86400  6    flxat.nc  <output_mode> 
    265266tlmd    vorc  LAG=1800 
    266267P  0 P  2 
     
    282283# Field 10 :  wind stress along Z axis 2 (a->o tau 2)  
    283284# 
    284 COTAUZZV O_OTauz2 24 86400  6    flxat.nc  EXPORTED 
     285COTAUZZV O_OTauz2 24 86400  6    flxat.nc  <output_mode> 
    285286tlmd    vorc  LAG=1800 
    286287P  0 P  2 
     
    299300 INT=1 
    300301## 
    301 ########################################################################## 
    302 # Field 11 : 10-m wind speed (a->o tau 2)  
    303 # 
    304 COWINDSP O_Wind10 36 86400  6    flxat.nc EXPORTED 
    305 tlmd  torc LAG=1800 
    306 P  0 P  2 
    307 INVERT CHECKIN MASK EXTRAP INTERP CHECKOUT 
    308 # Reverse 
    309 NORSUD WSTEST 
    310 # CHECKIN: indicate computation of global, land and sea field integrals. 
    311  INT=1 
    312 # Mask value 
    313 888888. 
    314 # Extrapolation method 
    315 NINENN 2 1 1 
    316 # Interpolation method 
    317 BILINEAR  Z   SCALAR 
    318 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    319  INT=1 
    320 # 
    321302######################################################################### 
    322 # Field 12 : tprecip = ( rain_ice + snow_ice ) - evap_ice (a->o flx 7) 
    323 # 
    324 COPEFWAT OIPr-Sub 25 86400  5   flxat.nc   EXPORTED 
    325 tlmd    torc  LAG=1800  
    326 P  0 P  2 
    327 INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
     303# Field 11 : emp_ice = evap_ice - ( rain_ice + snow_ice ) (a->o flx 7) 
     304# 
     305COEMPSIC OSubMPre 25 86400  4   flxat.nc   <output_mode> 
     306tlmd    torc  LAG=1800  
     307P  0 P  2 
     308INVERT CHECKIN MOZAIC CHECKOUT 
    328309# Reverse 
    329310NORSUD WSTEST 
     
    332313# Interpolation method ou parametres mozaic 
    333314wa2o.flx 92  2   32 
    334 # change of sign 
    335 -1.0 0 
    336 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    337  INT=1 
    338 # 
    339 ########################################################################## 
    340 # Field 13 :  sprecip = snow_ice - evap_ice (o->a flx 6) 
    341 # 
    342 COPEFICE  OISn-Sub 25 86400  5   flxat.nc   EXPORTED 
    343 tlmd    torc  LAG=1800  
    344 P  0 P  2 
    345 INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
     315# CHECKOUT: indicate computation of global, land and sea field integrals. 
     316 INT=1 
     317# 
     318########################################################################## 
     319# Field 12 :  sprecip = evap_ice - snow_ice (o->a flx 6) 
     320# 
     321CONESOPR  OISubMSn 25 86400  4   flxat.nc   <output_mode> 
     322tlmd    torc  LAG=1800  
     323P  0 P  2 
     324INVERT CHECKIN MOZAIC CHECKOUT 
    346325# Reverse 
    347326NORSUD WSTEST 
     
    350329# Interpolation method ou parametres mozaic 
    351330wa2o.flx 92  2    32 
    352 # change of sign 
    353 -1.0 0 
    354 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    355  INT=1 
    356 # 
    357 ########################################################################## 
    358 # Field 14: emp = emp_oce = evap_oce - ( rain_oce + snow_oce ) (a->o flx 9) 
    359 # 
    360 COTOSPSU  OOEv-OPr 28 86400  4   flxat.nc   EXPORTED 
     331# CHECKOUT: indicate computation of global, land and sea field integrals. 
     332 INT=1 
     333# 
     334########################################################################## 
     335# Field 13 : emp = emp_oce = evap_oce - ( rain_oce + snow_oce ) (a->o flx 9) 
     336# 
     337COEMPOCE  OOEvaMPr  28 86400  4   flxat.nc   <output_mode> 
    361338tlmd    torc  LAG=1800  
    362339P  0 P  2 
     
    368345# Interpolation method ou parametres mozaic 
    369346wa2o.flx 92  2    32 
    370 # change of sign 
    371 ###-1.0 0 
    372 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    373  INT=1 
     347# CHECKOUT: indicate computation of global, land and sea field integrals. 
     348 INT=1 
     349# 
     350########################################################################## 
     351# Field 14 : Evaporation Ice  (a->o flx 8) 
     352# 
     353COICEVAP OIceEvap 27 86400  4   flxat.nc   <output_mode> 
     354tlmd    torc  LAG=1800  
     355P  0 P  2 
     356INVERT CHECKIN MOZAIC CHECKOUT 
     357# Reverse 
     358NORSUD WSTEST 
     359# CHECKIN: indicate computation of global, land and sea field integrals. 
     360 INT=1 
     361# Interpolation method ou parametres mozaic 
     362wa2o.flx 92  2    32 
     363# CHECKOUT: indicate computation of global, land and sea field integrals. 
     364 INT=1 
     365# 
    374366########################################################################## 
    375367# Field 15 : solar heat flux on ocean (a->o flx 2) 
    376368# 
    377 COSWFLDO O_QsrOce  7 86400 4   flxat.nc  EXPORTED 
     369COSHFOCE O_QsrOce  7 86400 4   flxat.nc  <output_mode> 
    378370tlmd    torc  LAG=1800 
    379371P  0 P  2 
     
    387379# CHECKOUT: indicate computation of global, land and sea field integrals. 
    388380 INT=1 
     381# 
    389382######################################################################### 
    390383# Field 16 : Non solar heat flux on ocean (a->o flx 4) 
    391384# 
    392 CONSFLDO O_QnsOce 6 86400  4   flxat.nc  EXPORTED 
     385CONSFOCE O_QnsOce 6 86400  4   flxat.nc  <output_mode> 
    393386tlmd    torc   LAG=1800 
    394387P  0 P  2 
     
    402395# CHECKOUT: indicate computation of global, land and sea field integrals. 
    403396 INT=1 
     397# 
    404398########################################################################## 
    405399# Field 17 : solar heat flux on ice (a->o flx 1) 
    406400# 
    407 COSHFLIC O_QsrIce  7 86400 4   flxat.nc  EXPORTED 
     401COSHFICE O_QsrIce  7 86400 4   flxat.nc  <output_mode> 
    408402tlmd    torc  LAG=1800 
    409403P  0 P  2 
     
    421415# Field 18 : Non solar heat flux on ice (a->o flx 3) 
    422416# 
    423 CONSFLIC O_QnsIce 6 86400  4  flxat.nc  EXPORTED 
     417CONSFICE  O_QnsIce 6 86400  4  flxat.nc  <output_mode> 
    424418tlmd    torc  LAG=1800 
    425419P  0 P  2 
     
    437431# Field 19 : Non solar heat flux derivative (o->a flx 5) 
    438432# 
    439 CODFLXDT O_dQnsdT  35 86400  4   flxat.nc  EXPORTED 
     433CODFLXDT O_dQnsdT  35 86400  4   flxat.nc  <output_mode> 
    440434tlmd    torc  LAG=1800 
    441435P  0 P  2 
     
    449443# CHECKOUT: indicate computation of global, land and sea field integrals. 
    450444 INT=1 
     445# 
    451446########################################################################### 
    452447# Field 20 : iceberg calving (a->o flx 12) 
    453448# 
    454 CRWOCEIS OCalving  32 86400  5  flxat.nc  EXPORTED 
    455 tlmd    torc  LAG=1800  
    456 P  0 P  2 
    457 INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
     449COCALVIN OCalving  32 86400  4  flxat.nc  <output_mode> 
     450tlmd    torc  LAG=1800  
     451P  0 P  2 
     452INVERT CHECKIN MOZAIC CHECKOUT 
    458453# Reverse 
    459454NORSUD WSTEST 
     
    462457# Interpolation method ou parametres mozaic 
    463458wa2o.cal  98   5   71 
    464 # change of sign 
    465 -1.0 0 
    466 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    467  INT=1 
     459# CHECKOUT: indicate computation of global, land and sea field integrals. 
     460 INT=1 
     461# 
    468462############################################################################ 
    469463# Field 21 : run-off (a->o flx 11) 
    470464# 
    471 CRWOCERD  O_Runoff 32 86400  5  flxat.nc   EXPORTED 
     465COLIQRUN  O_Runoff 32 86400  5  flxat.nc   <output_mode> 
    472466tlmd    torc  LAG=1800  
    473467P  0 P  2 
     
    481475# change units from m/s to kg/s, change of sign 
    482476# weights convert from kg/s to kg/m^2/s 
    483 -1000.0 0 
    484 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    485  INT=1 
    486 # 
    487 ############################################################################ 
    488 # 
    489  $END 
     4771000.0 0 
     478# CHECKOUT: indicate computation of global, land and sea field integrals. 
     479 INT=1 
     480# 
     481############################################################################ 
     482# 
     483 $END 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/PARAM/namcouple_ORCA2xLMD9671

    r396 r561  
    5555 $END 
    5656############################################################################### 
    57 #  
     57# 
    5858# RUNTIME: total simulated time for the actual run in seconds (<I8) 
    5959# 
     
    6464# 
    6565# INIDATE (I8) 
    66 #         initial date of the run (YYYYMMDD)          
     66#         initial date of the run (YYYYMMDD) 
    6767# 
    6868 $INIDATE 
     
    105105#                      OCEAN  --->>>  ATMOS 
    106106#                      -------------------- 
    107 # Field 1 : Sea surface temperature (o->a 1) 
    108 O_SSTSST SISUTESW 1 86400  5  sstoc.nc  EXPORTED  
     107# Field 1 : Weighted Sea surface temperature (o->a 1) 
     108# 
     109O_SSTSST SISUTESW 1 86400  5  sstoc.nc  <output_mode>  
    109110torc  tlmd  LAG=5760 
    110111P  2 P  0 
    111112LOCTRANS CHECKIN MOZAIC CHECKOUT REVERSE 
     113# LOCTRANS: AVERAGE to average value over coupling period 
    112114 AVERAGE 
    113115# CHECKIN: indicate computation of global, land and sea field integrals. 
     
    121123  NORSUD   WSTEST 
    122124 
    123 # 
    124 ############################################################################ 
    125 # 
    126125############################################################################ 
    127126# Field 2 : Sea ice extent  (o->a 2) 
    128127# 
    129 OIceFrac SIICECOV 2 86400  5  sstoc.nc EXPORTED 
     128OIceFrac SIICECOV 2 86400  5  sstoc.nc <output_mode> 
    130129torc  tlmd   LAG=5760 
    131130P  2 P  0 
     
    143142# 
    144143############################################################################ 
    145 # Field 3 : Sea Ice Temperature (o->a 4) 
    146 # 
    147 O_TepIce SIICTEMW 34 86400  5  sstoc.nc  EXPORTED 
     144# Field 3 : Weighted Sea Ice Temperature (o->a 3) 
     145# 
     146O_TepIce SIICTEMW 34 86400  5  sstoc.nc  <output_mode> 
    148147torc  tlmd   LAG=5760 
    149148P  2 P  0 
     
    160159# 
    161160############################################################################ 
    162 # Field 4 : Sea ice albedo (o->a 3) 
    163 # 
    164 O_AlbIce SIICEALW 17 86400  5  sstoc.nc  EXPORTED 
     161# Field 4 : Weighted Sea ice albedo (o->a 4) 
     162# 
     163O_AlbIce SIICEALW 17 86400  5  sstoc.nc  <output_mode> 
    165164torc  tlmd  LAG=5760   
    166165P  2 P  0 
     
    182181#                      ------------------------- 
    183182############################################################################    
    184 # Field 17 : wind stress along X axis (a->o tau 1) 
    185 # 
    186 COTAUXXU O_OTaux1 23 86400  6  flxat.nc   EXPORTED 
     183# 
     184# Field 5 : wind stress along X axis (a->o tau 1) 
     185# 
     186COTAUXXU O_OTaux1 23 86400  6  flxat.nc   <output_mode> 
    187187tlmd    uorc  LAG=1800  
    188188P  0 P  2 
     
    203203########################################################################### 
    204204# 
    205 # 
    206 # Field 18 : stress along Y axis (a->o tau 1) 
    207 # 
    208 COTAUYYU O_OTauy1 23 86400  6  flxat.nc  EXPORTED 
     205# Field 6 : stress along Y axis (a->o tau 1) 
     206# 
     207COTAUYYU O_OTauy1 23 86400  6  flxat.nc  <output_mode> 
    209208tlmd    uorc  LAG=1800  
    210209P  0 P  2 
     
    225224########################################################################### 
    226225# 
    227 # 
    228 # Field 19 :wind stress along Z axis (a->o tau 1) 
    229 # 
    230 COTAUZZU O_OTauz1 23 86400  6  flxat.nc  EXPORTED 
     226# Field 7 :wind stress along Z axis (a->o tau 1) 
     227# 
     228COTAUZZU O_OTauz1 23 86400  6  flxat.nc  <output_mode> 
    231229tlmd    uorc  LAG=1800  
    232230P  0 P  2 
     
    247245########################################################################## 
    248246# 
    249 # Field 20 : wind stress along X axis 2 (a->o tau 2) 
    250 # 
    251 COTAUXXV O_OTaux2 24 86400  6    flxat.nc  EXPORTED 
     247# Field 8 : wind stress along X axis 2 (a->o tau 2) 
     248# 
     249COTAUXXV O_OTaux2 24 86400  6    flxat.nc  <output_mode> 
    252250tlmd    vorc  LAG=1800  
    253251P  0 P  2 
     
    268266########################################################################## 
    269267# 
    270 # Field 21 : wind stress along Y axis 2 (a->o tau 2)  
    271 # 
    272 COTAUYYV O_OTauy2 24 86400  6    flxat.nc  EXPORTED 
     268# Field 9 : wind stress along Y axis 2 (a->o tau 2)  
     269# 
     270COTAUYYV O_OTauy2 24 86400  6    flxat.nc  <output_mode> 
    273271tlmd    vorc  LAG=1800 
    274272P  0 P  2 
     
    289287########################################################################## 
    290288# 
    291 # Field 22 :  wind stress along Z axis 2 (a->o tau 2)  
    292 # 
    293 COTAUZZV O_OTauz2 24 86400  6    flxat.nc  EXPORTED 
     289# Field 10 :  wind stress along Z axis 2 (a->o tau 2)  
     290# 
     291COTAUZZV O_OTauz2 24 86400  6    flxat.nc  <output_mode> 
    294292tlmd    vorc  LAG=1800 
    295293P  0 P  2 
     
    307305# CHECKOUT: indicate computation of global, land and sea field integrals. 
    308306 INT=1 
    309 ## 
     307# 
     308######################################################################### 
     309# 
     310# Field 11 : emp_ice = evap_ice - ( rain_ice + snow_ice ) (a->o flx 7) 
     311# 
     312COEMPSIC OSubMPre 25 86400  4   flxat.nc   <output_mode> 
     313tlmd    torc  LAG=1800  
     314P  0 P  2 
     315INVERT CHECKIN MOZAIC CHECKOUT 
     316# Reverse 
     317NORSUD WSTEST 
     318# CHECKIN: indicate computation of global, land and sea field integrals. 
     319 INT=1 
     320# Interpolation method ou parametres mozaic 
     321wa2o.flx 92  2    14 
     322# CHECKOUT: indicate computation of global, land and sea field integrals. 
     323 INT=1 
     324# 
    310325########################################################################## 
    311326# 
    312 # Field 11 : 10-m wind speed (a->o tau 2)  
    313 # 
    314 COWINDSP O_Wind10 36 86400  6    flxat.nc EXPORTED 
    315 tlmd  torc LAG=1800 
    316 P  0 P  2 
    317 INVERT CHECKIN MASK EXTRAP INTERP CHECKOUT 
    318 # Reverse 
    319 NORSUD WSTEST 
    320 # CHECKIN: indicate computation of global, land and sea field integrals. 
    321  INT=1 
    322 # Mask value 
    323 888888. 
    324 # Extrapolation method 
    325 NINENN 2 1 1 
    326 # Interpolation method 
    327 BILINEAR  Z   SCALAR 
     327# Field 12 :  sprecip = evap_ice - snow_ice (o->a flx 6) 
     328# 
     329CONESOPR  OISubMSn 25 86400  4   flxat.nc   <output_mode> 
     330tlmd    torc  LAG=1800  
     331P  0 P  2 
     332INVERT CHECKIN MOZAIC CHECKOUT 
     333# Reverse 
     334NORSUD WSTEST 
     335# CHECKIN: indicate computation of global, land and sea field integrals. 
     336 INT=1 
     337# Interpolation method ou parametres mozaic 
     338wa2o.flx 92  2    14 
    328339# CHECKOUT: indicate computation of global, land and sea field integrals. 
    329340 INT=1 
     
    331342######################################################################### 
    332343# 
    333 # Field 10 : tprecip = ( rain_ice + snow_ice ) - evap_ice  
    334 ###  (a->o flx 7) 
    335 # 
    336 COPEFWAT OIPr-Sub 25 86400  5   flxat.nc   EXPORTED 
     344# Field 13 : emp = emp_oce = evap_oce - ( rain_oce + snow_oce ) (a->o flx 9) 
     345# 
     346COEMPOCE  OOEvaMPr 29 86400  4   flxat.nc   <output_mode> 
    337347tlmd    torc  LAG=1800  
    338348P  0 P  2 
    339 INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
    340 # Reverse 
    341 NORSUD WSTEST 
    342 # CHECKIN: indicate computation of global, land and sea field integrals. 
    343  INT=1 
    344 # Interpolation method ou parametres mozaic 
    345 wa2o.flx 92  2    14 
    346 # change of sign 
    347 -1.0 0 
     349INVERT CHECKIN MOZAIC CHECKOUT 
     350# Reverse 
     351NORSUD WSTEST 
     352# CHECKIN: indicate computation of global, land and sea field integrals. 
     353 INT=1 
     354# Interpolation method ou parametres mozaic 
     355wa2o.flx 92  2    14 
    348356# CHECKOUT: indicate computation of global, land and sea field integrals. 
    349357 INT=1 
     
    351359########################################################################## 
    352360# 
    353 # Field 11 :  sprecip = snow_ice - evap_ice (o->a flx 6) 
    354 # 
    355 COPEFICE  OISn-Sub 25 86400  5   flxat.nc   EXPORTED 
     361# Field 14 : Evaporation Ice  (a->o flx 8) 
     362# 
     363COICEVAP OIceEvap 41 86400  4   flxat.nc   <output_mode> 
    356364tlmd    torc  LAG=1800  
    357365P  0 P  2 
    358 INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
    359 # Reverse 
    360 NORSUD WSTEST 
    361 # CHECKIN: indicate computation of global, land and sea field integrals. 
    362  INT=1 
    363 # Interpolation method ou parametres mozaic 
    364 wa2o.flx 92  2    14 
    365 # change of sign 
    366 -1.0 0 
    367 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    368  INT=1 
     366INVERT CHECKIN MOZAIC CHECKOUT 
     367# Reverse 
     368NORSUD WSTEST 
     369# CHECKIN: indicate computation of global, land and sea field integrals. 
     370 INT=1 
     371# Interpolation method ou parametres mozaic 
     372wa2o.flx 92  2    14 
     373# CHECKOUT: indicate computation of global, land and sea field integrals. 
     374 INT=1 
     375# 
     376########################################################################### 
     377# 
     378# Field 15 : solar heat flux on ocean (a->o flx 2) 
     379# 
     380COSHFOCE O_QsrOce  7 86400 4   flxat.nc  <output_mode> 
     381tlmd    torc  LAG=1800 
     382P  0 P  2 
     383INVERT CHECKIN MOZAIC CHECKOUT 
     384# Reverse 
     385NORSUD WSTEST 
     386# CHECKIN: indicate computation of global, land and sea field integrals. 
     387 INT=1 
     388# Interpolation method or mozaic parameters 
     389wa2o.flx 92  2    14 
     390# CHECKOUT: indicate computation of global, land and sea field integrals. 
     391 INT=1 
     392# 
    369393######################################################################### 
    370394# 
    371 # Field 12: emp = emp_oce = evap_oce -  
    372 ### ( rain_oce + snow_oce ) (a->o flx 9) 
    373 # 
    374 COTOSPSU  OOEv-OPr 28 86400  4   flxat.nc   EXPORTED 
    375 tlmd    torc  LAG=1800  
    376 P  0 P  2 
    377 INVERT CHECKIN MOZAIC CHECKOUT 
    378 # Reverse 
    379 NORSUD WSTEST 
    380 # CHECKIN: indicate computation of global, land and sea field integrals. 
    381  INT=1 
    382 # Interpolation method ou parametres mozaic 
    383 wa2o.flx 92  2    14 
    384 # change of sign 
    385 ###-1.0 0 
    386 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    387  INT=1 
    388 ########################################################################## 
    389 # 
    390 # Field 13 : Evaporation Ice  (a->o flx 8) 
    391 # 
    392 #####COICEVAP OIceEvap 27 86400  4   flxat.nc   EXPORTED 
    393 #####tlmd    torc  LAG=1800  
    394 #####P  0 P  2 
    395 ###INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
    396 #####INVERT CHECKIN MOZAIC CHECKOUT 
    397 # Reverse 
    398 #####NORSUD WSTEST 
    399 # CHECKIN: indicate computation of global, land and sea field integrals. 
    400 ##### INT=1 
    401 # Interpolation method ou parametres mozaic 
    402 #####wa2o.flx 92  2    14 
    403 # change of sign 
    404 ###-1.0 0 
    405 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    406 ##### INT=1 
     395# Field 16 : Non solar heat flux on ocean (a->o flx 4) 
     396# 
     397CONSFOCE O_QnsOce 6 86400  4   flxat.nc  <output_mode> 
     398tlmd    torc   LAG=1800 
     399P  0 P  2 
     400INVERT CHECKIN MOZAIC CHECKOUT 
     401# Reverse 
     402NORSUD WSTEST 
     403# CHECKIN: indicate computation of global, land and sea field integrals. 
     404 INT=1 
     405# Interpolation method ou parametres mozaic 
     406wa2o.flx 92  2    14  
     407# CHECKOUT: indicate computation of global, land and sea field integrals. 
     408 INT=1 
    407409# 
    408410########################################################################### 
    409 # Field 6 : solar heat flux on ocean (a->o flx 2) 
    410 # 
    411 COSWFLDO O_QsrOce  7 86400 4   flxat.nc  EXPORTED 
    412 tlmd    torc  LAG=1800 
    413 P  0 P  2 
    414 INVERT CHECKIN MOZAIC CHECKOUT 
    415 # Reverse 
    416 NORSUD WSTEST 
    417 # CHECKIN: indicate computation of global, land and sea field integrals. 
    418  INT=1 
    419 # Interpolation method or mozaic parameters 
    420 wa2o.flx 92  2    14 
    421 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    422  INT=1 
    423 ######################################################################### 
    424 # 
    425 # Field 8 : Non solar heat flux on ocean (a->o flx 4) 
    426 # 
    427 CONSFLDO O_QnsOce 6 86400  4   flxat.nc  EXPORTED 
    428 tlmd    torc   LAG=1800 
    429 P  0 P  2 
    430 INVERT CHECKIN MOZAIC CHECKOUT 
    431 # Reverse 
    432 NORSUD WSTEST 
    433 # CHECKIN: indicate computation of global, land and sea field integrals. 
    434  INT=1 
    435 # Interpolation method ou parametres mozaic 
    436 wa2o.flx 92  2    14  
    437 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    438  INT=1 
    439 # 
    440 ########################################################################### 
    441 # Field 5 : solar heat flux on ice (a->o flx 1) 
    442 # 
    443 COSHFLIC O_QsrIce  7 86400 4   flxat.nc  EXPORTED 
     411# 
     412# Field 17 : solar heat flux on ice (a->o flx 1) 
     413# 
     414COSHFICE O_QsrIce  7 86400 4   flxat.nc  <output_mode> 
    444415tlmd    torc  LAG=1800 
    445416P  0 P  2 
     
    454425 INT=1 
    455426# 
    456 # 
    457427############################################################################ 
    458428# 
    459 # Field 7 : Non solar heat flux on ice (a->o flx 3) 
    460 # 
    461 CONSFLIC O_QnsIce 6 86400  4  flxat.nc  EXPORTED 
     429# Field 18 : Non solar heat flux on ice (a->o flx 3) 
     430# 
     431CONSFICE O_QnsIce 6 86400  4  flxat.nc  <output_mode> 
    462432tlmd    torc  LAG=1800 
    463433P  0 P  2 
     
    474444############################################################################ 
    475445# 
    476 # Field 9 : Non solar heat flux derivative (o->a flx 5) 
    477 # 
    478 CODFLXDT O_dQnsdT  35 86400  4   flxat.nc  EXPORTED 
     446# Field 19 : Non solar heat flux derivative (o->a flx 5) 
     447# 
     448CODFLXDT O_dQnsdT  35 86400  4   flxat.nc  <output_mode> 
    479449tlmd    torc  LAG=1800 
    480450P  0 P  2 
     
    491461######################################################################### 
    492462# 
    493 # Field 16 : iceberg calving (a->o flx 12) 
    494 # 
    495 CRWOCEIS OCalving  32 86400  5  flxat.nc  EXPORTED 
     463# Field 20 : iceberg calving (a->o flx 12) 
     464# 
     465COCALVIN OCalving  36 86400  4  flxat.nc  <output_mode> 
    496466tlmd    torc  LAG=1800  
    497467P  0 P  2 
     468INVERT CHECKIN MOZAIC CHECKOUT 
     469# Reverse 
     470NORSUD WSTEST 
     471# CHECKIN: indicate computation of global, land and sea field integrals. 
     472 INT=1 
     473# Interpolation method ou parametres mozaic 
     474wa2o.cal  98   5   36 
     475# CHECKOUT: indicate computation of global, land and sea field integrals. 
     476 INT=1 
     477# 
     478######################################################################### 
     479# 
     480# Field 21 : liquid run-off (river + direct)  (a->o flx 11) 
     481# 
     482COLIQRUN  O_Runoff 32 86400  5  flxat.nc   <output_mode> 
     483tlmd    torc  LAG=1800  
     484P  0 P  2 
    498485INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
    499486# Reverse 
     
    502489 INT=1 
    503490# Interpolation method ou parametres mozaic 
    504 wa2o.cal  98   5   36 
    505 # change of sign 
    506 -1.0 0 
    507 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    508  INT=1 
    509 ######################################################################### 
    510 # 
    511 # Field 15 : river run-off (a->o flx 11) 
    512 # 
    513 CRWOCERD  O_Runoff 32 86400  5  flxat.nc   EXPORTED 
    514 tlmd    torc  LAG=1800  
    515 P  0 P  2 
    516 INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
    517 # Reverse 
    518 NORSUD WSTEST 
    519 # CHECKIN: indicate computation of global, land and sea field integrals. 
    520  INT=1 
    521 # Interpolation method ou parametres mozaic 
    522491wa2o.run 94    4   158 
    523 # change units from m/s to kg/s, change of sign 
     492# change units from m/s to kg/s 
    524493# weights convert from kg/s to kg/m^2/s 
    525 -1000.0 0 
    526 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    527  INT=1 
    528 # 
    529 ######################################################################### 
    530 # 
    531 # Field 14 : direct run-off (a->o flx 10) 
    532 # 
    533 ##CRWOCECD  FRWOCECD 32 86400  5  flxat.nc   EXPORTED 
    534 ##tlmd    torc  LAG=1800  
    535 ##P  0 P  2 
    536 ##INVERT CHECKIN MOZAIC BLASNEW CHECKOUT 
    537 # Reverse 
    538 ##NORSUD WSTEST 
    539 # CHECKIN: indicate computation of global, land and sea field integrals. 
    540 ## INT=1 
    541 # Interpolation method ou parametres mozaic 
    542 ##wa2o.run 94    4   158 
    543 # change units from m/s to kg/s, change of sign 
    544 # weights convert from kg/s to kg/m^2/s 
    545 ##-1000.0 0 
    546 # CHECKOUT: indicate computation of global, land and sea field integrals. 
    547 ## INT=1 
    548 # 
    549 ########################################################################## 
     4941000.0 0 
     495# CHECKOUT: indicate computation of global, land and sea field integrals. 
     496 INT=1 
     497# 
    550498########################################################################### 
    551499# 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/PARAM/namelist_ORCA2

    r396 r561  
    11!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 !! NEMO/OPA  :  1 - run manager      (namrun, nam_ctl, nam_mpp, nam_mpp_dyndist, nam_ctl) 
     2!! NEMO/OPA  :  1 - run manager      (namrun) 
    33!! namelists    2 - Domain           (nam_zgr, nam_zgr_sco, namdom) 
    44!!              3 - Surface boundary (namsbc, namsbc_ana, namsbc_flx, namsbc_clio, namsbc_core 
    55!!                                    namsbc_cpl, namqsr, namsbc_rnf, namsbc_ssr, namalb) 
    6 !!              4 - lateral boundary (namlbc, namcla, namobc) 
     6!!              4 - lateral boundary (namlbc, namcla, namobc, namagrif, nambdy, namtide) 
    77!!              5 - bottom  boundary (nambfr, nambbc, nambbl) 
    88!!              6 - Tracer           (nameos, nam_traadv, nam_traldf, namtdp) 
     
    1010!!              8 - Verical physics  (namzdf, namnpc, namric, namtke, namkpp, namddm) 
    1111!!              9 - diagnostics      (namtrd, namgap, namspr, namflo, namptr) 
    12 !!              9 - miscellaneous    (namsol) 
     12!!              9 - miscellaneous    (namsol, nam_mpp, nam_mpp_dyndist, namctl) 
    1313!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    14 !  CAUTION: some scripts does not support CAPITALs for logical definition  
    15 !  *******       use .true. or .false. and NOT .TRUE. or .FALSE. 
     14!  CAUTION: some scripts does not support CAPITALs for logical use .true./.false., not .TRUE./.FALSE. 
    1615 
    1716!!====================================================================== 
     
    1918!!====================================================================== 
    2019!!   namrun            parameters of the run 
    21 !!   nam_mpp           Massively Parallel Processing 
    22 !!   nam_mpp_dyndist    
    23 !!   nam_ctl           Control prints & Benchmark 
    24 !!====================================================================== 
    25  
    26 !----------------------------------------------------------------------- 
    27 !       namrun   parameters of the run 
    28 !----------------------------------------------------------------------- 
    29 !  no         job number 
    30 !  cexper     experience name for vairmer format 
    31 !  ln_rstart  boolean term for restart (true or false) 
    32 !  nrstdt     restart control = 0 restart, do not control nit000 in the restart file. 
    33 !             !               = 1 restart, control nit000 in the restart file. Do not 
    34 !             !                   use the date in the restart file (use ndate0 in namelist) 
    35 !             !               = 2 restart, control nit000 in the restart file, use the date 
    36 !             !                   in the restart file. ndate0 in the namelist is ignored. 
    37 !  nit000     number of the first time step 
    38 !  nitend     number of the last time step 
    39 !  ndate0     initial calendar date aammjj 
    40 !  nleapy     Leap year calendar (0/1) 
    41 !  ninist     initial state output flag (0/1) 
    42 !  nstock     frequency of restart file 
    43 !  nwrite     frequency of OUTPUT file 
    44 !  ln_dimgnnn (F/T) 1 DIMG file - (for all proc/per proc) 
    45 &namrun 
    46    no         =       0 
    47    cexper     =  "ORCA2" 
    48    ln_rstart  =  .false. 
    49    nrstdt     =       1 
    50    nit000     =      76 
    51    nitend     =     150 
    52    ndate0     =18600106 
    53    nleapy     =      30 
    54    ninist     =       0 
    55    nstock     =    5400  
    56    nwrite     =       1 
    57    ln_dimgnnn = .false. 
    58 / 
    59 !----------------------------------------------------------------------- 
    60 !       nam_mpp      Massively Parallel Processing 
    61 !----------------------------------------------------------------------- 
    62 !  c_mpi_send         mpi send/recieve type 
    63 !                      = 'S'  : standard blocking send 
    64 !                      = 'B'  : buffer blocking send 
    65 !                      = 'I'  : immediate non-blocking send 
    66 &nam_mpp 
    67    c_mpi_send =  'S' 
    68 / 
    69 !----------------------------------------------------------------------- 
    70 !       nam_mpp_dyndist      Massively Parallel Distribution            ("key_agrif" && "key_mpp_dyndist") 
    71 !----------------------------------------------------------------------- 
    72 !  jpni   number of processors following i 
    73 !  jpnj   number of processors following j 
    74 !  jpnij  number of local domains 
    75 &nam_mpp_dyndist 
    76    jpni  = 1 
    77    jpnj  = 1 
    78    jpnij = 1 
    79 / 
    80 !----------------------------------------------------------------------- 
    81 !       nam_ctl      Control prints & Benchmark 
    82 !----------------------------------------------------------------------- 
    83 !  ln_ctl     trends control print (expensive!) 
    84 !  nprint     level of print (0 no print) 
    85 !  nictls     start i indice to make the control SUM (very usefull to compare mono- 
    86 !  nictle     end   i indice to make the control SUM (-versus multi processor runs) 
    87 !  njctls     start j indice to make the control SUM (very usefull to compare mono- 
    88 !  njctle     end   j indice to make the control SUM (-versus multi processor runs) 
    89 !  nisplt     number of processors following i 
    90 !  njsplt     number of processors following j 
    91 !  nbench     Bench parameter (0/1): CAUTION it must be zero except for bench 
    92 !             for which we don't care about physical meaning of the results 
    93 !  nbit_cmp   bit comparison mode parameter (0/1): enables bit comparison between  
    94 !             single and multiple processor runs. 
    95 &namctl 
    96    ln_ctl = .false. 
    97    nprint =       0 
    98    nictls =       0 
    99    nictle =       0 
    100    njctls =       0 
    101    njctle =       0 
    102    isplt  =       1 
    103    jsplt  =       1 
    104    nbench =       0 
    105    nbit_cmp =     0 
    106 / 
    107  
     20!!====================================================================== 
     21 
     22!----------------------------------------------------------------------- 
     23&namrun        !   parameters of the run 
     24!----------------------------------------------------------------------- 
     25   no          =       0       !  job number 
     26   cexper      =  "ORCA2"      !  experience name  
     27   cn_ocerst_in  = "restartopa"!  suffix of ocean restart name (input) 
     28   cn_ocerst_out = "restart"   !  suffix of ocean restart name (output) 
     29   ln_rstart   = .false.       !  start from rest (F) or from a restart file (T) 
     30   nrstdt      =       1       !  restart control = 0 nit000 is not compared to the restart file value 
     31                               !                  = 1 use ndate0 in namelist (not the value in the restart file) 
     32                               !                  = 2 calendar parameters read in the restart file 
     33   nit000      =      76       !  first time step 
     34   nitend      =     150       !  last  time step 
     35   ndate0      =18600106       !  initial calendar date yymmdd (used if nrstdt=1) 
     36   nleapy      =      30       !  Leap year calendar (1) or not (0) 
     37   ninist      =       0       !  output the initial state (1) or not (0) 
     38   nstock      =    5400       !  frequency of creation of a restart file 
     39   nwrite      =       1       !  frequency of write in the output file  
     40   ln_dimgnnn  = .false.       !  DIMG file format: 1 file for all processors (F) or by processor (T) 
     41/ 
    10842!!====================================================================== 
    10943!!                      ***  Domain namelists  *** 
     
    11549 
    11650!----------------------------------------------------------------------- 
    117 !       nam_zgr       vertical coordinate 
    118 !----------------------------------------------------------------------- 
    119 !  ln_zco     z-coordinate - full steps      (T/F)                      ("key_zco" may also be defined) 
    120 !  ln_zps     z-coordinate - partial steps   (T/F) 
    121 !  ln_sco     s- or hybrid z-s-coordinate    (T/F) 
    122 &nam_zgr 
    123    ln_zco   =  .false. 
    124    ln_zps   =  .true. 
    125    ln_sco   =  .false. 
    126 / 
    127 !----------------------------------------------------------------------- 
    128 !       nam_zgr_sco   s-coordinate or hybrid z-s-coordinate 
    129 !----------------------------------------------------------------------- 
    130 !  sbot_min   minimum depth of s-bottom surface (>0) (m) 
    131 !  sbot_max   maximum depth of s-bottom surface (= ocean depth) (>0) (m) 
    132 !  theta      surface control parameter (0<=theta<=20) 
    133 !  thetb      bottom control parameter  (0<=thetb<= 1) 
    134 !  r_max      maximum cut-off r-value allowed (0<r_max<1) 
    135 &nam_zgr_sco 
    136    sbot_min =  300. 
    137    sbot_max = 5250. 
    138    theta    =    6.0 
    139    thetb    =    0.75 
    140    r_max    =    0.15 
    141 / 
    142 !----------------------------------------------------------------------- 
    143 !       namdom   space and time domain (bathymetry, mesh, timestep) 
    144 !----------------------------------------------------------------------- 
    145 !  ntopo      = 0/1 ,compute/read the bathymetry file (mbathy, nb of T-ocean levels) 
    146 !  e3zps_min  the thickness of the partial step is set larger than the 
    147 !  e3zps_rat     the minimum of e3zps_min and e3zps_rat * e3t (N.B. 0<e3zps_rat<1) 
    148 !  nmsh       =1 create a mesh file (coordinates, scale factors, masks) 
    149 !  nacc       acceleration of convergence method   = 0, not used, rdt = rdttra 
    150 !                                                  = 1,     used, rdt < rdttra(k) 
    151 !  atfp       asselin time filter parameter 
    152 !  rdt        time step for the dynamics (and tracer if nacc=0) 
    153 !  rdtmin     minimum time step on tracers 
    154 !  rdtmax     maximum time step on tracers 
    155 !  rdth       depth variation of tracer time step 
    156 !  rdtbt      barotropic time step (for the time splitting algorithm) 
    157 !  nclosea    =0 remove the closed sea from the global domain (orca configuration) 
    158 !             =1 closed sea (Black Sea, Caspian Sea, Great US Lakes...)  
    159 &namdom 
    160    ntopo     =     1 
    161    e3zps_min =     5. 
    162    e3zps_rat =     0.1 
    163    nmsh      =     0 
    164    nacc      =     0 
    165    atfp      =     0.1 
    166    rdt       =  5760. 
    167    rdtmin    =  5760. 
    168    rdtmax    =  5760. 
    169    rdth      =   800. 
    170    rdtbt     =    90. 
    171    nclosea   =     0 
    172 / 
    173  
     51&nam_zgr       !   vertical coordinate 
     52!----------------------------------------------------------------------- 
     53   ln_zco      = .true.   !  z-coordinate - full    steps   (T/F)      ("key_zco" may also be defined) 
     54   ln_zps      = .false.    !  z-coordinate - partial steps   (T/F) 
     55   ln_sco      = .false.   !  s- or hybrid z-s-coordinate    (T/F) 
     56/ 
     57!----------------------------------------------------------------------- 
     58&nam_zgr_sco   !   s-coordinate or hybrid z-s-coordinate 
     59!----------------------------------------------------------------------- 
     60   sbot_min    =  300.     !  minimum depth of s-bottom surface (>0) (m) 
     61   sbot_max    = 5250.     !  maximum depth of s-bottom surface (= ocean depth) (>0) (m) 
     62   theta       =    6.0    !  surface control parameter (0<=theta<=20) 
     63   thetb       =    0.75   !  bottom control parameter  (0<=thetb<= 1) 
     64   r_max       =    0.15   !  maximum cut-off r-value allowed (0<r_max<1) 
     65/ 
     66!----------------------------------------------------------------------- 
     67&namdom        !   space and time domain (bathymetry, mesh, timestep) 
     68!----------------------------------------------------------------------- 
     69   ntopo       =    1      !  compute (=0) or read(=1) the bathymetry file 
     70   e3zps_min   =    5.     !  the thickness of the partial step is set larger than the minimum 
     71   e3zps_rat   =    0.1    !  of e3zps_min and e3zps_rat * e3t   (N.B. 0<e3zps_rat<1) 
     72   nmsh        =    0      !  create (=1) a mesh file (coordinates, scale factors, masks) or not (=0) 
     73   nacc        =    0      !  =1 acceleration of convergence method used, rdt < rdttra(k) 
     74                           !  =0, no acceleration, rdt = rdttra 
     75   atfp        =    0.1    !  asselin time filter parameter 
     76   rdt         = 5760.     !  time step for the dynamics (and tracer if nacc=0) 
     77   rdtmin      = 5760.     !  minimum time step on tracers (used if nacc=1) 
     78   rdtmax      = 5760.     !  maximum time step on tracers (used if nacc=1) 
     79   rdth        =  800.     !  depth variation of tracer time step  (used if nacc=1) 
     80   nn_baro     =   64      !  number of barotropic time step (for the split explicit algorithm) ("key_dynspg_ts") 
     81   nclosea     =    1      !  = 0 no closed sea in the model domain 
     82                           !  = 1 closed sea (Black Sea, Caspian Sea, Great US Lakes...)  
     83/ 
    17484!!====================================================================== 
    17585!!            ***  Surface Boundary Condition namelists  *** 
     
    18898 
    18999!----------------------------------------------------------------------- 
    190 !       namsbc       Surface Boundary Condition (surface module) 
    191 !----------------------------------------------------------------------- 
    192 !  nn_fsbc       frequency of surface boundary condition computation  
    193 !                (= the frequency of sea-ice model call) 
    194 !  ln_ana        analytical formulation (fill namsbc_ana )  
    195 !  ln_flx        flux formulation       (fill namsbc_flx )  
    196 !  ln_blk_clio   CLIO bulk formulation  (fill namsbc_core)  
    197 !  ln_blk_core   CORE bulk formulation  (fill namsbc_clio)  
    198 !  ln_cpl        Coupled formulation    (fill namsbc_cpl )  
    199 !  nn_ice        =0 no ice boundary condition   , 
    200 !                =1 observed ice-cover          , 
    201 !                =2 ice-model used                                      ("key_lim3" or "key_lim2) 
    202 !  nn_ico_cpl    ice-ocean coupling : =0 LIM-3 old case  
    203 !                                     =1 stresses computed using now ocean velocity 
    204 !                                     =2 combination of 0 and 1 cases 
    205 !  ln_dm2dc     Daily mean to Diurnal Cycle short wave (qsr) 
    206 !  ln_ssr       Sea Surface Restoring on T and/or S (fill namsbc_ssr) 
    207 !  nn_fwb       FreshWater Budget: =0 no control                              ,  
    208 !                                  =1 annual global mean of e-p-r set to zero   , 
    209 !                                  =2 global mean of e-p-r set to zero at each nn_fsbc time step 
    210 &namsbc 
    211    nn_fsbc     = 5 
    212    ln_ana      = .false. 
    213    ln_flx      = .false. 
    214    ln_blk_clio = .false. 
    215    ln_blk_core = .false. 
    216    ln_cpl      = .true. 
    217    nn_ice      = 2 
    218    nn_ico_cpl  = 0 
    219    ln_dm2dc    = .false. 
    220    ln_rnf      = .false. 
    221    ln_ssr      = .false. 
    222    nn_fwb      = 0 
    223 / 
    224 !----------------------------------------------------------------------- 
    225 !       namsbc_ana   analytical surface boundary condition 
    226 !----------------------------------------------------------------------- 
    227 !  nn_tau000   gently increase the stress over the first ntau_rst time-steps 
    228 !  rn_utau0    uniform value for the i-stress 
    229 !  rn_vtau0    uniform value for the j-stress 
    230 !  rn_q0       uniform value for the total heat flux 
    231 !  rn_qsr0     uniform value for the solar radiation 
    232 !  rn_emp0     uniform value for the freswater budget (E-P) 
    233 &namsbc_ana 
    234    nn_tau000  =   0 
    235    rn_utau0   =   0.5 
    236    rn_vtau0   =   0.e0 
    237    rn_q0      =   0.e0 
    238    rn_qsr0    =   0.e0 
    239    rn_emp0    =   0.e0 
    240 / 
    241 !----------------------------------------------------------------------- 
    242 !       namsbc_flx   surface boundary condition : flux formulation (#ifdef "key_sbc_flux") 
    243 !----------------------------------------------------------------------- 
    244 !  cn_dir   directory in which the model is executed 
     100&namsbc        !   Surface Boundary Condition (surface module) 
     101!----------------------------------------------------------------------- 
     102   nn_fsbc     = 5         !  frequency of surface boundary condition computation  
     103                           !               (= the frequency of sea-ice model call) 
     104   ln_ana      = .false.   !  analytical formulation (T => fill namsbc_ana )  
     105   ln_flx      = .false.   !  flux formulation       (T => fill namsbc_flx ) 
     106   ln_blk_clio = .false.    !  CLIO bulk formulation  (T => fill namsbc_clio)  
     107   ln_blk_core = .false.   !  CORE bulk formulation  (T => fill namsbc_core)  
     108   ln_cpl      = .true.   !  Coupled formulation    (T => fill namsbc_cpl ) 
     109   nn_ice      = 2         !  =0 no ice boundary condition   , 
     110                           !  =1 use observed ice-cover      , 
     111                           !  =2 ice-model used                             ("key_lim3" or "key_lim2) 
     112   nn_ico_cpl  = 0         !  ice-ocean coupling : =0 each nn_fsbc  
     113                           !                       =1 stresses recomputed each ocean time step ("key_lim3" only) 
     114                           !                       =2 combination of 0 and 1 cases             ("key_lim3" only) 
     115   ln_dm2dc    = .false.   !  daily mean to diurnal cycle short wave (qsr) 
     116   ln_rnf      = .true.    !  runoffs (T => fill namsbc_rnf) 
     117   ln_ssr      = .false.    !  Sea Surface Restoring on T and/or S (T => fill namsbc_ssr) 
     118   nn_fwb      = 0         !  FreshWater Budget: =0 unchecked                              ,  
     119                           !                     =1 global mean of e-p-r set to zero at each nn_fsbc time step   , 
     120                           !                     =2 annual global mean of e-p-r set to zero 
     121/ 
     122!----------------------------------------------------------------------- 
     123&namsbc_ana    !   analytical surface boundary condition 
     124!----------------------------------------------------------------------- 
     125   nn_tau000   =   0       !  gently increase the stress over the first ntau_rst time-steps 
     126   rn_utau0    =   0.5     !  uniform value for the i-stress 
     127   rn_vtau0    =   0.e0    !  uniform value for the j-stress 
     128   rn_q0       =   0.e0    !  uniform value for the total heat flux 
     129   rn_qsr0     =   0.e0    !  uniform value for the solar radiation 
     130   rn_emp0     =   0.e0    !  uniform value for the freswater budget (E-P) 
     131/ 
     132!----------------------------------------------------------------------- 
     133&namsbc_flx    !   surface boundary condition : flux formulation 
     134!----------------------------------------------------------------------- 
     135!              !      file name     ! frequency (hours) !  variable  ! time interpol. !  clim   ! 'yearly' or ! 
     136!              !                    !  (if <0  months)  !    name    !    (logical)   !  (T/F)  !  'monthly'  ! 
     137   sn_utau     =      'utau'        ,        24.        ,    'utau'  ,     .false.    , .false. ,   'yearly' 
     138   sn_vtau     =      'vtau'        ,        24.        ,    'vtau'  ,     .false.    , .false. ,   'yearly' 
     139   sn_qtot     =      'qtot'        ,        24.        ,    'qtot'  ,     .false.    , .false. ,   'yearly' 
     140   sn_qsr      =      'qsr'         ,        24.        ,    'qsr'   ,     .false.    , .false. ,   'yearly' 
     141   sn_emp      =      'emp'         ,        24.        ,    'emp'   ,     .false.    , .false. ,   'yearly' 
    245142! 
    246 !  THE ORDER OF THE FILES MATTER: 
    247 !               !      file name     ! frequency (hours) ! variable ! time intepolation !  clim  ! starting ! 
    248 !               !                    !   (if <0  months) !   name   !    (logical)      !  (0/1) !  record  ! 
    249 &namsbc_flx 
    250    cn_dir       = './' 
    251    sn_utau      =      'utau.nc'     ,        24.        ,  'utau'  ,     .false.       ,    0   ,     0 
    252    sn_vtau      =      'vtau.nc'     ,        24.        ,  'vtau'  ,     .false.       ,    0   ,     0 
    253    sn_qtot      =      'qtot.nc'     ,        24.        ,  'qtot'  ,     .false.       ,    0   ,     0 
    254    sn_qsr       =      'qsr.nc'      ,        24.        ,  'qsr'   ,     .false.       ,    0   ,     0 
    255    sn_emp       =      'emp.nc'      ,        24.        ,  'emp'   ,     .false.       ,    0   ,     0 
     143   cn_dir      = './'      !  root directory for the location of the flux files 
    256144/       
    257145!----------------------------------------------------------------------- 
    258 !       namsbc_clio  CLIO bulk formulea 
    259 !----------------------------------------------------------------------- 
    260 !  cn_dir   directory in which the model is executed 
     146&namsbc_clio   !   namsbc_clio  CLIO bulk formulea 
     147!----------------------------------------------------------------------- 
     148!              !      file name     ! frequency (hours) !  variable  ! time interpol. !  clim   ! 'yearly' or ! 
     149!              !                    !  (if <0  months)  !    name    !    (logical)   !  (T/F)  !  'monthly'  ! 
     150   sn_utau     =    'taux_1m'       ,       -1.         , 'sozotaux' ,    .true.      , .true.  ,   'yearly'     
     151   sn_vtau     =    'tauy_1m'       ,       -1.         , 'sometauy' ,    .true.      , .true.  ,   'yearly'     
     152   sn_wndm     =    'flx'           ,       -1.         , 'socliowi' ,    .true.      , .true.  ,   'yearly'       
     153   sn_tair     =    'flx'           ,       -1.         , 'socliot2' ,    .true.      , .true.  ,   'yearly'      
     154   sn_humi     =    'flx'           ,       -1.         , 'socliohu' ,    .true.      , .true.  ,   'yearly'     
     155   sn_ccov     =    'flx'           ,       -1.         , 'socliocl' ,    .false.     , .true.  ,   'yearly'       
     156   sn_prec     =    'flx'           ,       -1.         , 'socliopl' ,    .false.     , .true.  ,   'yearly'        
    261157! 
    262 !  THE ORDER OF THE FILES MATTER: 
    263 !               !   file name        ! frequency (hours) ! variable   ! time intepolation !  clim  ! starting ! 
    264 !               !                    !   (if <0  months) !   name     !    (logical)      !  (0/1) !  record  ! 
    265 &namsbc_clio 
    266    cn_dir       = './' 
    267    sn_utau      =    'taux_1m'    ,      -12.         ,  'sozotaux',    .false.        ,    1   ,    0     
    268    sn_vtau      =    'tauy_1m'    ,      -12.         ,  'sometauy',    .false.        ,    1   ,    0     
    269    sn_wndm      =    'flx'        ,      -12.         ,  'socliowi',    .false.        ,    1   ,    0       
    270    sn_tair      =    'flx'        ,      -12.         ,  'socliot1',    .false.        ,    1   ,    0      
    271    sn_humi      =    'flx'        ,      -12.         ,  'socliohu',    .false.        ,    1   ,    0     
    272    sn_ccov      =    'flx'        ,      -12.         ,  'socliocl',    .false.        ,    1   ,    0       
    273    sn_prec      =    'flx'        ,      -12.         ,  'socliopl',    .false.        ,    1   ,    0        
    274 / 
    275 !----------------------------------------------------------------------- 
    276 !       namsbc_core  CORE bulk formulea 
    277 !----------------------------------------------------------------------- 
    278 !  cn_dir         directory in which the model is executed 
    279 !  ln_2m          logical flag to use air temp. and hum referenced at 2m instead 10m 
    280 !  alpha_precip   multiplication factor for precipitation (total & snow) 
     158   cn_dir      = './'      !  root directory for the location of the bulk files are 
     159/ 
     160!----------------------------------------------------------------------- 
     161&namsbc_core   !   namsbc_core  CORE bulk formulea 
     162!----------------------------------------------------------------------- 
     163!              !   file name        ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly' or ! 
     164!              !                    !  (if <0  months)  !   name     !    (logical)   !  (T/F)  !  'monthly'  ! 
     165   sn_wndi     =    'u10'           ,       24.         , 'U_10_MOD' ,    .false.     , .true.  ,   'yearly'     
     166   sn_wndj     =    'v10'           ,       24.         , 'V_10_MOD' ,    .false.     , .true.  ,   'yearly'     
     167   sn_qsr      =    'rad'           ,       24.         , 'SWDN_MOD' ,    .false.     , .true.  ,   'yearly'       
     168   sn_qlw      =    'rad'           ,       24.         , 'LWDN_MOD' ,    .false.     , .true.  ,   'yearly'       
     169   sn_tair     =    't10'           ,       24.         , 'T_10_MOD' ,    .false.     , .true.  ,   'yearly'      
     170   sn_humi     =    'q10'           ,       24.         , 'Q_10_MOD' ,    .false.     , .true.  ,   'yearly'     
     171   sn_prec     =    'precip'        ,       -1.         , 'RAIN'     ,    .false.     , .true.  ,   'yearly'       
     172   sn_snow     =    'precip'        ,       -1.         , 'SNOW'     ,    .false.     , .true.  ,   'yearly'        
    281173! 
    282 !  THE ORDER OF THE FILES MATTER: 
    283 !               !   file name        ! frequency (hours) ! variable   ! time intepolation !  clim  ! starting ! 
    284 !               !                    !   (if <0  months) !   name     !    (logical)      !  (0/1) !  record  ! 
    285 &namsbc_core 
    286    cn_dir       = './' 
    287    ln_2m        = .false. 
    288    alpha_precip = 1. 
    289    sn_wndi      =    'u10'        ,       24.         ,  'U_10_MOD',    .false.        ,    1   ,    0     
    290    sn_wndj      =    'v10'        ,       24.         ,  'V_10_MOD',    .false.        ,    1   ,    0     
    291    sn_qsr       =    'rad'        ,       24.         ,  'SWDN_MOD',    .false.        ,    1   ,    0       
    292    sn_qlw       =    'rad'        ,       24.         ,  'LWDN_MOD',    .false.        ,    1   ,    0       
    293    sn_tair      =    't10'        ,       24.         ,  'T_10_MOD',    .false.        ,    1   ,    0      
    294    sn_humi      =    'q10'        ,       24.         ,  'Q_10_MOD',    .false.        ,    1   ,    0     
    295    sn_prec      =    'precip'     ,      -12.         ,  'RAIN'    ,    .false.        ,    1   ,    0       
    296    sn_snow      =    'precip'     ,      -12.         ,  'SNOW'    ,    .false.        ,    1   ,    0        
    297 / 
    298 !----------------------------------------------------------------------- 
    299 !       namsbc_cpl    coupled ocean/atmosphere model                    ("key_coupled") 
    300 !----------------------------------------------------------------------- 
    301 &namsbc_cpl 
     174   cn_dir      = './'      !  root directory for the location of the bulk files 
     175   ln_2m       = .false.   !  air temperature and humidity referenced at 2m (T) instead 10m (F) 
     176   alpha_precip= 1.        !  multiplicative factor for precipitation (total & snow) 
     177/ 
     178!----------------------------------------------------------------------- 
     179&namsbc_cpl    !   coupled ocean/atmosphere model                        ("key_coupled") 
     180!----------------------------------------------------------------------- 
    302181! SEND 
    303182cn_snd_temperature= 'weighted oce and ice'  ! 'oce only' 'weighted oce and ice' 'mixed oce-ice' 
    304183cn_snd_albedo     = 'weighted ice'          ! 'none' 'weighted ice' 'mixed oce-ice' 
    305184cn_snd_thickness  = 'none'                  ! 'none' 'weighted ice and snow' 
    306 cn_snd_current_1 = 'none'                  ! 'none' 'oce only' 'weighted oce and ice' 'mixed oce-ice' 
    307 cn_snd_current_2 = 'spherical'             ! 'spherical' 'cartesian' 
    308 cn_snd_current_3 = 'eastward-northward'    ! 'eastward-northward' or 'local grid' 
    309 cn_snd_current_4  = 'T'                     ! 'T''U,V' 
     185cn_snd_crt_nature = 'none'                  ! 'none' 'oce only' 'weighted oce and ice' 'mixed oce-ice' 
     186cn_snd_crt_refere = 'spherical'             ! 'spherical' 'cartesian' 
     187cn_snd_crt_orient = 'eastward-northward'    ! 'eastward-northward' or 'local grid' 
     188cn_snd_crt_grid   = 'T'                     ! 'T' 
    310189! RECEIVE 
    311 cn_rcv_w10m       = 'coupled'               ! 'none' 'coupled' 
    312 cn_rcv_stress_1   = 'oce only'              ! 'oce only' 'oce and ice' 'mixed oce-ice' 
    313 cn_rcv_stress_2  = 'cartesian'             ! 'spherical' 'cartesian' 
    314 cn_rcv_stress_3  = 'eastward-northward'    ! 'eastward-northward' or 'local grid' 
    315 cn_rcv_stress_4   = 'U,V'                   ! 'T' 'U,V' 'U,V,F' 'U,V,I' 'T,F' 'T,I' 'T,U,V' 
     190cn_rcv_w10m       = 'none'                  ! 'none' 'coupled' 
     191cn_rcv_tau_nature = 'mixed oce-ice'         ! 'oce only' 'oce and ice' 'mixed oce-ice' 
     192cn_rcv_tau_refere = 'cartesian'             ! 'spherical' 'cartesian' 
     193cn_rcv_tau_orient = 'eastward-northward'    ! 'eastward-northward' or 'local grid' 
     194cn_rcv_tau_grid   = 'U,V'                   ! 'T' 'U,V' 'U,V,F' 'U,V,I' 'T,F' 'T,I' 'T,U,V' 
    316195cn_rcv_dqnsdt     = 'coupled'               ! 'none' 'coupled' 
    317196cn_rcv_qsr        = 'oce and ice'           ! 'conservative' 'oce and ice' 'mixed oce-ice' 
    318197cn_rcv_qns        = 'oce and ice'           ! 'conservative' 'oce and ice' 'mixed oce-ice' 
    319 cn_rcv_emp        = 'oce and ice'          ! 'conservative' 'oce and ice' 'mixed oce-ice' 
     198cn_rcv_emp        = 'oce and ice'           ! 'conservative' 'oce and ice' 'mixed oce-ice' 
    320199cn_rcv_rnf        = 'coupled'               ! 'coupled' 'climato' 'mixed' 
    321200cn_rcv_cal        = 'coupled'               ! 'none' 'coupled' 
    322201/ 
    323202!----------------------------------------------------------------------- 
    324 !       namqsr   penetrative solar radiation 
    325 !----------------------------------------------------------------------- 
    326 !  ln_traqsr : penetrative solar radiation (T) or not (F)     (Default=T) 
    327 !  rabs       fraction of qsr associated with xsi1 
    328 !  xsi1       first depth of extinction 
    329 !  xsi2       second depth of extinction 
    330 &namqsr 
    331    ln_traqsr = .true. 
    332    rabs     =   0.58 
    333    xsi1     =   0.35 
    334    xsi2     =   23.0 
    335 / 
    336 !----------------------------------------------------------------------- 
    337 !       namsbc_rnf   runoffs namelist surface boundary condition 
    338 !----------------------------------------------------------------------- 
    339 !cn_dir      Root directory for location of ssr files 
    340 !nn_runoff   =0 no, 1 runoff, 2 runoff+river mouth ups adv 
    341 !rn_hrnf     runoffs, depth over which enhanced vertical mixing is used 
    342 !rn_avt_rnf  runoffs, value of the additional vertical mixing coef. [m2/s] 
    343 !sn_rnf      informations about the runoff file to be read 
    344 !sn_cnf      informations about the runoff mouth file to be read 
    345 !  THE ORDER OF THE FILES MATTER: 
    346 !               !   file name        ! frequency (hours) ! variable   ! time interpolation ! 
    347 !               !                    !   (if <0  months) !   name     !     (logical)      ! 
    348 &namsbc_rnf 
    349    cn_dir     = './' 
    350    nn_runoff  = 2 
    351    rn_hrnf    = 0.e0 
    352    rn_avt_rnf = 1.e-3 
    353    sn_rnf     = 'runoff_1m_nomask.nc' ,      -12.        ,  'sorunoff',    .true.   ,  1  ,  0      
    354    sn_cnf     = 'runoff_1m_nomask.nc' ,        0.        ,  'socoefr' ,    .false.  ,  1  ,  0               
    355 / 
    356 !----------------------------------------------------------------------- 
    357 !       namsbc_ssr   surface boundary condition : sea surface restoring 
    358 !----------------------------------------------------------------------- 
    359 !  cn_dir    directory in which the model is executed 
    360 !  nn_sstr   =0/1   add a retroaction term in the surface heat flux 
    361 !  nn_sssr   =O/1/2 add a damping term in the surface freshwater flux 
    362 !             (=1, salt flux, concentration/dillution emps only) 
    363 !             (=2, volume flux, both emp and emps are updated)  
    364 !  dqdt       magnitude of the retroaction on temperature [W/m2/K] 
    365 !  deds       magnitude of the damping on salinity [mm/day] 
    366 !  THE ORDER OF THE FILES MATTER: 
    367 !               !   file name     ! frequency (hours) ! variable ! time intepolation !  clim  ! starting ! 
    368 !               !                 !   (if <0  months) !   name   !    (logical)      !  (0/1) !  record  ! 
    369 &namsbc_ssr 
    370    cn_dir       = './' 
    371    nn_sstr      = 0 
    372    nn_sssr      = 0 
    373    dqdt         = -40. 
    374    deds         =  27.7 
    375    sn_sst       =  'sst_data.nc'  ,         24.       ,  'sst'   ,     .false.       ,    0   ,     0 
    376    sn_sss       =  'sss_data.nc'  ,        -12.       ,  'sss'   ,     .true.        ,    0   ,     0 
     203&namqsr        !   penetrative solar radiation 
     204!----------------------------------------------------------------------- 
     205   ln_traqsr   = .true.    !  penetrative solar radiation (T) or not (F) 
     206   rabs        =   0.58    !  fraction of qsr associated with xsi1 
     207   xsi1        =   0.35    !  first depth of extinction 
     208   xsi2        =   23.0    !  second depth of extinction 
     209/ 
     210!----------------------------------------------------------------------- 
     211&namsbc_rnf    !   runoffs namelist surface boundary condition 
     212!----------------------------------------------------------------------- 
     213!              !     file name      ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly' or ! 
     214!              !                    !  (if <0  months)  !   name     !    (logical)   !  (T/F)  !  'monthly'  ! 
     215   sn_rnf    =   'runoff_1m_nomask' ,        -1.        , 'sorunoff' ,    .true.      , .true.  ,   'yearly'      
     216   sn_cnf    =   'runoff_1m_nomask' ,         0.        , 'socoefr'  ,    .false.     , .true.  ,   'yearly'               
     217! 
     218   cn_dir       = './'      !  root directory for the location of the runoff files 
     219   ln_rnf_emp   =   .true. !  runoffs included into precipitation field (T) or into a file (F) 
     220   ln_rnf_mouth =   .true. !  specific treatment at rivers mouths 
     221   rn_hrnf      =   0.e0    !  depth over which enhanced vertical mixing is used 
     222   rn_avt_rnf   =   1.e-3   !  value of the additional vertical mixing coef. [m2/s] 
     223/ 
     224!----------------------------------------------------------------------- 
     225&namsbc_ssr    !   surface boundary condition : sea surface restoring 
     226!----------------------------------------------------------------------- 
     227!              !     file name      ! frequency (hours) ! variable   ! time interpol. !  clim   ! 'yearly' or ! 
     228!              !                    !  (if <0  months)  !   name     !    (logical)   !  (T/F)  !  'monthly'  ! 
     229   sn_sst      =    'sst_data'     ,        24.        ,  'sst'     ,     .false.    , .false. ,   'yearly' 
     230   sn_sss      =    'sss_data'     ,        -1.        ,  'sss'     ,     .true.     , .true.  ,   'yearly' 
     231!    
     232   cn_dir      = './'      !  root directory for the location of the runoff files 
     233   nn_sstr     =     0     !  add a retroaction term in the surface heat       flux (=1) or not (=0) 
     234   nn_sssr     =     1     !  add a damping     term in the surface freshwater flux (=1) or not (=0) 
     235   dqdt        =   -40.    !  magnitude of the retroaction on temperature   [W/m2/K] 
     236   deds        =   -27.7   !  magnitude of the damping on salinity   [mm/day/psu] 
    377237/       
    378238!----------------------------------------------------------------------- 
    379 !       namalb   albedo parameters 
    380 !----------------------------------------------------------------------- 
    381 !  cgren    correction of the snow or ice albedo to take into account 
    382 !  albice   albedo of melting ice in the arctic and antarctic 
    383 !  alphd    coefficients for linear interpolation used to compute albedo 
    384 !           between two extremes values (Pyane, 1972) 
    385 !  alphc     "                                         " 
    386 !  alphdi    "                                         " 
    387 &namalb 
    388    cgren    =      0.06 
    389    albice   =      0.5 
    390    alphd    =      0.80 
    391    alphc    =      0.65 
    392    alphdi   =      0.72 
    393 / 
    394  
     239&namalb        !   albedo parameters 
     240!----------------------------------------------------------------------- 
     241   cgren       =    0.0    !  correction of the snow or ice albedo to take into account the 
     242   albice      =    0.5    !  albedo of melting ice in the arctic and antarctic 
     243   alphd       =    0.80   !  coefficients for linear interpolation used to 
     244   alphc       =    0.65   !  compute albedo between two extremes values  
     245   alphdi      =    0.72   !  (Pyane, 1972) 
     246/ 
    395247!!====================================================================== 
    396248!!               ***  Lateral boundary condition  *** 
     
    399251!!   namcla        cross land advection 
    400252!!   namobc        open boundaries parameters                           ("key_obc") 
    401 !!====================================================================== 
    402  
    403 !----------------------------------------------------------------------- 
    404 !       namlbc   lateral momentum boundary condition 
    405 !----------------------------------------------------------------------- 
    406 !  shlat            shlat = 0 , free slip   ;   0 < shlat < 2 , partial slip 
    407 !                   shlat = 2 , no slip     ;   2 < shlat     , strong slip 
    408 &namlbc 
    409    shlat  =      2. 
    410 / 
    411 !----------------------------------------------------------------------- 
    412 !       namcla   cross land advection 
    413 !----------------------------------------------------------------------- 
    414 !  n_cla   advection between 2 ocean pts separates by land  
    415 &namcla 
    416    n_cla   = 1 
    417 / 
    418 !----------------------------------------------------------------------- 
    419 !       namobc    open boundaries parameters (#ifdef key_obc) 
    420 !----------------------------------------------------------------------- 
    421 !  nobc_dta   = 0 the obc data are equal to the initial state 
    422 !             = 1 the obc data are read in 'obc   .dta' files 
    423 !  rdpeob  time relaxation (days) for the east open boundary 
    424 !  rdpwob  time relaxation (days) for the west open boundary 
    425 !  rdpnob  time relaxation (days) for the north open boundary 
    426 !  rdpsob  time relaxation (days) for the south open boundary 
    427 !  zbsic1  barotropic stream function on isolated coastline 1 
    428 !  zbsic2  barotropic stream function on isolated coastline 2 
    429 !  zbsic3  barotropic stream function on isolated coastline 3 
    430 !  ln_obc_clim  climatological obc data files (default T) 
    431 !  ln_vol_cst   total volume conserved 
    432 &namobc 
    433     nobc_dta =    0 
    434     rdpein   =    1. 
    435     rdpwin   =    1. 
    436     rdpnin   =   30. 
    437     rdpsin   =    1. 
    438     rdpeob   = 1500. 
    439     rdpwob   =   15. 
    440     rdpnob   =  150. 
    441     rdpsob   =   15. 
    442     zbsic1   =  140.e+6 
    443     zbsic2   =    1.e+6 
    444     zbsic3   =    0. 
    445     ln_obc_clim = .true. 
    446     ln_vol_cst  = .false. 
    447 / 
    448  
     253!!   namagrif      agrif nested grid ( read by child model only )       ("key_agrif")  
     254!!   nambdy        Unstructured open boundaries                         ("key_bdy") 
     255!!   namtide       Tidal forcing at open boundaries                     ("key_bdy_tides") 
     256!!====================================================================== 
     257 
     258!----------------------------------------------------------------------- 
     259&namlbc        !   lateral momentum boundary condition 
     260!----------------------------------------------------------------------- 
     261   shlat       =    2.     !      shlat = 0 : free slip 
     262                           !  0 < shlat < 2 : partial slip 
     263                           !      shlat = 2 : no slip 
     264                           !  2 < shlat     : strong slip 
     265/ 
     266!----------------------------------------------------------------------- 
     267&namcla        !   cross land advection 
     268!----------------------------------------------------------------------- 
     269   n_cla       =    0      !  advection between 2 ocean pts separates by land 
     270/ 
     271!----------------------------------------------------------------------- 
     272&namobc        !   open boundaries parameters                           ("key_obc") 
     273!----------------------------------------------------------------------- 
     274    nobc_dta   =    1      !  = 0 the obc data are equal to the initial state 
     275                           !  = 1 the obc data are read in 'obc.dta' files 
     276    cffile     = 'annual'  !  set to annual if obc datafile hold 1 year of data 
     277                           !  set to monthly if obc datafile hold 1 month of data 
     278    rdpein     =    1.     !  ??? 
     279    rdpwin     =    1.     !  ??? 
     280    rdpnin     =    1.     !  ??? 
     281    rdpsin     =    1.     !  ??? 
     282    rdpeob     = 3000.     !  time relaxation (days) for the east  open boundary 
     283    rdpwob     =   15.     !    "        "             "     west         " 
     284    rdpnob     = 3000.     !    "        "             "     north        " 
     285    rdpsob     =   15.     !    "        "             "     south        " 
     286    zbsic1     =  140.e+6  !   barotropic stream function on first  isolated coastline 
     287    zbsic2     =    1.e+6  !    "                   "        second       " 
     288    zbsic3     =    0.     !    "                   "        thrid        " 
     289    ln_obc_clim= .false.   !  climatological obc data files (T) or not (F) 
     290    ln_vol_cst = .true.    !  impose the total volume conservation (T) or not (F) 
     291/ 
     292!----------------------------------------------------------------------- 
     293&namagrif      !                                                        ("key_agrif") 
     294!----------------------------------------------------------------------- 
     295    nbclineupdate = 3      !  baroclinic update frequency 
     296    ln_spc_dyn    = .true. !  use 0 as special value for dynamics 
     297    visc_tra      = 2880.  !  viscosity coeeficient for tracers sponge layer 
     298    visc_dyn      = 2880.  !  viscosity coeeficient for dynamics sponge layer 
     299/ 
     300!----------------------------------------------------------------------- 
     301&nambdy        !  unstructured open boundaries parameters               ("key_bdy") 
     302!----------------------------------------------------------------------- 
     303    filbdy_mask    =  ''                  !  name of mask file (if ln_bdy_mask=.TRUE.) 
     304    filbdy_data_T  = 'bdydata_grid_T.nc'  !  name of data file (T-points) 
     305    filbdy_data_U  = 'bdydata_grid_U.nc'  !  name of data file (U-points) 
     306    filbdy_data_V  = 'bdydata_grid_V.nc'  !  name of data file (V-points) 
     307    ln_bdy_clim    = .false.              !  contain 1 (T) or 12 (F) time dumps and be cyclic 
     308    ln_bdy_vol     = .true.               !  total volume correction (see volbdy parameter) 
     309    ln_bdy_mask    = .false.              !  boundary mask from filbdy_mask (T) or boundaries are on edges of domain (F) 
     310    ln_bdy_tides   = .true.               !  Apply tidal harmonic forcing with Flather condition 
     311    ln_bdy_dyn_fla = .true.               !  Apply Flather condition to velocities 
     312    ln_bdy_tra_frs = .false.              !  Apply FRS condition to temperature and salinity  
     313    ln_bdy_dyn_frs = .false.              !  Apply FRS condition to velocities 
     314    nbdy_dta       =  1                   !  = 0, bdy data are equal to the initial state 
     315                                          !  = 1, bdy data are read in 'bdydata   .nc' files 
     316    nb_rimwidth    = 9                    !  width of the relaxation zone 
     317    volbdy         = 0                    !  = 0, the total water flux across open boundaries is zero 
     318                                          !  = 1, the total volume of the system is conserved 
     319/ 
     320!----------------------------------------------------------------------- 
     321&namtide        ! tidal forcing at unstructured boundaries               
     322!----------------------------------------------------------------------- 
     323    filtide      = 'bdytide_'           !  file name root of tidal forcing files 
     324    tide_cpt     = 'M2','S1'            !  names of tidal components used 
     325    tide_speed   = 28.984106, 15.000001 !  phase speeds of tidal components (deg/hour) 
     326    ln_tide_date = .false.              !  adjust tidal harmonics for start date of run 
     327/ 
    449328!!====================================================================== 
    450329!!                 ***  Bottom boundary condition  *** 
     
    454333!!   nambbl        bottom boundary layer scheme                         ("key_trabbl_dif","key_trabbl_adv") 
    455334!!====================================================================== 
    456 !----------------------------------------------------------------------- 
    457 !       nambfr   bottom friction 
    458 !----------------------------------------------------------------------- 
    459 !  nbotfr   type of bottom friction : = 0 : no slip    ;  = 1 : linear friction 
    460 !                                     = 3 : free slip  ;  = 2 : non linear friction 
    461 !  bfri1    bottom drag coefficient (linear case) 
    462 !  bfri2    bottom drag coefficient (non linear case) 
    463 !  bfeb2    bottom turbulent kinetic energy  (m2/s2) 
    464 &nambfr 
    465    nbotfr =       1 
    466    bfri1  =   4.e-4 
    467    bfri2  =   1.e-3 
    468    bfeb2  =  2.5e-3 
    469 / 
    470 !----------------------------------------------------------------------- 
    471 !       nambbc   bottom temperature boundary condition 
    472 !----------------------------------------------------------------------- 
    473 !  ngeo_flux  = 0 no geothermal heat flux 
    474 !             = 1 constant geothermal heat flux 
    475 !             = 2 variable geothermal heat flux (read in geothermal_heating.nc in mW/m2) 
    476 !  ngeo_flux_const   Constant value of geothermal heat flux (W/m2)  
    477 &nambbc 
    478    ngeo_flux =  2 
    479    ngeo_flux_const = 86.4e-3 
    480 / 
    481 !----------------------------------------------------------------------- 
    482 !       nambbl   bottom boundary layer scheme 
    483 !----------------------------------------------------------------------- 
    484 !                                !  diffusive bbl                       ("key_trabbl") 
    485 !                                !  advective bbl                       ("key_trabbl_adv") 
    486 !  atrbbl   mixing coefficient of the bottom boundary layer scheme (m2/s) 
    487 &nambbl 
    488    atrbbl = 10000. 
    489 / 
    490  
     335 
     336!----------------------------------------------------------------------- 
     337&nambfr        !   bottom friction 
     338!----------------------------------------------------------------------- 
     339   nbotfr      =    1      !  type of bottom friction :   = 0 : no   slip,  = 2 : nonlinear friction 
     340                           !                              = 3 : free slip,  = 1 :    linear friction 
     341   bfri1       =    4.e-4  !  bottom drag coefficient (linear case) 
     342   bfri2       =    1.e-3  !  bottom drag coefficient (non linear case) 
     343   bfeb2       =    2.5e-3 !  bottom turbulent kinetic energy background  (m^2/s^2) 
     344/ 
     345!----------------------------------------------------------------------- 
     346&nambbc        !   bottom temperature boundary condition 
     347!----------------------------------------------------------------------- 
     348   ngeo_flux   =    2      !  geothermal heat flux = 0 no flux considered  
     349                           !                       = 1 constant flux 
     350                           !                       = 2 variable flux (read in geothermal_heating.nc in mW/m2)  
     351   ngeo_flux_const = 86.4e-3  !  Constant value of geothermal heat flux [W/m2] 
     352/ 
     353!----------------------------------------------------------------------- 
     354&nambbl        !   bottom boundary layer scheme 
     355!----------------------------------------------------------------------- 
     356!                          !  diffusive bbl                             ("key_trabbl") 
     357!                          !  advective bbl                             ("key_trabbl_adv") 
     358   atrbbl      =  10000.   !  lateral mixing coefficient in the bbl  [m2/s] 
     359/ 
    491360!!====================================================================== 
    492361!!                        Tracer (T & S ) namelists 
     
    499368 
    500369!----------------------------------------------------------------------- 
    501 !       nameos   ocean physical parameters 
    502 !----------------------------------------------------------------------- 
    503 !  neos    type of equation of state and Brunt-Vaisala frequency 
    504 !          !   = 0, UNESCO (formulation of Jackett and McDougall (1994) and of McDougall (1987) ) 
    505 !          !   = 1, linear: rho(T)   = rau0 * ( 1.028 - ralpha * T ) 
    506 !          !   = 2, linear: rho(T,S) = rau0 * ( rbeta * S - ralpha * T ) 
    507 !  ralpha  thermal expension coefficient (neos= 1 or 2) 
    508 !  rbeta   saline  expension coefficient (neos= 2) 
    509 &nameos 
    510    neos   =      0 
    511    ralpha =  2.e-4 
    512    rbeta  =  0.001 
    513 / 
    514 !----------------------------------------------------------------------- 
    515 !       nam_traadv   advection scheme for tracer 
    516 !----------------------------------------------------------------------- 
    517 !  ln_traadv_cen2     2nd order centered scheme          (default T) 
    518 !  ln_traadv_tvd      TVD scheme                         (default F) 
    519 !  ln_traadv_muscl    MUSCL scheme                       (default F) 
    520 !  ln_traadv_muscl2   MUSCL scheme + cen2 at boundaries  (default F) 
    521 !  ln_traadv_ubs      UBS scheme                         (default F) 
    522 !  ln_traadv_qck      QUICKEST scheme                    (default F) 
    523 &nam_traadv 
    524    ln_traadv_cen2   =  .true. 
    525    ln_traadv_tvd    =  .false. 
    526    ln_traadv_muscl  =  .false. 
    527    ln_traadv_muscl2 =  .false. 
    528    ln_traadv_ubs    =  .false. 
    529    ln_traadv_qck    =  .false. 
    530 / 
    531 !----------------------------------------------------------------------- 
    532 !       nam_traldf   lateral diffusion scheme for tracer 
    533 !----------------------------------------------------------------------- 
    534 !  Type of the operator :  
    535 !     ln_traldf_lap    laplacian operator          (default T) 
    536 !     ln_traldf_bilap  bilaplacian operator        (default F) 
    537 !  Direction of action  :  
    538 !     ln_traldf_level  iso-level                   (default F) 
    539 !     ln_traldf_hor    horizontal (geopotential)   (default F)   (require "key_ldfslp" when ln_sco=T) 
    540 !     ln_traldf_iso    iso-neutral                 (default T)   (require "key_ldfslp") 
    541 !  Coefficient 
    542 !     aht0    horizontal eddy diffusivity for tracers (m2/s) 
    543 !     ahtb0   background eddy diffusivity for isopycnal diffusion (m2/s) 
    544 !     aeiv0   eddy induced velocity coefficient (m2/s)           (require "key_traldf_eiv") 
    545 &nam_traldf 
    546    ln_traldf_lap    =  .true. 
    547    ln_traldf_bilap  =  .false. 
    548    ln_traldf_level  =  .false. 
    549    ln_traldf_hor    =  .false. 
    550    ln_traldf_iso    =  .true. 
    551    aht0    =  2000. 
    552    ahtb0   =     0. 
    553    aeiv0   =  2000. 
    554 / 
    555 !----------------------------------------------------------------------- 
    556 !       namtdp   tracer newtonian damping ('key_tradmp') 
    557 !----------------------------------------------------------------------- 
    558 !  ndmp    type of damping in temperature and salinity  
    559 !          !   ='latitude', damping poleward of 'ndmp' degrees and function  
    560 !          !                of the distance-to-coast. Red and Med Seas as ndmp=-1 
    561 !          !   =-1          damping only in Med and Red Seas 
    562 !  ndmpf   =1 create a damping.coeff NetCDF file (the 3D damping array) 
    563 !  nmldmp  type of damping in the mixed layer 
    564 !          !   =0 damping throughout the water column 
    565 !               !   =1 no damping in the mixed layer defined by avt >5cm2/s  
    566 !               !   =2 no damping in the mixed layer defined rho<rho(surf)+.01  
    567 !  sdmp    surface time scale for internal damping (days) 
    568 !  bdmp    bottom time scale for internal damping (days) 
    569 !  hdmp    depth of transition between sdmp and bdmp (meters) 
    570 &namtdp 
    571    ndmp   =   -1 
    572    ndmpf  =    1 
    573    nmldmp =    1 
    574    sdmp   =  50. 
    575    bdmp   = 360. 
    576    hdmp   = 800. 
    577 / 
    578  
     370&nameos        !   ocean physical parameters 
     371!----------------------------------------------------------------------- 
     372   neos        =    0      !  type of equation of state and Brunt-Vaisala frequency 
     373                           !     = 0, UNESCO (formulation of Jackett and McDougall (1994) and of McDougall (1987) ) 
     374                           !     = 1, linear: rho(T)   = rau0 * ( 1.028 - ralpha * T ) 
     375                           !     = 2, linear: rho(T,S) = rau0 * ( rbeta * S - ralpha * T ) 
     376   ralpha      =    2.e-4  !  thermal expension coefficient (neos= 1 or 2) 
     377   rbeta       =    0.001  !  saline  expension coefficient (neos= 2) 
     378/ 
     379!----------------------------------------------------------------------- 
     380&nam_traadv    !   advection scheme for tracer  
     381!----------------------------------------------------------------------- 
     382   ln_traadv_cen2   =  .true.   !  2nd order centered scheme    
     383   ln_traadv_tvd    =  .false.  !  TVD scheme                 
     384   ln_traadv_muscl  =  .false.  !  MUSCL scheme              
     385   ln_traadv_muscl2 =  .false.  !  MUSCL2 scheme + cen2 at boundaries   
     386   ln_traadv_ubs    =  .false.  !  UBS scheme                  
     387/ 
     388!----------------------------------------------------------------------- 
     389&nam_traldf    !   lateral diffusion scheme for tracer  
     390!----------------------------------------------------------------------- 
     391!                               !  Type of the operator :  
     392   ln_traldf_lap    =  .true.   !     laplacian operator        
     393   ln_traldf_bilap  =  .false.  !     bilaplacian operator      
     394                                !  Direction of action  : 
     395   ln_traldf_level  =  .false.  !     iso-level                 
     396   ln_traldf_hor    =  .false.  !     horizontal (geopotential)         (require "key_ldfslp" when ln_sco=T) 
     397   ln_traldf_iso    =  .true.   !     iso-neutral                       (require "key_ldfslp") 
     398!                               !  Coefficient 
     399   aht0        =  2000.         !     horizontal eddy diffusivity for tracers [m2/s] 
     400   ahtb0       =     0.         !     background eddy diffusivity for ldf_iso [m2/s] 
     401   aeiv0       =  2000.         !     eddy induced velocity coefficient [m2/s]    (require "key_traldf_eiv") 
     402/ 
     403!----------------------------------------------------------------------- 
     404&namtdp        !   tracer newtonian damping                             ('key_tradmp') 
     405!----------------------------------------------------------------------- 
     406   ndmp        =   -1      !  type of damping in temperature and salinity  
     407                           !     ='latitude', damping poleward of 'ndmp' degrees and function  
     408                           !                  of the distance-to-coast. Red and Med Seas as ndmp=-1 
     409                           !     =-1 damping only in Med and Red Seas 
     410   ndmpf       =    1      !  create a damping.coeff NetCDF file (=1) or not (=0) 
     411   nmldmp      =    1      !  type of damping: =0 damping throughout the water column 
     412                           !                   =1 no damping in the mixed layer defined by avt >5cm2/s ) 
     413                           !                   =2 no damping in the mixed layer defined rho<rho(surf)+.01 ) 
     414   sdmp        =   50.     !  surface time scale for internal damping (days) 
     415   bdmp        =  360.     !  bottom  time scale for internal damping (days) 
     416   hdmp        =  800.     !  depth of transition between sdmp and bdmp (meters) 
     417/ 
    579418!!====================================================================== 
    580419!!                      ***  Dynamics namelists  *** 
     
    589428 
    590429!----------------------------------------------------------------------- 
    591 !       nam_dynadv   formulation of the momentum advection 
    592 !----------------------------------------------------------------------- 
    593 !  ln_dynadv_vec      vector form (T) or flux form (F)         (default T) 
    594 !  ln_dynadv_cen2     flux form - 2nd order centered scheme    (default T) 
    595 !  ln_dynadv_ubs      flux form - 3rd order UBS scheme         (default F) 
    596 &nam_dynadv    
    597    ln_dynadv_vec   = .true. 
    598    ln_dynadv_cen2  = .false. 
    599    ln_dynadv_ubs   = .false. 
     430&nam_dynadv    !   formulation of the momentum advection 
     431!----------------------------------------------------------------------- 
     432   ln_dynadv_vec = .false.  !  vector form (T) or flux form (F)   
     433   ln_dynadv_cen2= .true. !  flux form - 2nd order centered scheme 
     434   ln_dynadv_ubs = .false. !  flux form - 3rd order UBS      scheme  
    600435 
    601436!----------------------------------------------------------------------- 
    602 !       nam_dynvor   option of physics/algorithm (not control by CPP keys) 
    603 !----------------------------------------------------------------------- 
    604 !  ln_dynvor_ens   vorticity trends: enstrophy conserving scheme (default T) 
    605 !  ln_dynvor_ene      "         "  : energy conserving scheme    (default F) 
    606 !  ln_dynvor_mix      "         "  : mixed scheme                (default F) 
    607 !  ln_dynvor_een      "         "  : energy & enstrophy scheme   (default F) 
    608 &nam_dynvor 
    609    ln_dynvor_ene = .false. 
    610    ln_dynvor_ens = .true. 
    611    ln_dynvor_mix = .false. 
    612    ln_dynvor_een = .false. 
    613 / 
    614 !----------------------------------------------------------------------- 
    615 !       nam_dynhpg   Hydrostatic pressure gradient option 
    616 !----------------------------------------------------------------------- 
    617 !  type of pressure gradient scheme (choose one only!) 
    618 !     ln_hpg_zco    z-coordinate - full steps                   (default T) 
    619 !     ln_hpg_zps    z-coordinate - partial steps (interpolation) 
    620 !     ln_hpg_sco    s-coordinate (standard jacobian formulation) 
    621 !     ln_hpg_hel    s-coordinate (helsinki modification) 
    622 !     ln_hpg_wdj    s-coordinate (weighted density jacobian) 
    623 !     ln_hpg_djc    s-coordinate (Density Jacobian with Cubic polynomial) 
    624 !     ln_hpg_rot    s-coordinate (ROTated axes scheme) 
    625 !  parameters 
    626 !     gamm          weighting coefficient (wdj scheme) 
    627 &nam_dynhpg 
    628    ln_hpg_zco = .false. 
    629    ln_hpg_zps = .true. 
    630    ln_hpg_sco = .false. 
    631    ln_hpg_hel = .false. 
    632    ln_hpg_wdj = .false. 
    633    ln_hpg_djc = .false. 
    634    ln_hpg_rot = .false. 
    635    gamm       = 0.e0 
    636 / 
    637 !----------------------------------------------------------------------- 
    638 !       namflg   algorithm flags (algorithm not control by CPP keys) 
    639 !----------------------------------------------------------------------- 
    640 !  ln_dynhpg_imp   hydrostatic pressure gradient: semi-implicit time scheme  (T) 
    641 !                                                  centered     time scheme  (F) 
    642 !   nn_dynhpg_rst  add dynhpg implicit variables in restart ot not (1/0) 
    643 &namflg 
    644    ln_dynhpg_imp   =  .false. 
    645    nn_dynhpg_rst   =  0 
    646 / 
    647 !----------------------------------------------------------------------- 
    648 !       nam_dynspg   surface pressure gradient   (CPP key only) 
    649 !----------------------------------------------------------------------- 
    650 !                                !  explicit free surface               ("key_dynspg_exp") 
    651 !                                !  filtered free surface               ("key_dynspg_flt") 
    652 !                                !  split-explicit free surface         ("key_dynspg_ts") 
    653 !                                !  rigid-lid                           ("key_dynspg_rl") 
    654  
    655 !----------------------------------------------------------------------- 
    656 !       nam_dynldf   lateral diffusion on momentum 
    657 !----------------------------------------------------------------------- 
    658 !  Type of the operator :  
    659 !     ln_dynldf_lap    laplacian operator          (default T) 
    660 !     ln_dynldf_bilap  bilaplacian operator        (default F) 
    661 !  Direction of action  :  
    662 !     ln_dynldf_level  iso-level                   (default F) 
    663 !     ln_dynldf_hor    horizontal (geopotential)   (default F)   (require "key_ldfslp" if ln_sco=T) 
    664 !     ln_dynldf_iso    iso-neutral                 (default T)   (require "key_ldfslp") 
    665 !  Coefficient 
    666 !     ahm0    horizontal eddy viscosity for the dynamics (m2/s) 
    667 !     ahmb0   background eddy viscosity for isopycnal diffusion (m2/s) 
    668 &nam_dynldf 
    669    ln_dynldf_lap    =  .true. 
    670    ln_dynldf_bilap  =  .false. 
    671    ln_dynldf_level  =  .false. 
    672    ln_dynldf_hor    =  .true. 
    673    ln_dynldf_iso    =  .false. 
    674    ahm0    = 40000. 
    675    ahmb0   =     0. 
    676 / 
    677  
     437&nam_dynvor    !   option of physics/algorithm (not control by CPP keys) 
     438!----------------------------------------------------------------------- 
     439   ln_dynvor_ene = .false. !  enstrophy conserving scheme   
     440   ln_dynvor_ens = .true.  !  energy conserving scheme     
     441   ln_dynvor_mix = .false. !  mixed scheme                
     442   ln_dynvor_een = .false. !  energy & enstrophy scheme   
     443/ 
     444!----------------------------------------------------------------------- 
     445&nam_dynhpg    !   Hydrostatic pressure gradient option 
     446!----------------------------------------------------------------------- 
     447   ln_hpg_zco  = .true.   !  z-coordinate - full steps                    
     448   ln_hpg_zps  = .false.    !  z-coordinate - partial steps (interpolation) 
     449   ln_hpg_sco  = .false.   !  s-coordinate (standard jacobian formulation) 
     450   ln_hpg_hel  = .false.   !  s-coordinate (helsinki modification) 
     451   ln_hpg_wdj  = .false.   !  s-coordinate (weighted density jacobian) 
     452   ln_hpg_djc  = .false.   !  s-coordinate (Density Jacobian with Cubic polynomial) 
     453   ln_hpg_rot  = .false.   !  s-coordinate (ROTated axes scheme) 
     454   gamm        = 0.e0      !  weighting coefficient (wdj scheme) 
     455/ 
     456!----------------------------------------------------------------------- 
     457&namflg        !   algorithm flags (algorithm not control by CPP keys) 
     458!----------------------------------------------------------------------- 
     459   ln_dynhpg_imp = .false. !  hydrostatic pressure gradient: semi-implicit time scheme  (T) 
     460                           !                                 centered      time scheme  (F) 
     461   nn_dynhpg_rst =  0      !  add dynhpg implicit variables in restart ot not (1/0) 
     462/ 
     463!----------------------------------------------------------------------- 
     464!nam_dynspg    !   surface pressure gradient   (CPP key only) 
     465!----------------------------------------------------------------------- 
     466!                          !  explicit free surface                     ("key_dynspg_exp") 
     467!                          !  filtered free surface                     ("key_dynspg_flt") 
     468!                          !  split-explicit free surface               ("key_dynspg_ts") 
     469!                          !  rigid-lid                                 ("key_dynspg_rl") 
     470 
     471!----------------------------------------------------------------------- 
     472&nam_dynldf    !   lateral diffusion on momentum 
     473!----------------------------------------------------------------------- 
     474!                               !  Type of the operator :  
     475   ln_dynldf_lap    =  .true.   !     laplacian operator          
     476   ln_dynldf_bilap  =  .false.  !     bilaplacian operator     
     477!                               !  Direction of action  :  
     478   ln_dynldf_level  =  .false.  !     iso-level                
     479   ln_dynldf_hor    =  .true.   !     horizontal (geopotential)        (require "key_ldfslp" in s-coord.) 
     480   ln_dynldf_iso    =  .false.  !     iso-neutral                      (require "key_ldfslp") 
     481                                !  Coefficient 
     482   ahm0    = 40000.             !     horizontal eddy viscosity   [m2/s] 
     483   ahmb0   =     0.             !     background eddy viscosity for ldf_iso [m2/s] 
     484/ 
    678485!!====================================================================== 
    679486!!             Tracers & Dynamics vertical physics namelists 
     
    688495 
    689496!----------------------------------------------------------------------- 
    690 !       namzdf   vertical physics 
    691 !----------------------------------------------------------------------- 
    692 !  ln_zdfevd  enhanced vertical diffusion         (default T) 
    693 !  ln_zdfnpc  Non-Penetrative Convection          (default T) 
    694 !  avm0       vertical eddy viscosity for the dynamic (m2/s)   (also background Kz if not "key_zdfcst") 
    695 !  avt0       vertical eddy diffusivity for tracers (m2/s)     (also background Kz if not "key_zdfcst") 
    696 !  avevd      vertical coefficient for enhanced diffusion scheme (m2/s) 
    697 !  n_evdm     = 0  apply enhanced mixing on tracer only 
    698 !             = 1  apply enhanced mixing on both tracer and momentum 
    699 !  ln_zdfexp   vertical physics: (=T)  time splitting (T)     (Default=F) 
    700 !                               (=F)  euler backward (F) 
    701 !  n_zdfexp   number of sub-timestep for time splitting scheme 
    702 &namzdf 
    703    ln_zdfevd = .true. 
    704    ln_zdfnpc = .false. 
    705    avm0      = 1.2e-4 
    706    avt0      = 1.2e-5 
    707    avevd     =   100. 
    708    n_evdm    =     1 
    709    ln_zdfexp =  .false. 
    710    n_zdfexp  =     3 
    711 / 
    712 !----------------------------------------------------------------------- 
    713 !       namnpc   non penetrative convection 
    714 !----------------------------------------------------------------------- 
    715 !  nnpc1   non penetrative convective scheme frequency    
    716 !  nnpc2   non penetrative convective scheme print frequency 
    717 &namnpc 
    718    nnpc1  =      1 
    719    nnpc2  =    365 
    720 / 
    721 !----------------------------------------------------------------------- 
    722 !       namric   richardson number dependent vertical diffusion         ("key_zdfric" ) 
    723 !----------------------------------------------------------------------- 
    724 !  avmri   maximum value of the vertical viscosity 
    725 !  alp     coefficient of the parameterization 
    726 !  nric    coefficient of the parameterization 
    727 &namric 
    728    avmri = 100.e-4 
    729    alp   =      5. 
    730    nric  =       2 
    731 / 
    732 !----------------------------------------------------------------------- 
    733 !       namtke   turbulent eddy kinetic dependent vertical diffusion    ("key_zdftke") 
    734 !----------------------------------------------------------------------- 
    735 !  ln_rstke flag to restart with tke from a run without tke (default F) 
    736 !  ediff    coef. to compute vertical eddy coef. (avt=ediff*mxl*sqrt(e) ) 
    737 !  ediss    coef. of the Kolmogoroff dissipation   
    738 !  ebb      coef. of the surface input of tke 
    739 !  efave    coef. to applied to the tke diffusion ( avtke=efave*avm ) 
    740 !  emin     minimum value of tke (m^2/s^2) 
    741 !  emin0    surface minimum value of tke (m^2/s^2) 
    742 !  nitke    number of restart iterative loops 
    743 !  ri_c     critic richardson number = 2/9 = 0.22222222 (hard coded) 
    744 !  nmxl     length used   = 0 bounded by the distance to surface and bottom 
    745 !           !             = 1 bounded by the local vertical scale factor 
    746 !           !             = 2 first vertical derivative of mixing length bounded by 1 
    747 !  npdl     Prandtl number   = 0 no vertical prandtl number (avt=avm) 
    748 !           !                = 1 prandtl number function of richarson number (avt=pdl*avm) 
    749 !           !                = 2 same as = 1 but a shapiro filter is applied on pdl 
    750 !  nave     =  horizontal averaged (=1) or not (=0) of avt  (default =1) 
    751 !  navb     = 0 cst background avt0, avm0 / =1 profile used on avtb 
    752 &namtke 
    753    ln_rstke = .false. 
    754    ediff =       0.1 
    755    ediss =       0.7 
    756    ebb   =      3.75 
    757    efave =        1. 
    758    emin  =     1.e-6 
    759    emin0 =     1.e-4 
    760    nitke =        50 
    761    nmxl  =         2 
    762    npdl  =         1 
    763    navb  =         0 
    764 / 
    765 !----------------------------------------------------------------------- 
    766 !       namkpp   K-Profile Parameterization dependent vertical mixing   ("key_zdfkpp" ) 
    767 !----------------------------------------------------------------------- 
    768 !  ln_kpprimix   shear instability mixing  (default T) 
    769 !  difmiw        constant internal wave viscosity (m2/s) 
    770 !  difsiw        constant internal wave diffusivity (m2/s) 
    771 !  Riinfty       local Richardson Number limit for shear instability 
    772 !  difri         maximum shear mixing at Rig = 0    (m2/s) 
    773 !  bvsqcon       Brunt-Vaisala squared (1/s**2) for maximum convection 
    774 !  difcon        maximum mixing in interior convection (m2/s) 
    775 !  nave          = 0/1 flag for horizontal average on avt, avmu, avmv 
    776 !  navb          = 0/1 flag for constant or profile background avt 
    777 &namkpp 
    778    ln_kpprimix  = .true. 
    779    difmiw       =  1.e-04 
    780    difsiw       =  0.1e-04 
    781    Riinfty      =  0.8 
    782    difri        =  0.0050 
    783    bvsqcon      = -0.01e-07 
    784    difcon       =  1. 
    785    navb         =  0 
    786    nave         =  1 
    787 / 
    788 !----------------------------------------------------------------------- 
    789 !       namddm   double diffusive mixing parameterization               ("key_zdfddm") 
    790 !----------------------------------------------------------------------- 
    791 !   avts    maximum avs for dd mixing  
    792 !   hsbfr   heat/salt buoyancy flux ratio 
    793 &namddm 
    794       avts  = 1.e-4 
    795       hsbfr = 1.6 
    796 / 
    797  
     497&namzdf        !   vertical physics 
     498!----------------------------------------------------------------------- 
     499   avm0        =   1.2e-4  !  vertical eddy viscosity   [m2/s]          (background Kz if not "key_zdfcst") 
     500   avt0        =   1.2e-5  !  vertical eddy diffusivity [m2/s]          (background Kz if not "key_zdfcst") 
     501   ln_zdfnpc   = .false.   !  convection: Non-Penetrative algorithm (T) or not (F) 
     502   ln_zdfevd   = .true.    !  convection: enhanced vertical diffusion (T) or not (F)     
     503   avevd       = 100.      !  vertical coefficient for enhanced diffusion scheme [m2/s] 
     504   n_evdm      =   1       !  enhanced mixing apply on tracer (=0) or on tracer and momentum (=1) 
     505   ln_zdfexp   =  .false.  !  split explicit (T) or implicit (F) time stepping 
     506   n_zdfexp    =   3       !  number of sub-timestep for ln_zdfexp=T 
     507/ 
     508!----------------------------------------------------------------------- 
     509&namnpc        !   non penetrative convection 
     510!----------------------------------------------------------------------- 
     511   nnpc1       =    1      !  non penetrative convective scheme computation frequency 
     512   nnpc2       =  365      !  non penetrative convective scheme print frequency 
     513/ 
     514!----------------------------------------------------------------------- 
     515&namric        !   richardson number dependent vertical diffusion       ("key_zdfric" ) 
     516!----------------------------------------------------------------------- 
     517   avmri       = 100.e-4   !  maximum value of the vertical viscosity 
     518   alp         =   5.      !  coefficient of the parameterization 
     519   nric        =   2       !  coefficient of the parameterization 
     520/ 
     521!----------------------------------------------------------------------- 
     522&namtke        !   turbulent eddy kinetic dependent vertical diffusion  ("key_zdftke") 
     523!----------------------------------------------------------------------- 
     524   ln_rstke    = .false.   !  restart with tke from a run without tke (T) or not (F) 
     525   nn_itke     =  50       !  number of iterative loops if ln_rstke=T  
     526   rn_ediff    =   0.1     !  coef. for vertical eddy coef. (avt=rn_ediff*mxl*sqrt(e) ) 
     527   rn_ediss    =   0.7     !  coef. of the Kolmogoroff dissipation 
     528   rn_ebb      =   3.75    !  coef. of the surface input of tke 
     529   rn_efave    =   1.      !  boost of the tke diffusion ( avtke=rn_efave*avm ) 
     530   rn_emin     =   1.e-6   !  minimum value of tke [m2/s2] 
     531   rn_emin0    =   1.e-4   !  surface minimum value of tke [m2/s2] 
     532   nn_mxl      =   2       !  mixing length: = 0 bounded by the distance to surface and bottom 
     533                           !                 = 1 bounded by the local vertical scale factor 
     534                           !                 = 2 first vertical derivative of mixing length bounded by 1 
     535                           !                 = 3 same criteria as case 2 but applied in a different way 
     536   nn_pdl      =   1       !  Prandtl number function of richarson number (=1, avt=pdl(Ri)*avm) or not (=0, avt=avm) 
     537   nn_avb      =   0       !  profile for constant background used on avt & avm (=1) or not (=0) 
     538   nn_ave      =   1       !  horizontal averaged on avt (=1) or not (=0)  
     539   ln_mxl0     = .false.   !  mixing length scale surface value as function of wind stress (T) or not (F) 
     540   rn_lmin     =   0.4     !  interior buoyancy lenght scale minimum value 
     541   rn_lmin0    =   0.4     !  surface  buoyancy lenght scale minimum value 
     542   nn_etau     =   0       !  exponentially deceasing penetration of tke due to internal & intertial waves 
     543                           !        = 0 no penetration ( O(2 km) resolution) 
     544                           !        = 1 additional tke source  
     545                           !        = 2 additional tke source applied only at the base of the mixed layer 
     546   nn_htau     =   2       !  type of exponential decrease of tke penetration 
     547                           !        = 0  constant 10 m length scale 
     548                           !        = 1  ??? 
     549                           !        = 2  ??? 
     550   rn_efr      =   0.05    !  fraction of surface tke value which penetrates inside the ocean 
     551   ln_lc       = .false.   !  Langmuir cell effect 
     552   rn_lc       =   0.15    !  coef. associated to Langmuir cells 
     553   nn_havtb    =   0       !  horizontal shape for avtb (=1) or not (=0) 
     554/ 
     555!------------------------------------------------------------------------ 
     556&namkpp        !   K-Profile Parameterization dependent vertical mixing  ("key_zdfkpp", and optionnally: 
     557!                                                                         "key_kppcustom" or "key_kpplktb") 
     558!------------------------------------------------------------------------ 
     559   ln_kpprimix = .true.    !  shear instability mixing  
     560   difmiw      =  1.0e-04  !  constant internal wave viscosity [m2/s] 
     561   difsiw      =  0.1e-04  !  constant internal wave diffusivity [m2/s] 
     562   Riinfty     =  0.8      !  local Richardson Number limit for shear instability 
     563   difri       =  0.0050   !  maximum shear mixing at Rig = 0    [m2/s] 
     564   bvsqcon     = -0.01e-07 !  Brunt-Vaisala squared for maximum convection [1/s2]  
     565   difcon      =  1.       !  maximum mixing in interior convection [m2/s] 
     566   navb        =  0        !  horizontal averaged (=1) or not (=0) on avt and amv 
     567   nave        =  1        !  constant (=0) or profile (=1) background on avt 
     568/ 
     569!----------------------------------------------------------------------- 
     570&namddm        !   double diffusive mixing parameterization                  ("key_zdfddm") 
     571!----------------------------------------------------------------------- 
     572      avts     = 1.e-4     !  maximum avs (vertical mixing on salinity) 
     573      hsbfr    = 1.6       !  heat/salt buoyancy flux ratio 
     574/ 
    798575!!====================================================================== 
    799576!!                  ***  Miscelaneous namelists  *** 
    800577!!====================================================================== 
    801 !!   namsol      elliptic solver / island / free surface  
    802 !!====================================================================== 
    803  
    804 !----------------------------------------------------------------------- 
    805 !       namsol   elliptic solver / island / free surface  
    806 !----------------------------------------------------------------------- 
    807 !  nsolv     elliptic solver (=1 preconditioned conjugate gradient: pcg) 
    808 !                            (=2 successive-over-relaxation: sor) 
    809 !                            (=3 FETI currently it does not work!       ("key_feti") 
    810 !  nsol_arp  absolute/relative (0/1) precision convergence test 
    811 !  nmin      minimum of iterations for the SOR solver 
    812 !  nmax      maximum of iterations for the SOR solver 
    813 !  nmod      frequency of test for the SOR solver 
    814 !  eps       absolute precision of the solver 
    815 !  resmax    absolute precision for the SOR solver 
    816 !  sor       optimal coefficient for SOR solver 
    817 !  epsisl    absolute precision on stream function solver 
    818 !  nmisl     maximum pcg iterations for island 
    819 !  rnu       strength of the additional force used in free surface b.c. 
    820 &namsol 
    821    nsolv     =      1 
    822    nsol_arp  =      0 
    823    nmin      =    300 
    824    nmax      =    800 
    825    nmod      =     10 
    826    eps       =  1.E-6 
    827    resmax    = 1.E-10 
    828    sor       =   1.92 
    829    epsisl    = 1.e-10 
    830    nmisl     =   4000 
    831    rnu       =     1. 
     578!!   nam_mpp           Massively Parallel Processing                    ("key_mpp_mpi) 
     579!!   nam_mpp_dyndist   Massively Parallel domain decomposition          ("key_agrif" && "key_mpp_dyndist") 
     580!!   namctl            Control prints & Benchmark 
     581!!   namsol            elliptic solver / island / free surface  
     582!!====================================================================== 
     583 
     584!----------------------------------------------------------------------- 
     585&namsol        !   elliptic solver / island / free surface  
     586!----------------------------------------------------------------------- 
     587   nsolv       =      1    !  elliptic solver: =1 preconditioned conjugate gradient (pcg) 
     588                           !                   =2 successive-over-relaxation (sor) 
     589                           !                   =3 FETI (fet)                               ("key_feti") 
     590                           !                   =4 sor with extra outer halo 
     591   nsol_arp    =      0    !  absolute/relative (0/1) precision convergence test 
     592   nmin        =    300    !  minimum of iterations for the SOR solver 
     593   nmax        =    800    !  maximum of iterations for the SOR solver 
     594   nmod        =     10    !  frequency of test for the SOR solver 
     595   eps         =  1.e-6    !  absolute precision of the solver 
     596   resmax      =  1.e-10   !  absolute precision for the SOR solver 
     597   sor         =  1.92     !  optimal coefficient for SOR solver (to be adjusted with the domain) 
     598   epsisl      =  1.e-10   !  absolute precision on stream function solver 
     599   nmisl       =   4000    !  maximum pcg iterations for island                            ("key_islands") 
     600   rnu         =      1.   !  strength of the additional force used in filtered free surface 
     601/ 
     602!----------------------------------------------------------------------- 
     603&nam_mpp      !   Massively Parallel Processing                         ("key_mpp_mpi) 
     604!----------------------------------------------------------------------- 
     605   c_mpi_send =  'S'       !  mpi send/recieve type   ='S', 'B', or 'I' for standard send, 
     606                           !  buffer blocking send or immediate non-blocking sends, resp. 
     607   nn_buffer  =   0        !  size in bytes of exported buffer ('B' case), 0 no exportation 
     608/ 
     609!----------------------------------------------------------------------- 
     610&nam_mpp_dyndist !   Massively Parallel Distribution                    ("key_agrif" && "key_mpp_dyndist") 
     611!----------------------------------------------------------------------- 
     612   jpni       =    1       !  jpni   number of processors following i 
     613   jpnj       =    1       !  jpnj   number of processors following j 
     614   jpnij      =    1       !  jpnij  number of local domains 
     615/ 
     616!----------------------------------------------------------------------- 
     617&namctl       !   Control prints & Benchmark 
     618!----------------------------------------------------------------------- 
     619   ln_ctl     = .false.    !  trends control print (expensive!) 
     620   nprint     =    0       !  level of print (0 no extra print) 
     621   nictls     =    0       !  start i indice of control sum (use to compare mono versus 
     622   nictle     =    0       !  end   i indice of control sum        multi processor runs 
     623   njctls     =    0       !  start j indice of control               over a subdomain) 
     624   njctle     =    0       !  end   j indice of control  
     625   isplt      =    1       !  number of processors in i-direction 
     626   jsplt      =    1       !  number of processors in j-direction 
     627   nbench     =    0       !  Bench mode (1/0): CAUTION use zero except for bench 
     628                           !     (no physical validity of the results) 
     629   nbit_cmp   =    0       !  bit comparison mode (1/0): CAUTION use zero except for test 
     630                           !     of comparison between single and multiple processor runs 
    832631/ 
    833632!!====================================================================== 
     
    842641 
    843642!----------------------------------------------------------------------- 
    844 !       namtrd    diagnostics on dynamics and/or tracer trends          ("key_trddyn" and/or "key_trdtra") 
     643&namtrd       !   diagnostics on dynamics and/or tracer trends             ("key_trddyn" and/or "key_trdtra") 
    845644!                          or mixed-layer trends                        ('key_trdmld') 
    846645!                          or barotropic vorticity                      ("key_trdvor") 
    847646!----------------------------------------------------------------------- 
    848 !  ntrd                time step frequency dynamics and tracers trends 
    849 !  nctls               control surface type in mixed-layer trends (0,1 or n<jpk) 
    850 !  ln_trdmld_restart   restart for ML diagnostics 
    851 !  ucf                 unit conversion factor (=1 -> /seconds | =86400. -> /day) 
    852 !  ln_trdmld_instant   flag to diagnose trends of instantantaneous or mean ML T/S 
    853 &namtrd 
    854    ntrd              = 365 
    855    nctls             =   0 
    856    ln_trdmld_restart = .false. 
    857    ucf               =  1. 
    858    ln_trdmld_instant = .false. 
    859 / 
    860 !----------------------------------------------------------------------- 
    861 !       namgap    level mean model-data gap ('key_diagap') 
    862 !----------------------------------------------------------------------- 
    863 !  ngap    time-step frequency of model-data gap computation 
    864 !  nprg    time-step frequency of gap print in model output 
    865 &namgap 
    866    ngap =  15 
    867    nprg =  10 
    868 / 
    869 !----------------------------------------------------------------------- 
    870 !       namspr  surface pressure diagnostic 
    871 !----------------------------------------------------------------------- 
    872 !  nmaxp   maximum of iterations for the solver 
    873 !  epsp    absolute precision of the solver 
    874 !  niterp  number of iteration done by the solver 
    875 &namspr 
    876    nmaxp   =   1000 
    877    epsp    =  1.e-3 
    878    niterp  =    400 
    879 / 
    880 !----------------------------------------------------------------------- 
    881 !       namflo    float parameters                                      ("key_float") 
    882 !----------------------------------------------------------------------- 
    883 !  ln_rstflo   boolean term for float restart (true or false) 
    884 !  nwritefl   frequency of float output file  
    885 !  nstockfl   frequency of float restart file  
    886 !  ln_argo    Argo type floats (stay at the surface each 10 days) 
    887 !  ln_flork4  = T trajectories computed with a 4th order Runge-Kutta 
    888 !             = F  (default)   computed with Blanke' scheme 
    889 &namflo 
    890     ln_rstflo = .false. 
    891     nwritefl  =      75 
    892     nstockfl  =    5475 
    893     ln_argo   = .false. 
    894     ln_flork4 = .false. 
    895 / 
    896 !----------------------------------------------------------------------- 
    897 !       namptr   Poleward Transport Diagnostic 
    898 !----------------------------------------------------------------------- 
    899 !  ln_diaptr  logical flag for Poleward transport computation 
    900 !  ln_subbas  logical flag for Atlantic/Pacific/Indian basins computation 
    901 !             need input basins mask file named "subbasins.nc" 
    902 !  nf_ptr     Frequency of computation 
    903 &namptr 
    904    ln_diaptr = .false. 
    905    ln_subbas = .false. 
    906    nf_ptr    =  15 
    907 / 
     647   ntrd       = 365        !  time step frequency dynamics and tracers trends 
     648   nctls      =   0        !  control surface type in mixed-layer trends (0,1 or n<jpk) 
     649   ucf        =   1.       !  unit conversion factor (=1 -> /seconds ; =86400. -> /day) 
     650   cn_trdrst_in  = "restart_mld"   ! suffix of ocean restart name (input) 
     651   cn_trdrst_out = "restart_mld"   ! suffix of ocean restart name (output) 
     652   ln_trdmld_restart = .false.     !  restart for ML diagnostics 
     653   ln_trdmld_instant = .false.     !  flag to diagnose trends of instantantaneous or mean ML T/S 
     654/ 
     655!----------------------------------------------------------------------- 
     656&namgap       !   level mean model-data gap                             ('key_diagap') 
     657!----------------------------------------------------------------------- 
     658   ngap       =  15        !  time-step frequency of model-data gap computation 
     659   nprg       =  10        !  time-step frequency of gap print in model output 
     660/ 
     661!----------------------------------------------------------------------- 
     662&namspr       !   surface pressure diagnostic 
     663!----------------------------------------------------------------------- 
     664   nmaxp      =   1000     !  maximum of iterations for the solver 
     665   epsp       =  1.e-3     !  absolute precision of the solver 
     666   niterp     =    400     !  number of iteration done by the solver 
     667/ 
     668!----------------------------------------------------------------------- 
     669&namflo       !   float parameters                                      ("key_float") 
     670!----------------------------------------------------------------------- 
     671    ln_rstflo = .false.    !  float restart (T) or not (F) 
     672    nwritefl  =      75    !  frequency of writing in float output file  
     673    nstockfl  =    5475    !  frequency of creation of the float restart file  
     674    ln_argo   = .false.    !  Argo type floats (stay at the surface each 10 days) 
     675    ln_flork4 = .false.    !  trajectories computed with a 4th order Runge-Kutta (T) 
     676                           !  or computed with Blanke' scheme (F) 
     677/ 
     678!----------------------------------------------------------------------- 
     679&namptr       !   Poleward Transport Diagnostic 
     680!----------------------------------------------------------------------- 
     681   ln_diaptr  = .false.    !  Poleward heat and salt transport (T) or not (F) 
     682   ln_subbas  = .false.    !  Atlantic/Pacific/Indian basins computation (T) or not  
     683                           !  (orca configuration only, need input basins mask file named "subbasins.nc" 
     684   nf_ptr     =  15        !  Frequency of ptr computation [time step] 
     685/ 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/PARAM/namelist_ice_ORCA2

    r396 r561  
     1!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
     2!! NEMO/LIM2 :  1 - dynamics/advection/thermo          (namicerun) 
     3!! namelists    2 - ice intialisation                  (namiceini) 
     4!!              3 - ice dynamic                        (namicedyn) 
     5!!              5 - ice advection                      (namicetrp) 
     6!!              6 - thermodynamic                      (namicethd) 
     7!!              7 - ice salinity                       (namicesal) 
     8!!              8 - mechanical redistribution of ice   (namiceitdme) 
     9!!              3 - ice diagnostics                    (namicedia) 
     10!!              9 - ice outputs                        (namiceout) 
    111!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    2 ! 
    3 ! ICE namelist :  ice model option and parameter input 
    4 ! ------------- 
    5 ! 
    6 !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    7 ! 
    8 !''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
    9 !       namicerun   Share parameters for dynamics/advection/thermo 
    10 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    11 ! 
    12 !  ln_limdyn   : switch for ice dynamics (true) or not (false) 
    13 !  acrit(1/2)  : minimum fraction for leads in the Northern (Southern) Hemisphere 
    14 !  hnsdif      : computation of temperature in snow (=0.0) or not (=9999.0) 
    15 !  hicdif      : computation of temperature in ice  (=0.0) or not (=9999.0) 
    16 ! 
    17 &namicerun 
    18    ln_limdyn = .true.  
    19    acrit     = 1.0e-06 , 1.0e-06 
    20    hsndif    = 0.0  
    21    hicdif    = 0.0 
     12 
     13!----------------------------------------------------------------------- 
     14&namicerun     !   Share parameters for dynamics/advection/thermo 
     15!----------------------------------------------------------------------- 
     16   cn_icerst_in  = "restart_ice_in"   !  suffix of ice restart name (input) 
     17   cn_icerst_out = "restart_ice"      !  suffix of ice restart name (output) 
     18   ln_limdyn   = .true.    !  ice dynamics (T) or thermodynamics only (F) 
     19   ln_limdmp   = .false.   !  restoring ice thickness and fraction leads (T) or not (F) 
     20   acrit       = 1.0e-06   , 1.0e-06   ! minimum fraction for leads in the Northern (Southern) Hemisphere 
     21   hsndif      =  0.0      !  computation of temperature in snow (=0.0) or not 
     22   hicdif      =  0.0      !  computation of temperature in ice  (=0.0) or not (=9999.0) 
    2223/ 
    23 !''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
    24 !       namiceini   parameters for ice initialisation 
    25 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    26 ! 
    27 !  ttest : threshold water temperature for initial sea ice 
    28 !  hninn : initial snow thickness in the north 
    29 !  hginn : initial ice thickness in the north 
    30 !  alinn : initial leads area in the north 
    31 !  hnins : initial snow thickness in the south 
    32 !  hgins : initial ice thickness in the south 
    33 !  alins : initial leads area in the south 
    34 ! 
    35 &namiceini 
    36    ttest = 2.0 
    37    hninn = 0.5 
    38    hginn = 3.0 
    39    alinn = 0.05 
    40    hnins = 0.1 
    41    hgins = 1.0 
    42    alins = 0.1 
     24!----------------------------------------------------------------------- 
     25&namiceini     !   ice initialisation 
     26!----------------------------------------------------------------------- 
     27   ln_limini   = .false.   !  read the ice initial state in the file 'Ice_initialization.nc' (T) or not (F) 
     28   ttest       =  2.0      !  threshold water temperature for initial sea ice 
     29   hninn       =  0.5      !  initial snow thickness in the north 
     30   hginn       =  3.0      !  initial ice  thickness in the north 
     31   alinn       =  0.05     !  initial leads area     in the north 
     32   hnins       =  0.1      !  same  three parameter  in the south 
     33   hgins       =  1.0      !        "                 "     south    
     34   alins       =  0.1      !        "                 "     south 
    4335/ 
    44 !''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
    45 !       namicedia   parameters for ice diagnostics 
    46 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    47 ! 
    48 !  fmtinf : format of the output values  
    49 !  nfrinf : number of variables written in one line 
    50 !  ntmoy  : instantaneous values of ice evolution or averaging 
    51 !  ninfo  : frequency of ouputs on file ice_evolu in case of averaging 
    52 ! 
    53 &namicedia 
    54    fmtinf = '1PE13.5 ' 
    55    nfrinf = 4 
    56    ntmoy  = 1 
    57    ninfo  = 1 
     36!----------------------------------------------------------------------- 
     37&namicedyn     !   ice dynamic 
     38!----------------------------------------------------------------------- 
     39   epsd        =   1.0e-20 !  tolerance parameter 
     40   alpha       =   0.5     !  coefficient for semi-implicit coriolis 
     41   dm          =   0.6e+03 !  diffusion constant for dynamics 
     42   nbiter      =   1       !  number of sub-time steps for relaxation 
     43   nbitdr      = 100       !  maximum number of iterations for relaxation 
     44   om          =   0.5     !  relaxation constant  
     45   resl        =   5.0e-05 !  maximum value for the residual of relaxation 
     46   cw          =   5.0e-03 !  drag coefficient for oceanic stress 
     47   angvg       =   0.0     !  turning angle for oceanic stress 
     48   pstar       =   1.0e+04 !  1st bulk-rheology parameter 
     49   c_rhg       =  20.0     !  2nd bulk-rhelogy parameter 
     50   etamn       =   0.0e+07 !  minimun value for viscosity 
     51   creepl      =   2.0e-08 !  creep limit 
     52   ecc         =   2.0     !  eccentricity of the elliptical yield curve 
     53   ahi0        = 350.e0    !  horizontal eddy diffusivity coefficient for sea-ice [m2/s] 
    5854/ 
    59 !''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
    60 !       namicedyn   parameters for ice dynamic 
    61 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    62 ! 
    63 !  epsd   : tolerance parameter 
    64 !  alpha  : coefficient for semi-implicit coriolis 
    65 !  bound  : boundary conditions (=0.0 no-slip, =1.0 free-slip) 
    66 !  dm     : diffusion constant for dynamics. 
    67 !  nbiter : number of sub-time steps for relaxation 
    68 !  nbitdr : maximum number of iterations for relaxation 
    69 !  om     : relaxation constant  
    70 !  resl   : maximum value for the residual of relaxation  
    71 !  cw     : drag coefficient for oceanic stress 
    72 !  angvg  : turning angle for oceanic stress 
    73 !  pstar  : first bulk-rheology parameter 
    74 !  c_rhg  : second bulk-rhelogy parameter 
    75 !  etamn  : minimun value for viscosity 
    76 !  creepl : creep limit 
    77 !  ecc    : eccentricity of the elliptical yield curve 
    78 !  ahi0   : horizontal eddy diffusivity coefficient for sea-ice (m2/s) 
    79 ! 
    80 &namicedyn  
    81    epsd   = 1.0e-20 
    82    alpha  = 0.5 
    83    dm     = 0.6e+03 
    84    nbiter = 1 
    85    nbitdr = 100 
    86    om     = 0.5 
    87    resl   = 5.0e-05 
    88    cw     = 5.0e-03 
    89    angvg  = 0.0 
    90    pstar  = 1.0e+04  
    91    c_rhg  = 20.0 
    92    etamn  = 0.0e+07 
    93    creepl = 2.0e-08 
    94    ecc    = 2.0 
    95    ahi0   = 350.e0 
     55!----------------------------------------------------------------------- 
     56&namicetrp     !   ice transport 
     57!----------------------------------------------------------------------- 
     58   bound       =   0.      !  boundary conditions (=0.0 no-slip, =1.0 free-slip) 
    9659/ 
    97 ! 
    98 !''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
    99 !       namicetrp   parameters for ice advection 
    100 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    101 !  bound  : boundary conditions (=0.0 no-slip, =1.0 free-slip) 
    102 &namicetrp  
    103    bound  = 0. 
    104 / 
    105  
    106 !''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
    107 !       namicethd   parameters for thermodynamic computation 
    108 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    109 ! 
     60!----------------------------------------------------------------------- 
     61&namicethd     !   ice thermodynamic 
     62!----------------------------------------------------------------------- 
    11063!  hmelt       : maximum melting at the bottom 
    11164!  hiccrit(1/2): ice thickness for lateral accretion in the Northern (Southern) Hemisphere 
     
    12780!  alphs       : coefficient for snow density when snow ice formation 
    12881!  
    129 &namicethd 
    130    hmelt   = -0.15 
    131    hiccrit = 0.3 , 0.3 
    132    hicmin  = 0.2 
    133    hiclim  = 0.05 
    134    amax    = 0.999  
    135    swiqst  = 1. 
    136    sbeta   = 1. 
    137    parlat  = 0.0 
    138    hakspl  = 0.5 
    139    hibspl  = 0.5 
    140    exld    = 2.0 
    141    hakdif  = 1.0 
    142    thth    = 0.2 
    143    hnzst   = 0.1 
    144    parsub  = 0.0 
    145    alphs   = 1.0 
     82   hmelt       = -0.15     !  maximum melting at the bottom 
     83   hiccrit     = 0.3 , 0.3 !  ice thickness for lateral accretion in the Northern (Southern) Hemisphere 
     84   hicmin      = 0.2       !  ice thickness corr. to max. energy stored in brine pocket 
     85   hiclim      = 0.05      !  minimum ice thickness 
     86   amax        = 0.999     !  maximum lead fraction 
     87   swiqst      = 1.        !  energy stored in brine pocket (=1) or not (=0)     
     88   sbeta       = 1.        !  numerical caracteritic of the scheme for diffusion in ice 
     89   parlat      = 0.0       !  percentage of energy used for lateral ablation 
     90   hakspl      = 0.5       !  slope of distr. for Hakkinen-Mellor's lateral melting 
     91   hibspl      = 0.5       !  slope of distribution for Hibler's lateral melting 
     92   exld        = 2.0       !  exponent for leads-closure rate 
     93   hakdif      = 1.0       !  coefficient for diffusions of ice and snow 
     94   thth        = 0.2       !  threshold thickness for comp. of eq. thermal conductivity 
     95   hnzst       = 0.1       !  thickness of the surf. layer in temp. computation 
     96   parsub      = 0.0       !  switch for snow sublimation or not 
     97   alphs       = 1.0       !  coefficient for snow density when snow ice formation 
    14698/ 
     99!----------------------------------------------------------------------- 
     100&namicedia     !   ice diagnostics 
     101!----------------------------------------------------------------------- 
     102   fmtinf      ='1PE13.5 ' !  format of the output values 
     103   nfrinf      = 4         !  number of variables written in one line 
     104   ntmoy       = 1         !  instantaneous values of ice evolution or averaging 
     105   ninfo       = 1         !  frequency of ouputs on file ice_evolu in case of averaging 
     106/ 
     107!''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
     108&namiceout     !   parameters for outputs 
     109!,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
     110   noumef      =   19      !  number of fields 
    147111! 
    148 !''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' 
    149 !       namiceout   parameters for outputs 
    150 !,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 
    151 ! 
    152 !   noumef      : number of fields 
    153 !   field 
    154 !        title  : title of the field 
    155 !        name   : name of the field 
    156 !        unit   : unit of the field 
    157 !        nc     : switch for saving field ( = 1 ) or not ( = 0 ) 
    158 !        cmulti : multiplicative constant 
    159 !        cadd   : additive constant 
    160 ! 
    161 &namiceout 
    162    noumef   = 19 
    163    field_1  = 'Snow thickness                     ', 'isnowthi', 'm       ', 1, 1.0, 0.0 
    164    field_2  = 'Ice thickness                      ', 'iicethic', 'm       ', 1, 1.0, 0.0 
    165    field_3  = 'Ice produced                       ', 'iiceprod', 'm/kt    ', 1, 1.0, 0.0 
    166    field_4  = 'Ice concentration                  ', 'ileadfra', '%       ', 1, -1.0, 1.0 
    167    field_5  = 'Ice temperature                    ', 'iicetemp', 'C       ', 1, 1.0, -273.15 
    168    field_6  = 'Oceanic flux at the ice base       ', 'ioceflxb', 'w/m2    ', 1, 1.0, 0.0 
    169    field_7  = 'Ice velocity u                     ', 'iicevelu', 'm/s     ', 1, 1.0, 0.0 
    170    field_8  = 'Ice velocity v                     ', 'iicevelv', 'm/s     ', 1, 1.0, 0.0 
    171    field_9  = 'Sea surface temperature            ', 'isstempe', 'C       ', 1, 1.0, -273.15 
    172    field_10 = 'Sea surface salinity               ', 'isssalin', 'PSU     ', 1, 1.0, 0.0 
    173    field_11 = 'Total flux at ocean surface        ', 'iocetflx', 'w/m2    ', 1, 1.0, 0.0 
    174    field_12 = 'Solar flux at ocean surface        ', 'iocesflx', 'w/m2    ', 1, 1.0, 0.0 
    175    field_13 = 'Non-solar flux at ocean surface    ', 'iocwnsfl', 'w/m2    ', 1, 1.0, 0.0 
    176    field_14 = 'Salt flux at ocean surface         ', 'iocesafl', 'kg/m2/kt', 1, 1.0, 0.0 
    177    field_15 = 'Wind stress u                      ', 'iocestru', 'Pa      ', 1, 1.0, 0.0 
    178    field_16 = 'Wind stress v                      ', 'iocestrv', 'Pa      ', 1, 1.0, 0.0  
    179    field_17 = 'Solar flux at ice/ocean surface    ', 'iicesflx', 'w/m2    ', 1, 1.0, 0.0 
    180    field_18 = 'Non-solar flux at ice/ocean surface', 'iicenflx', 'w/m2    ', 1, 1.0, 0.0 
    181    field_19 = 'Snow precipitation                 ', 'isnowpre', 'kg/day  ', 1, 1.0, 0.0 
     112!           !         title of the field           !  name     !   units   !  save  ! multipl. ! additive ! 
     113!           !                                      !           !           ! or not !  factor  !  factor  ! 
     114   field_1  = 'Snow thickness                     ', 'isnowthi', 'm       ',    1   ,  1.0     ,    0.0 
     115   field_2  = 'Ice thickness                      ', 'iicethic', 'm       ',    1   ,  1.0     ,    0.0 
     116   field_3  = 'Ice produced                       ', 'iiceprod', 'm/kt    ',    1   ,  1.0     ,    0.0 
     117   field_4  = 'Ice concentration                  ', 'ileadfra', '%       ',    1   , -1.0     ,    1.0 
     118   field_5  = 'Ice temperature                    ', 'iicetemp', 'C       ',    1   ,  1.0     , -273.15 
     119   field_6  = 'Oceanic flux at the ice base       ', 'ioceflxb', 'w/m2    ',    1   ,  1.0     ,    0.0 
     120   field_7  = 'Ice velocity u                     ', 'iicevelu', 'm/s     ',    1   ,  1.0     ,    0.0 
     121   field_8  = 'Ice velocity v                     ', 'iicevelv', 'm/s     ',    1   ,  1.0     ,    0.0 
     122   field_9  = 'Sea surface temperature            ', 'isstempe', 'C       ',    1   ,  1.0     , -273.15 
     123   field_10 = 'Sea surface salinity               ', 'isssalin', 'PSU     ',    1   ,  1.0     ,    0.0 
     124   field_11 = 'Total flux at ocean surface        ', 'iocetflx', 'w/m2    ',    1   ,  1.0     ,    0.0 
     125   field_12 = 'Solar flux at ocean surface        ', 'iocesflx', 'w/m2    ',    1   ,  1.0     ,    0.0 
     126   field_13 = 'Non-solar flux at ocean surface    ', 'iocwnsfl', 'w/m2    ',    1   ,  1.0     ,    0.0 
     127   field_14 = 'Salt flux at ocean surface         ', 'iocesafl', 'kg/m2/kt',    1   ,  1.0     ,    0.0 
     128   field_15 = 'Wind stress u                      ', 'iocestru', 'Pa      ',    1   ,  1.0     ,    0.0 
     129   field_16 = 'Wind stress v                      ', 'iocestrv', 'Pa      ',    1   ,  1.0     ,    0.0  
     130   field_17 = 'Solar flux at ice/ocean surface    ', 'iicesflx', 'w/m2    ',    1   ,  1.0     ,    0.0 
     131   field_18 = 'Non-solar flux at ice/ocean surface', 'iicenflx', 'w/m2    ',    1   ,  1.0     ,    0.0 
     132   field_19 = 'Snow precipitation                 ', 'isnowpre', 'kg/day  ',    1   ,  1.0     ,    0.0 
    182133/       
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/EXP00/config.card

    r396 r561  
    8080#D- frequency of rebuild submission 
    8181RebuildFrequency=NONE 
     82#D- Do we rebuild parallel output from archive 
     83RebuildFromArchive=true 
    8284#D- If you want to produce time series, this flag determines 
    8385#D- frequency of post-processing submission 
  • CONFIG/IPSLCM/IPSLCM5/branches/IPSLCM5_WORK/scripts/BB_make

    r396 r561  
    22# some variables 
    33TMP = ../../../tmp 
    4 #-Q- platine # Compiler options NEMO (CCRT Itanium Bull) 
    5 #-Q- platine F_O = -O3 -i4 -r8 -module $(MODDIR)/oce -I$(MODDIR) -I$(MODDIR)/oce -I$(NCDF_INC) $(USER_INC) 
    6 #-Q- platine L_X = $(L_O) 
    7 #-Q- sx8mercure  # Compiler options NEMO (CCRT SX8-NEC)  
    8 #-Q- sx8mercure  F_O = -size_t64 -dw -Wf\"-A dbl4\" -sx8 -C vopt -Wf"-P nh" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    9 #-Q- sx8mercure  F_F = $(F_O) -f3 
     4 
     5#WARNING : NEMO does NOT support fortran 95 signed zero behaviour when using intrinsec SIGN function 
     6#          This doesnt happen whith Fortran 90 compilers but 
     7#          Check your compilers option in consequence when using real F95 compilers 
     8 
     9#-Q- platine # Compiler options NEMO (CCRT Itanium Bull)  
     10#-Q- platine F_O = -O3 -i4 -r8 -module $(MODDIR)/oce -I$(MODDIR) -I$(MODDIR)/oce -I$(NCDF_INC) $(USER_INC)  
     11#-Q- platine L_X = $(L_O)  
     12#-Q- sx8mercure  # Compiler options NEMO (CEA SX8-NEC)  
     13#-Q- sx8mercure  F_O = -f2003 nocbind -size_t64 -dw -Wf\"-A dbl4\" -sx8 -C vopt -Wf"-P nh" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC)  
    1014#-Q- sx8mercure  L_X = $(L_O) 
    1115#-Q- sx8brodie  # Compiler options NEMO (IDRIS SX8-NEC)  
    12 #-Q- sx8brodie  F_O = -dw -Wf\"-A idbl4\" -sx8 -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    13 #-Q- sx8brodie  F_F = $(F_O) -f3 
     16#-Q- sx8brodie  F_O =  -f2003 nocbind -dw -Wf\"-A idbl4\" -sx8 -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    1417#-Q- sx8brodie  L_X = $(L_O) 
    1518#-Q- sxdkrz  # Compiler options for NEMO (DKRZ SX6-NEC)  
    16 #-Q- sxdkrz  F_O = -ew -sx6 -ftrace -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf"-pvctl noassume loopcnt=10000" -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    17 #-Q- sxdkrz  F_F = $(F_O) -f3 
     19#-Q- sxdkrz  F_O =  -f2003 nocbind -ew -sx6 -ftrace -C vopt -Wf"-init stack=nan" -Wl"-f nan" -Wf"-P nh -O overlap" -Wf"-pvctl noassume loopcnt=10000" -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    1820#-Q- sxdkrz  L_X = $(L_O) -ftrace 
    1921#-Q- eshpux  # Compiler options for NEMO (Earth Simulator) 
    2022#-Q- eshpux  # for super perfs! 
    21 #-Q- eshpux  # F_O = $(FTRACE) -pi nest=5 line=10000 expin=Fmpplib.F -Wf,-A idbl4 -C hopt -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
     23#-Q- eshpux  # F_O = -f2003 nocbind $(FTRACE) -pi nest=5 line=10000 expin=Fmpplib.F -Wf,-A idbl4 -C hopt -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    2224#-Q- eshpux  # regular options! 
    23 #-Q- eshpux  F_O = $(FTRACE) -Wf,-A idbl4 -C vopt -P stack -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -Wf,-pvctl nomsg -Wf"-O nomsg" -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    24 #-Q- eshpux  F_F = $(F_O) -f3 
     25#-Q- eshpux  F_O = -f2003 nocbind $(FTRACE) -Wf,-A idbl4 -C vopt -P stack -Wf"-P nh -O overlap" -Wf,-pvctl noassume loopcnt=10000 -L transform -Wf,-pvctl nomsg -Wf"-O nomsg" -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    2526#-Q- eshpux  L_X = $(L_O) 
    2627#-Q- linux  # Compiler options for NEMO (pgf version) 
    2728#-Q- linux  F_O = -Mlist -O3 -byteswapio -r8  -I $(MODDIR) -I$(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    28 #-Q- linux  F_F = $(F_O)-Mextend 
    2929#-Q- linux  L_X = -r8 -O3 
    3030#-Q- lxiv7  # Compiler options for NEMO (ifc version) 
    3131#-Q- lxiv7  F_O = -O3 -r8  -I $(MODDIR) -I$(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    32 #-Q- lxiv7  F_F = $(F_O) -extend_source  
    3332#-Q- lxiv7  L_X = -r8 -O3 
    3433#-Q- lxiv8  # Compiler options for NEMO (ifort version) 
    3534#-Q- lxiv8  F_O = -O3 -r8  -I $(MODDIR) -I$(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    36 #-Q- lxiv8  F_F = $(F_O) -extend_source  
    3735#-Q- lxiv8  L_X = -r8 -O3 
    3836#-Q- g95  # Compiler options for NEMO (g95 version) 
    3937#-Q- g95  F_O = -O3 -fno-second-underscore -r8 -funroll-all-loops -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    40 #-Q- g95  F_F = $(F_O)-ffixed-form -ffixed-line-length-132 
    4138#-Q- g95  L_X = -r8 -O3 
     39#-Q- gfortran  # Compiler options for NEMO (gfortran version) 
     40#-Q- gfortran  F_O = -fno-second-underscore -fdefault-real-8 -funroll-all-loops -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
     41#-Q- gfortran  L_X = -fdefault-real-8 
    4242#-Q- aix    # Compiler options for NEMO (aix version) 
    4343#-Q- aix    F_O = -O3 -qsave -qrealsize=8 -qsuffix=f=f90 -qsuffix=cpp=F90 -qextname -qsource -q64 -qlargepage -qmaxmem=-1 -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    44 #-Q- aix    F_F = -O3 -qsave -qrealsize=8 -qsuffix=f=f -qsuffix=cpp=F -qfixed=132 -qextname -qsource -q64 -qlargepage -qmaxmem=-1 -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    4544#-Q- aix   L_O = $(F_P) -q64 -O3 
    4645#-Q- aix   L_X = $(L_O) 
     46#-Q- aix6    # Compiler options for NEMO (aix6 version) 
     47#-Q- aix6    F_O = -O3 -qsave -qrealsize=8 -qsuffix=f=f90 -qsuffix=cpp=F90 -qextname -qsource -q64 -qlargepage -qmaxmem=-1 -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
     48#-Q- aix6   L_O = $(F_P) -q64 -O3 
     49#-Q- aix6   L_X = $(L_O) 
     50#-Q- babel  # Compiler options for NEMO (blue gene version) 
     51#-Q- babel  F_O =  -O3 -qsave -qrealsize=8 -qsuffix=f=f90 -qsuffix=cpp=F90 -qsource -qextname=flush -qlargepage -qmaxmem=-1 -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
     52#-Q- babel  L_X = $(L_O) 
    4753#-Q- osxxlf    # Compiler options for NEMO (osxxlf version) 
    4854#-Q- osxxlf    F_O = -O3 -qsave -qrealsize=8 -qsuffix=f=f90 -qsuffix=cpp=F90 -qsource -qextname -qstrict -qmaxmem=-1 -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    49 #-Q- osxxlf    F_F = -O3 -qsave -qrealsize=8 -qsuffix=f=f -qsuffix=cpp=F -qfixed=132 -qsource -qextname -qstrict -qmaxmem=-1 -I $(MODDIR) -I $(MODDIR)/oce -I $(NCDF_INC) $(USER_INC) 
    5055#-Q- osxxlf    L_X = -qrealsize=8 -O3 
    5156PREF= 
     
    5661 
    5762# add suffix to P_P 
    58 P_P := $(P_P:%=$(prefix)%) 
     63override P_P := $(P_P:%=$(prefix)%) 
    5964 
    6065# Some tests to define variables related to Agrif compilation 
     
    7681     key_antarctic \ 
    7782     key_arctic \ 
    78      key_barotropic \ 
    7983     key_bdy \ 
    80      key_bdy_tides \ 
    8184     key_c1d \ 
     85     key_cfg_1d \ 
    8286     key_coupled \ 
    8387     key_cpl_albedo \ 
     
    129133     key_orca_r2 \ 
    130134     key_orca_r4 \ 
    131      key_passivetrc \ 
    132135     key_pisces \ 
    133136     key_sigma_vvl \ 
     
    150153     key_vvl \ 
    151154     key_zco \ 
    152      key_zco \ 
    153155     key_zdfcst \ 
    154156     key_zdfddm \ 
    155157     key_zdfkpp \ 
    156158     key_zdfric \ 
    157      key_zdftke  
     159     key_zdftke \ 
     160     key_zdftke2  
    158161# .o file list in the library 
    159162LIB_OBJ = \ 
     
    161164                $(MODEL_LIB)(lib_isml.o)\ 
    162165                $(MODEL_LIB)(lib_print.o)\ 
    163                 $(MODEL_LIB)(agrif_oce.o)\ 
    164166                $(MODEL_LIB)(agrif_opa_interp.o)\ 
    165167                $(MODEL_LIB)(agrif_opa_sponge.o)\ 
    166168                $(MODEL_LIB)(agrif_opa_update.o)\ 
    167                 $(MODEL_LIB)(agrif_top_interp.o)\ 
    168                 $(MODEL_LIB)(agrif_top_update.o)\ 
    169                 $(MODEL_LIB)(agrif_user.o)\ 
    170169                $(MODEL_LIB)(albedo.o)\ 
    171                 $(MODEL_LIB)(bdy_oce.o)\ 
    172                 $(MODEL_LIB)(bdy_par.o)\ 
    173170                $(MODEL_LIB)(bdydta.o)\ 
    174171                $(MODEL_LIB)(bdydyn.o)\ 
    175172                $(MODEL_LIB)(bdyini.o)\ 
     173                $(MODEL_LIB)(bdy_oce.o)\ 
     174                $(MODEL_LIB)(bdy_par.o)\ 
    176175                $(MODEL_LIB)(bdytides.o)\ 
    177176                $(MODEL_LIB)(bdytra.o)\ 
    178177                $(MODEL_LIB)(bdyvol.o)\ 
    179178                $(MODEL_LIB)(c1d.o)\ 
    180                 $(MODEL_LIB)(cla.o)\ 
    181179                $(MODEL_LIB)(cla_div.o)\ 
    182180                $(MODEL_LIB)(cla_dynspg.o)\ 
     181                $(MODEL_LIB)(cla.o)\ 
    183182                $(MODEL_LIB)(closea.o)\ 
    184183                $(MODEL_LIB)(cpl_oasis3.o)\ 
    185184                $(MODEL_LIB)(cpl_oasis4.o)\ 
    186                 $(MODEL_LIB)(cpl_oce.o)\ 
    187185                $(MODEL_LIB)(ctlopn.o)\ 
    188186                $(MODEL_LIB)(daymod.o)\ 
     
    195193                $(MODEL_LIB)(diaptr.o)\ 
    196194                $(MODEL_LIB)(diaspr.o)\ 
     195                $(MODEL_LIB)(diawri_c1d.o)\ 
    197196                $(MODEL_LIB)(diawri.o)\ 
    198                 $(MODEL_LIB)(diawri_c1d.o)\ 
    199197                $(MODEL_LIB)(divcur.o)\ 
    200                 $(MODEL_LIB)(dom_ice_2.o)\ 
    201                 $(MODEL_LIB)(dom_oce.o)\ 
    202198                $(MODEL_LIB)(domain.o)\ 
    203199                $(MODEL_LIB)(domcfg.o)\ 
    204200                $(MODEL_LIB)(domhgr.o)\ 
     201                $(MODEL_LIB)(dom_ice_2.o)\ 
    205202                $(MODEL_LIB)(dommsk.o)\ 
     203                $(MODEL_LIB)(dom_oce.o)\ 
    206204                $(MODEL_LIB)(domstp.o)\ 
    207205                $(MODEL_LIB)(domvvl.o)\ 
     
    210208                $(MODEL_LIB)(dtasal.o)\ 
    211209                $(MODEL_LIB)(dtatem.o)\ 
     210                $(MODEL_LIB)(dynadv_cen2.o)\ 
    212211                $(MODEL_LIB)(dynadv.o)\ 
    213                 $(MODEL_LIB)(dynadv_cen2.o)\ 
    214212                $(MODEL_LIB)(dynadv_ubs.o)\ 
    215213                $(MODEL_LIB)(dyncor_c1d.o)\ 
    216214                $(MODEL_LIB)(dynhpg.o)\ 
    217215                $(MODEL_LIB)(dynkeg.o)\ 
    218                 $(MODEL_LIB)(dynldf.o)\ 
    219216                $(MODEL_LIB)(dynldf_bilap.o)\ 
    220217                $(MODEL_LIB)(dynldf_bilapg.o)\ 
     218                $(MODEL_LIB)(dynldf.o)\ 
    221219                $(MODEL_LIB)(dynldf_iso.o)\ 
    222220                $(MODEL_LIB)(dynldf_lap.o)\ 
     221                $(MODEL_LIB)(dynnxt_c1d.o)\ 
    223222                $(MODEL_LIB)(dynnxt.o)\ 
    224                 $(MODEL_LIB)(dynnxt_c1d.o)\ 
     223                $(MODEL_LIB)(dynspg_exp.o)\ 
    225224                $(MODEL_LIB)(dynspg.o)\ 
    226                 $(MODEL_LIB)(dynspg_exp.o)\ 
    227225                $(MODEL_LIB)(dynspg_flt.o)\ 
    228226                $(MODEL_LIB)(dynspg_oce.o)\ 
     
    231229                $(MODEL_LIB)(dynvor.o)\ 
    232230                $(MODEL_LIB)(dynzad.o)\ 
     231                $(MODEL_LIB)(dynzdf_exp.o)\ 
    233232                $(MODEL_LIB)(dynzdf.o)\ 
    234                 $(MODEL_LIB)(dynzdf_exp.o)\ 
    235233                $(MODEL_LIB)(dynzdf_imp.o)\ 
    236234                $(MODEL_LIB)(eosbn2.o)\ 
    237235                $(MODEL_LIB)(fldread.o)\ 
    238236                $(MODEL_LIB)(flo4rk.o)\ 
    239                 $(MODEL_LIB)(flo_oce.o)\ 
    240237                $(MODEL_LIB)(floats.o)\ 
    241238                $(MODEL_LIB)(floblk.o)\ 
    242239                $(MODEL_LIB)(flodom.o)\ 
     240                $(MODEL_LIB)(flo_oce.o)\ 
    243241                $(MODEL_LIB)(flowri.o)\ 
    244242                $(MODEL_LIB)(geo2ocean.o)\ 
    245243                $(MODEL_LIB)(ice_2.o)\ 
     244                $(MODEL_LIB)(iceini_2.o)\ 
    246245                $(MODEL_LIB)(ice_oce.o)\ 
    247                 $(MODEL_LIB)(iceini_2.o)\ 
    248246                $(MODEL_LIB)(in_out_manager.o)\ 
    249                 $(MODEL_LIB)(initrc.o)\ 
     247                $(MODEL_LIB)(iom_def.o)\ 
    250248                $(MODEL_LIB)(iom.o)\ 
    251                 $(MODEL_LIB)(iom_def.o)\ 
    252249                $(MODEL_LIB)(iom_ioipsl.o)\ 
    253250                $(MODEL_LIB)(iom_nf90.o)\ 
     
    281278                $(MODEL_LIB)(mppini.o)\ 
    282279                $(MODEL_LIB)(oasis4_date.o)\ 
    283                 $(MODEL_LIB)(obc_oce.o)\ 
    284                 $(MODEL_LIB)(obc_par.o)\ 
    285280                $(MODEL_LIB)(obccli.o)\ 
    286281                $(MODEL_LIB)(obcdom.o)\ 
    287282                $(MODEL_LIB)(obcdta.o)\ 
     283                $(MODEL_LIB)(obcdyn_bt.o)\ 
    288284                $(MODEL_LIB)(obcdyn.o)\ 
    289                 $(MODEL_LIB)(obcdyn_bt.o)\ 
    290285                $(MODEL_LIB)(obcfla.o)\ 
    291286                $(MODEL_LIB)(obcini.o)\ 
     287                $(MODEL_LIB)(obc_oce.o)\ 
     288                $(MODEL_LIB)(obc_par.o)\ 
    292289                $(MODEL_LIB)(obcrad.o)\ 
    293290                $(MODEL_LIB)(obcrst.o)\ 
     
    296293                $(MODEL_LIB)(obcvol.o)\ 
    297294                $(MODEL_LIB)(oce.o)\ 
    298                 $(MODEL_LIB)(ocfzpt.o)\ 
    299295                $(MODEL_LIB)(opa.o)\ 
    300296                $(MODEL_LIB)(par_ice_2.o)\ 
     
    304300                $(MODEL_LIB)(prtctl.o)\ 
    305301                $(MODEL_LIB)(restart.o)\ 
    306                 $(MODEL_LIB)(sbc_ice.o)\ 
    307                 $(MODEL_LIB)(sbc_oce.o)\ 
    308302                $(MODEL_LIB)(sbcana.o)\ 
    309303                $(MODEL_LIB)(sbcblk_clio.o)\ 
     
    312306                $(MODEL_LIB)(sbcflx.o)\ 
    313307                $(MODEL_LIB)(sbcfwb.o)\ 
     308                $(MODEL_LIB)(sbc_ice.o)\ 
    314309                $(MODEL_LIB)(sbcice_if.o)\ 
     310                $(MODEL_LIB)(sbcice_lim_2.o)\ 
    315311                $(MODEL_LIB)(sbcice_lim.o)\ 
    316                 $(MODEL_LIB)(sbcice_lim_2.o)\ 
    317312                $(MODEL_LIB)(sbcmod.o)\ 
     313                $(MODEL_LIB)(sbc_oce.o)\ 
    318314                $(MODEL_LIB)(sbcrnf.o)\ 
    319315                $(MODEL_LIB)(sbcssm.o)\ 
    320316                $(MODEL_LIB)(sbcssr.o)\ 
    321317                $(MODEL_LIB)(sms.o)\ 
    322                 $(MODEL_LIB)(sol_oce.o)\ 
    323318                $(MODEL_LIB)(solfet.o)\ 
    324319                $(MODEL_LIB)(solisl.o)\ 
    325320                $(MODEL_LIB)(solmat.o)\ 
     321                $(MODEL_LIB)(sol_oce.o)\ 
    326322                $(MODEL_LIB)(solpcg.o)\ 
    327323                $(MODEL_LIB)(solsor.o)\ 
    328324                $(MODEL_LIB)(solver.o)\ 
     325                $(MODEL_LIB)(step_c1d.o)\ 
    329326                $(MODEL_LIB)(step.o)\ 
    330                 $(MODEL_LIB)(step_c1d.o)\ 
    331327                $(MODEL_LIB)(stpctl.o)\ 
    332328                $(MODEL_LIB)(thd_ice_2.o)\ 
    333                 $(MODEL_LIB)(traadv.o)\ 
    334329                $(MODEL_LIB)(traadv_cen2.o)\ 
    335330                $(MODEL_LIB)(traadv_eiv.o)\ 
     331                $(MODEL_LIB)(traadv.o)\ 
     332                $(MODEL_LIB)(traadv_muscl2.o)\ 
    336333                $(MODEL_LIB)(traadv_muscl.o)\ 
    337                 $(MODEL_LIB)(traadv_muscl2.o)\ 
    338334                $(MODEL_LIB)(traadv_qck.o)\ 
    339335                $(MODEL_LIB)(traadv_tvd.o)\ 
     
    342338                $(MODEL_LIB)(trabbl.o)\ 
    343339                $(MODEL_LIB)(tradmp.o)\ 
    344                 $(MODEL_LIB)(traldf.o)\ 
    345340                $(MODEL_LIB)(traldf_bilap.o)\ 
    346341                $(MODEL_LIB)(traldf_bilapg.o)\ 
     342                $(MODEL_LIB)(traldf.o)\ 
    347343                $(MODEL_LIB)(traldf_iso.o)\ 
    348344                $(MODEL_LIB)(traldf_lap.o)\ 
     
    351347                $(MODEL_LIB)(traqsr.o)\ 
    352348                $(MODEL_LIB)(trasbc.o)\ 
     349                $(MODEL_LIB)(trazdf_exp.o)\ 
    353350                $(MODEL_LIB)(trazdf.o)\ 
    354                 $(MODEL_LIB)(trazdf_exp.o)\ 
    355351                $(MODEL_LIB)(trazdf_imp.o)\ 
     352                $(MODEL_LIB)(trcini.o)\ 
    356353                $(MODEL_LIB)(trc_oce.o)\ 
    357354                $(MODEL_LIB)(trcstp.o)\ 
     
    366363                $(MODEL_LIB)(trdvor_oce.o)\ 
    367364                $(MODEL_LIB)(wzvmod.o)\ 
    368                 $(MODEL_LIB)(zdf_oce.o)\ 
    369365                $(MODEL_LIB)(zdfbfr.o)\ 
    370366                $(MODEL_LIB)(zdfddm.o)\ 
     
    373369                $(MODEL_LIB)(zdfkpp.o)\ 
    374370                $(MODEL_LIB)(zdfmxl.o)\ 
     371                $(MODEL_LIB)(zdf_oce.o)\ 
    375372                $(MODEL_LIB)(zdfric.o)\ 
     373                $(MODEL_LIB)(zdftke2.o)\ 
    376374                $(MODEL_LIB)(zdftke.o)\ 
    377375                $(MODEL_LIB)(zpshde.o) 
     
    397395$(EXEC_BIN) :   libioipsl firstagrif mpiagrif key keyverif src_file_list libagrif $(MODEL_LIB) $(IOIPSL_LIB) $(AGRIF_LIB) agrif2model.o model.o 
    398396ifeq ($(AGRIF),use) 
    399                 $(F_L) $(L_X) -o $(EXEC_BIN) model.o agrif2model.o $(SXMODEL_LIB) $(OASIS_LIB) $(IOIPSL_LIB) $(AGRIF_LIB) $(NCDF_LIB) $(LIBMPI) $(LIBMP) 
     397                $(F_L) $(L_X) -o $(EXEC_BIN) model.o agrif2model.o $(SXMODEL_LIB) $(USER_LIB) $(IOIPSL_LIB) $(AGRIF_LIB) $(NCDF_LIB) $(LIBMPI) $(LIBMP) 
    400398else 
    401                 $(F_L) $(L_X) -o $(EXEC_BIN) model.o $(SXMODEL_LIB) $(OASIS_LIB) $(IOIPSL_LIB) $(NCDF_LIB) $(LIBMPI) $(LIBMP) 
     399                $(F_L) $(L_X) -o $(EXEC_BIN) model.o $(SXMODEL_LIB) $(USER_LIB) $(IOIPSL_LIB) $(NCDF_LIB) $(LIBMPI) $(LIBMP) 
    402400endif 
    403401 
     
    420418        @$(F_C) \ 
    421419#-Q- aix                -qsuffix=f=F90 \ 
     420#-Q- aix6               -qsuffix=f=F90 \ 
     421#-Q- babel              -qsuffix=f=F90 \ 
    422422#-Q- osxxlf             -qsuffix=f=F90 \ 
    423423        $(P_P) $(F_O) \ 
     
    427427#-Q- sxdkrz             -R2 \ 
    428428#-Q- eshpux             -R2 \ 
     429#-Q- aix6               -qsource \ 
    429430#-Q- aix                -qsource \ 
     431#-Q- babel              -qsource \ 
    430432           OPAFILES/$*.F90 || { mv $(PREF).L $(TMP) ; false ; exit ; } 
    431433#-Q- sxdkrz             @$(A_X) $(SXMODEL_LIB) $*.o  > /dev/null 
     
    464466#-Q- eshpux             -R2 \ 
    465467#-Q- aix                -qsource \ 
     468#-Q- aix6               -qsource \ 
     469#-Q- babel              -qsource \ 
    466470                $*.f90 || { if [ -f $(PREF)$*.L ] ; then mv $(PREF)$*.L $(TMP) ; fi ; false ; exit ; } 
    467471#-Q- sxdkrz             @$(A_X) $(SXMODEL_LIB) $*.o  > /dev/null 
     
    471475                @if [ -f $*.mod ] ; then mv $*.mod $(MODDIR)/oce ; fi 
    472476#-Q- aix                @mv $(PREF)$*.lst $(PREF)$*.L 
     477#-Q- aix6               @mv $(PREF)$*.lst $(PREF)$*.L 
     478#-Q- babel              @mv $(PREF)$*.lst $(PREF)$*.L 
    473479#-Q- linux              @mv $(PREF)$*.lst $(PREF)$*.L 
    474480#-Q- osxxlf             @mv $(PREF)$*.lst $(PREF)$*.L 
     
    481487                @(cd OPAFILES ; ./conv agrif_opa.in -rm \ 
    482488#-Q- linux              -SubloopScalar \ 
    483 #-Q- lxiv8              -SubloopScalar \ 
    484489#-Q- g95                        -SubloopScalar \ 
    485490#-Q- f95                        -SubloopScalar \ 
     
    496501#-Q- eshpux             -R2 \ 
    497502#-Q- aix                -qsource \ 
     503#-Q- aix6               -qsource \ 
     504#-Q- babel              -qsource \ 
    498505                OPAFILES/$*.F90 || { if [ -f $(PREF)$*.L ] ; then mv $(PREF)$*.L $(TMP) ; fi ; false ; exit ; }  
    499506else 
     
    505512#-Q- eshpux             -R2 \ 
    506513#-Q- aix                -qsource \ 
     514#-Q- aix6               -qsource \ 
     515#-Q- babel              -qsource \ 
    507516                $*.F90 || { if [ -f $(PREF)$*.L ] ; then mv $(PREF)$*.L $(TMP) ; fi ; false ; exit ; } 
    508517endif 
     
    513522                @if [ -f $*.mod ] ; then mv $*.mod $(MODDIR)/oce ; fi 
    514523#-Q- aix                @mv $(PREF)$*.lst $(PREF)$*.L 
     524#-Q- aix6               @mv $(PREF)$*.lst $(PREF)$*.L 
     525#-Q- babel              @mv $(PREF)$*.lst $(PREF)$*.L 
    515526#-Q- linux              @mv $(PREF)$*.lst $(PREF)$*.L 
    516527#-Q- osxxlf             @mv $(PREF)$*.lst $(PREF)$*.L 
    517528                @if [ -f $(PREF)$*.L ] ; then mv $(PREF)$*.L $(TMP) ; fi 
    518529 
    519 # rules for the .F files 
    520 .F.a :            
    521 ifeq ($(AGRIF),use)  
    522                 @$(P_C) $(P_O) -IOPAFILES/AGRIF_INC $*.F > OPAFILES/$*.F  
    523                 @(cd OPAFILES ; ./conv agrif_opa.in -rm \ 
    524 #-Q- linux              -SubloopScalar \ 
    525 #-Q- lxiv8              -SubloopScalar \ 
    526 #-Q- g95                        -SubloopScalar \ 
    527 #-Q- f95                        -SubloopScalar \ 
    528 #-Q- osf1                       -SubloopScalar \ 
    529                 -comdirin ./ -comdirout AGRIF_MODELFILES/. -convfile $*.F) 
    530                 -@mv -f OPAFILES/AGRIF_MODELFILES/$*.F OPAFILES/$*.F 
    531                 @$(P_C) $(P_O) -IOPAFILES/AGRIF_INC OPAFILES/$*.F > OPAFILES/AGRIF_MODELFILES/$*.F 
    532                 -@mv -f OPAFILES/AGRIF_MODELFILES/$*.F OPAFILES/$*.F 
    533                 @$(F_C) $(P_P) $(F_F) \ 
    534 #-Q- fjvpp              -Z $*.L \ 
    535 #-Q- sx8mercure         -R2 \ 
    536 #-Q- sx8brodie          -R2 \ 
    537 #-Q- sxdkrz             -R2 \ 
    538 #-Q- eshpux             -R2 \ 
    539 #-Q- aix                -qsource \ 
    540                 OPAFILES/$*.F || { if [ -f $(PREF)$*.L ] ; then mv $(PREF)$*.L $(TMP) ; fi ; false ; exit ; }  
    541 else 
    542                 @$(F_C) $(P_P) $(F_O) \ 
    543 #-Q- fjvpp              -Z $*.L \ 
    544 #-Q- sx8mercure         -R2 \ 
    545 #-Q- sx8brodie          -R2 \ 
    546 #-Q- sxdkrz             -R2 \ 
    547 #-Q- eshpux             -R2 \ 
    548 #-Q- aix                -qsource \ 
    549                 $*.F || { if [ -f $(PREF)$*.L ] ; then mv $(PREF)$*.L $(TMP) ; fi ; false ; exit ; } 
    550 endif 
    551 #-Q- sxdkrz             @$(A_X) $(SXMODEL_LIB) $*.o  > /dev/null 
    552 #-Q- eshpux             @$(A_X) $(SXMODEL_LIB) $*.o  > /dev/null 
    553                 @$(A_C) $(MODEL_LIB) $*.o  > /dev/null 
    554                 @$(RM) $*.[of] 
    555                 @if [ -f $*.mod ] ; then mv $*.mod $(MODDIR)/oce ; fi 
    556 #-Q- aix                @mv $(PREF)$*.lst $(PREF)$*.L 
    557 #-Q- linux              @mv $(PREF)$*.lst $(PREF)$*.L 
    558 #-Q- osxxlf             @mv $(PREF)$*.lst $(PREF)$*.L 
    559                 @if [ -f $(PREF)$*.L ] ; then mv $(PREF)$*.L $(TMP) ; fi 
    560  
    561 # rules for the library from the .f files  
    562 .f.a :           
    563                 @$(F_C) $(F_O) \ 
    564 #-Q- fjvpp              -Z $*.L \ 
    565 #-Q- sx8mercure         -R2 \ 
    566 #-Q- sx8brodie          -R2 \ 
    567 #-Q- sxdkrz             -R2 \ 
    568 #-Q- eshpux             -R2 \ 
    569 #-Q- aix                -qsource \ 
    570                 $*.f|| { if [ -f $(PREF)$*.L ] ; then mv $*.L $(TMP) ; fi ; false ; exit ; } 
    571 #-Q- sxdkrz             @$(A_X) $(SXMODEL_LIB) $*.o  > /dev/null 
    572 #-Q- eshpux             @$(A_X) $(SXMODEL_LIB) $*.o  > /dev/null 
    573                 @$(A_C) $(MODEL_LIB) $*.o  > /dev/null 
    574                 @$(RM) -f $*.o 
    575 #-Q- aix                @mv $(PREF)$*.lst $(PREF)$*.L 
    576 #-Q- linux      @mv $(PREF)$*.lst $(PREF)$*.L 
    577 #-Q- osxxlf             @mv $(PREF)$*.lst $(PREF)$*.L 
    578                 @if [ -f $(PREF)$*.L ] ; then mv $*.L $(TMP) ; fi 
    579  
    580 $(MODEL_LIB)(agrif_oce.o) :     \ 
    581         $(MODEL_LIB)(par_kind.o) \ 
    582         $(MODEL_LIB)(par_oce.o) \ 
    583         par_kind.F90 \ 
    584         par_oce.F90 \ 
    585         $(MODEL_LIB)(dom_oce.o) \ 
    586         $(MODEL_LIB)(par_oce.o) \ 
    587         dom_oce.F90 \ 
    588         par_oce.F90 \ 
    589         KEY_CPP \ 
    590         agrif_oce.F90 
    591530$(MODEL_LIB)(agrif_opa_interp.o) :      \ 
    592         $(MODEL_LIB)(dom_oce.o) \ 
    593         $(MODEL_LIB)(in_out_manager.o) \ 
    594         $(MODEL_LIB)(lib_print.o) \ 
    595         $(MODEL_LIB)(par_kind.o) \ 
    596         $(MODEL_LIB)(par_oce.o) \ 
    597         dom_oce.F90 \ 
    598         in_out_manager.F90 \ 
    599         lib_print.f90 \ 
    600         par_kind.F90 \ 
    601         par_oce.F90 \ 
    602         $(MODEL_LIB)(agrif_oce.o) \ 
    603         $(MODEL_LIB)(dom_oce.o) \ 
    604         $(MODEL_LIB)(in_out_manager.o) \ 
    605         $(MODEL_LIB)(oce.o) \ 
    606         $(MODEL_LIB)(par_oce.o) \ 
    607         $(MODEL_LIB)(phycst.o) \ 
    608         $(MODEL_LIB)(sol_oce.o) \ 
    609         agrif_oce.F90 \ 
    610         dom_oce.F90 \ 
    611         in_out_manager.F90 \ 
    612         oce.F90 \ 
    613         par_oce.F90 \ 
    614         phycst.F90 \ 
    615         sol_oce.F90 \ 
    616         domzgr_substitute.h90 \ 
    617         vectopt_loop_substitute.h90 \ 
    618         $(AGRIF_LIB) \ 
    619         KEY_CPP \ 
    620531        agrif_opa_interp.F90 
    621532$(MODEL_LIB)(agrif_opa_sponge.o) :      \ 
    622         $(MODEL_LIB)(dom_oce.o) \ 
    623         $(MODEL_LIB)(lib_print.o) \ 
    624         $(MODEL_LIB)(par_kind.o) \ 
    625         $(MODEL_LIB)(par_oce.o) \ 
    626         dom_oce.F90 \ 
    627         lib_print.f90 \ 
    628         par_kind.F90 \ 
    629         par_oce.F90 \ 
    630         $(MODEL_LIB)(agrif_oce.o) \ 
    631         $(MODEL_LIB)(dom_oce.o) \ 
    632         $(MODEL_LIB)(in_out_manager.o) \ 
    633         $(MODEL_LIB)(oce.o) \ 
    634         $(MODEL_LIB)(par_oce.o) \ 
    635         agrif_oce.F90 \ 
    636         dom_oce.F90 \ 
    637         in_out_manager.F90 \ 
    638         oce.F90 \ 
    639         par_oce.F90 \ 
    640         domzgr_substitute.h90 \ 
    641         $(AGRIF_LIB) \ 
    642         KEY_CPP \ 
    643533        agrif_opa_sponge.F90 
    644534$(MODEL_LIB)(agrif_opa_update.o) :      \ 
    645         $(MODEL_LIB)(bdy_oce.o) \ 
    646         $(MODEL_LIB)(dom_oce.o) \ 
    647         $(MODEL_LIB)(domvvl.o) \ 
    648         $(MODEL_LIB)(in_out_manager.o) \ 
    649         $(MODEL_LIB)(lbclnk.o) \ 
    650         $(MODEL_LIB)(lib_mpp.o) \ 
    651         $(MODEL_LIB)(obc_oce.o) \ 
    652         $(MODEL_LIB)(oce.o) \ 
    653         $(MODEL_LIB)(par_kind.o) \ 
    654         $(MODEL_LIB)(par_oce.o) \ 
    655         $(MODEL_LIB)(phycst.o) \ 
    656         $(MODEL_LIB)(prtctl.o) \ 
    657         $(MODEL_LIB)(sbc_oce.o) \ 
     535        agrif_opa_update.F90 
     536$(MODEL_LIB)(albedo.o) :        \ 
     537        in_out_manager.F90 \ 
     538        lib_print.f90 \ 
     539        $(MODEL_LIB)(in_out_manager.o) \ 
     540        $(MODEL_LIB)(lib_print.o) \ 
     541        $(MODEL_LIB)(par_kind.o) \ 
     542        $(MODEL_LIB)(par_oce.o) \ 
     543        par_kind.F90 \ 
     544        par_oce.F90 \ 
     545        in_out_manager.F90 \ 
     546        $(MODEL_LIB)(in_out_manager.o) \ 
     547        $(MODEL_LIB)(phycst.o) \ 
     548        phycst.F90 \ 
     549        KEY_CPP \ 
     550        albedo.F90 
     551$(MODEL_LIB)(bdydta.o) :        \ 
    658552        bdy_oce.F90 \ 
    659         dom_oce.F90 \ 
    660         domvvl.F90 \ 
    661         in_out_manager.F90 \ 
    662         lbclnk.F90 \ 
    663         lib_mpp.F90 \ 
    664         obc_oce.F90 \ 
    665         oce.F90 \ 
    666         par_kind.F90 \ 
    667         par_oce.F90 \ 
    668         phycst.F90 \ 
    669         prtctl.F90 \ 
    670         sbc_oce.F90 \ 
    671         $(MODEL_LIB)(agrif_oce.o) \ 
    672         $(MODEL_LIB)(cla_div.o) \ 
    673         $(MODEL_LIB)(divcur.o) \ 
    674         $(MODEL_LIB)(dom_oce.o) \ 
    675         $(MODEL_LIB)(oce.o) \ 
    676         $(MODEL_LIB)(ocfzpt.o) \ 
    677         $(MODEL_LIB)(par_oce.o) \ 
    678         $(MODEL_LIB)(wzvmod.o) \ 
    679         agrif_oce.F90 \ 
    680         cla_div.F90 \ 
    681         divcur.F90 \ 
    682         dom_oce.F90 \ 
    683         oce.F90 \ 
    684         ocfzpt.F90 \ 
    685         par_oce.F90 \ 
    686         wzvmod.F90 \ 
    687         domzgr_substitute.h90 \ 
    688         $(AGRIF_LIB) \ 
    689         KEY_CPP \ 
    690         agrif_opa_update.F90 
    691 $(MODEL_LIB)(agrif_top_interp.o) :      \ 
    692         $(MODEL_LIB)(dom_oce.o) \ 
    693         $(MODEL_LIB)(par_kind.o) \ 
    694         $(MODEL_LIB)(par_oce.o) \ 
    695         dom_oce.F90 \ 
    696         par_kind.F90 \ 
    697         par_oce.F90 \ 
    698         $(MODEL_LIB)(agrif_oce.o) \ 
    699         $(MODEL_LIB)(dom_oce.o) \ 
    700         $(MODEL_LIB)(oce.o) \ 
    701         $(MODEL_LIB)(par_oce.o) \ 
    702         $(MODEL_LIB)(sms.o) \ 
    703         $(MODEL_LIB)(sol_oce.o) \ 
    704         $(MODEL_LIB)(trcstp.o) \ 
    705         agrif_oce.F90 \ 
    706         dom_oce.F90 \ 
    707         oce.F90 \ 
    708         par_oce.F90 \ 
    709         sms.F90 \ 
    710         sol_oce.F90 \ 
    711         trcstp.F90 \ 
    712         domzgr_substitute.h90 \ 
    713         vectopt_loop_substitute.h90 \ 
    714         $(AGRIF_LIB) \ 
    715         KEY_CPP \ 
    716         agrif_top_interp.F90 
    717 $(MODEL_LIB)(agrif_top_update.o) :      \ 
    718         $(MODEL_LIB)(dom_oce.o) \ 
    719         $(MODEL_LIB)(par_kind.o) \ 
    720         $(MODEL_LIB)(par_oce.o) \ 
    721         dom_oce.F90 \ 
    722         par_kind.F90 \ 
    723         par_oce.F90 \ 
    724         $(MODEL_LIB)(agrif_oce.o) \ 
    725         $(MODEL_LIB)(dom_oce.o) \ 
    726         $(MODEL_LIB)(oce.o) \ 
    727         $(MODEL_LIB)(par_oce.o) \ 
    728         $(MODEL_LIB)(sms.o) \ 
    729         $(MODEL_LIB)(trcstp.o) \ 
    730         agrif_oce.F90 \ 
    731         dom_oce.F90 \ 
    732         oce.F90 \ 
    733         par_oce.F90 \ 
    734         sms.F90 \ 
    735         trcstp.F90 \ 
    736         domzgr_substitute.h90 \ 
    737         $(AGRIF_LIB) \ 
    738         KEY_CPP \ 
    739         agrif_top_update.F90 
    740 $(MODEL_LIB)(agrif_user.o) :    \ 
    741         $(MODEL_LIB)(agrif_oce.o) \ 
    742         $(MODEL_LIB)(bdy_par.o) \ 
    743         $(MODEL_LIB)(bdyini.o) \ 
    744         $(MODEL_LIB)(bdytides.o) \ 
    745         $(MODEL_LIB)(c1d.o) \ 
    746         $(MODEL_LIB)(cla_div.o) \ 
    747         $(MODEL_LIB)(cpl_oasis3.o) \ 
    748         $(MODEL_LIB)(daymod.o) \ 
    749         $(MODEL_LIB)(diaptr.o) \ 
    750         $(MODEL_LIB)(divcur.o) \ 
    751         $(MODEL_LIB)(dom_oce.o) \ 
    752         $(MODEL_LIB)(domain.o) \ 
    753         $(MODEL_LIB)(domcfg.o) \ 
    754         $(MODEL_LIB)(dtasal.o) \ 
    755         $(MODEL_LIB)(dtatem.o) \ 
    756         $(MODEL_LIB)(dyncor_c1d.o) \ 
    757         $(MODEL_LIB)(dynspg_oce.o) \ 
    758         $(MODEL_LIB)(eosbn2.o) \ 
    759         $(MODEL_LIB)(in_out_manager.o) \ 
    760         $(MODEL_LIB)(initrc.o) \ 
    761         $(MODEL_LIB)(iom.o) \ 
    762         $(MODEL_LIB)(istate.o) \ 
    763         $(MODEL_LIB)(ldfdyn.o) \ 
    764         $(MODEL_LIB)(ldftra.o) \ 
    765         $(MODEL_LIB)(lib_mpp.o) \ 
    766         $(MODEL_LIB)(lib_print.o) \ 
    767         $(MODEL_LIB)(mppini.o) \ 
    768         $(MODEL_LIB)(obc_par.o) \ 
    769         $(MODEL_LIB)(obcini.o) \ 
    770         $(MODEL_LIB)(oce.o) \ 
    771         $(MODEL_LIB)(ocfzpt.o) \ 
    772         $(MODEL_LIB)(par_kind.o) \ 
    773         $(MODEL_LIB)(par_oce.o) \ 
    774         $(MODEL_LIB)(phycst.o) \ 
    775         $(MODEL_LIB)(prtctl.o) \ 
    776         $(MODEL_LIB)(sbc_oce.o) \ 
    777         $(MODEL_LIB)(sms.o) \ 
    778         $(MODEL_LIB)(sol_oce.o) \ 
    779         $(MODEL_LIB)(step.o) \ 
    780         $(MODEL_LIB)(step_c1d.o) \ 
    781         $(MODEL_LIB)(trcstp.o) \ 
    782         $(MODEL_LIB)(trdmod.o) \ 
    783         $(MODEL_LIB)(trdmod_oce.o) \ 
    784         $(MODEL_LIB)(wzvmod.o) \ 
    785         $(MODEL_LIB)(zdf_oce.o) \ 
    786         $(MODEL_LIB)(zdfini.o) \ 
    787         $(MODEL_LIB)(zdfmxl.o) \ 
    788         $(MODEL_LIB)(zpshde.o) \ 
    789         agrif_oce.F90 \ 
    790553        bdy_par.F90 \ 
    791         bdyini.F90 \ 
    792         bdytides.F90 \ 
    793         c1d.F90 \ 
    794         cla_div.F90 \ 
    795         cpl_oasis3.F90 \ 
    796554        daymod.F90 \ 
    797         diaptr.F90 \ 
    798         divcur.F90 \ 
    799         dom_oce.F90 \ 
    800         domain.F90 \ 
    801         domcfg.F90 \ 
    802         dtasal.F90 \ 
    803         dtatem.F90 \ 
    804         dyncor_c1d.F90 \ 
    805         dynspg_oce.F90 \ 
    806         eosbn2.F90 \ 
    807         in_out_manager.F90 \ 
    808         initrc.F90 \ 
    809         iom.F90 \ 
    810         istate.F90 \ 
    811         ldfdyn.F90 \ 
    812         ldftra.F90 \ 
    813         lib_mpp.F90 \ 
    814         lib_print.f90 \ 
    815         mppini.F90 \ 
    816         obc_par.F90 \ 
    817         obcini.F90 \ 
    818         oce.F90 \ 
    819         ocfzpt.F90 \ 
    820         par_kind.F90 \ 
    821         par_oce.F90 \ 
    822         phycst.F90 \ 
    823         prtctl.F90 \ 
    824         sbc_oce.F90 \ 
    825         sms.F90 \ 
    826         sol_oce.F90 \ 
    827         step.F90 \ 
    828         step_c1d.F90 \ 
    829         trcstp.F90 \ 
    830         trdmod.F90 \ 
    831         trdmod_oce.F90 \ 
    832         wzvmod.F90 \ 
    833         zdf_oce.F90 \ 
    834         zdfini.F90 \ 
    835         zdfmxl.F90 \ 
    836         zpshde.F90 \ 
    837         $(MODEL_LIB)(agrif_oce.o) \ 
    838         $(MODEL_LIB)(agrif_opa_interp.o) \ 
    839         $(MODEL_LIB)(agrif_opa_sponge.o) \ 
    840         $(MODEL_LIB)(agrif_opa_update.o) \ 
    841         $(MODEL_LIB)(agrif_top_interp.o) \ 
    842         $(MODEL_LIB)(agrif_top_update.o) \ 
    843         $(MODEL_LIB)(dom_oce.o) \ 
    844         $(MODEL_LIB)(ice_oce.o) \ 
    845         $(MODEL_LIB)(in_out_manager.o) \ 
    846         $(MODEL_LIB)(oce.o) \ 
    847         $(MODEL_LIB)(opa.o) \ 
    848         $(MODEL_LIB)(par_oce.o) \ 
    849         $(MODEL_LIB)(sms.o) \ 
    850         $(MODEL_LIB)(sol_oce.o) \ 
    851         $(MODEL_LIB)(tradmp.o) \ 
    852         agrif_oce.F90 \ 
    853         agrif_opa_interp.F90 \ 
    854         agrif_opa_sponge.F90 \ 
    855         agrif_opa_update.F90 \ 
    856         agrif_top_interp.F90 \ 
    857         agrif_top_update.F90 \ 
    858         dom_oce.F90 \ 
    859         ice_oce.F90 \ 
    860         in_out_manager.F90 \ 
    861         oce.F90 \ 
    862         opa.F90 \ 
    863         par_oce.F90 \ 
    864         sms.F90 \ 
    865         sol_oce.F90 \ 
    866         tradmp.F90 \ 
    867         $(AGRIF_LIB) \ 
    868         KEY_CPP \ 
    869         agrif_user.F90 
    870 $(MODEL_LIB)(albedo.o) :        \ 
    871         $(MODEL_LIB)(in_out_manager.o) \ 
    872         $(MODEL_LIB)(lib_print.o) \ 
    873         $(MODEL_LIB)(par_kind.o) \ 
    874         $(MODEL_LIB)(par_oce.o) \ 
    875         in_out_manager.F90 \ 
    876         lib_print.f90 \ 
    877         par_kind.F90 \ 
    878         par_oce.F90 \ 
    879         $(MODEL_LIB)(in_out_manager.o) \ 
    880         $(MODEL_LIB)(phycst.o) \ 
    881         in_out_manager.F90 \ 
    882         phycst.F90 \ 
    883         KEY_CPP \ 
    884         albedo.F90 
    885 $(MODEL_LIB)(bdy_oce.o) :       \ 
    886         $(MODEL_LIB)(par_kind.o) \ 
    887         $(MODEL_LIB)(par_oce.o) \ 
    888         par_kind.F90 \ 
    889         par_oce.F90 \ 
    890         $(MODEL_LIB)(bdy_par.o) \ 
    891         $(MODEL_LIB)(par_oce.o) \ 
    892         bdy_par.F90 \ 
    893         par_oce.F90 \ 
    894         KEY_CPP \ 
    895         bdy_oce.F90 
    896 $(MODEL_LIB)(bdy_par.o) :       \ 
    897         $(MODEL_LIB)(par_kind.o) \ 
    898         par_kind.F90 \ 
    899         $(MODEL_LIB)(par_oce.o) \ 
    900         par_oce.F90 \ 
    901         KEY_CPP \ 
    902         bdy_par.F90 
    903 $(MODEL_LIB)(bdydta.o) :        \ 
     555        dom_oce.F90 \ 
     556        in_out_manager.F90 \ 
     557        iom_def.F90 \ 
     558        iom.F90 \ 
     559        iom_ioipsl.F90 \ 
     560        iom_nf90.F90 \ 
     561        iom_rstdimg.F90 \ 
     562        lbclnk.F90 \ 
     563        lib_print.f90 \ 
    904564        $(MODEL_LIB)(bdy_oce.o) \ 
    905565        $(MODEL_LIB)(bdy_par.o) \ 
     
    907567        $(MODEL_LIB)(dom_oce.o) \ 
    908568        $(MODEL_LIB)(in_out_manager.o) \ 
    909         $(MODEL_LIB)(iom.o) \ 
    910569        $(MODEL_LIB)(iom_def.o) \ 
    911570        $(MODEL_LIB)(iom_ioipsl.o) \ 
    912571        $(MODEL_LIB)(iom_nf90.o) \ 
     572        $(MODEL_LIB)(iom.o) \ 
    913573        $(MODEL_LIB)(iom_rstdimg.o) \ 
    914574        $(MODEL_LIB)(lbclnk.o) \ 
     
    919579        $(MODEL_LIB)(phycst.o) \ 
    920580        $(MODEL_LIB)(prtctl.o) \ 
     581        $(MODEL_LIB)(restart.o) \ 
     582        oce.F90 \ 
     583        par_kind.F90 \ 
     584        par_oce.F90 \ 
     585        phycst.F90 \ 
     586        prtctl.F90 \ 
     587        restart.F90 \ 
     588        bdy_oce.F90 \ 
     589        bdytides.F90 \ 
     590        daymod.F90 \ 
     591        dom_oce.F90 \ 
     592        in_out_manager.F90 \ 
     593        iom.F90 \ 
     594        $(MODEL_LIB)(bdy_oce.o) \ 
     595        $(MODEL_LIB)(bdytides.o) \ 
     596        $(MODEL_LIB)(daymod.o) \ 
     597        $(MODEL_LIB)(dom_oce.o) \ 
     598        $(MODEL_LIB)(in_out_manager.o) \ 
     599        $(MODEL_LIB)(iom.o) \ 
     600        $(MODEL_LIB)(oce.o) \ 
     601        $(MODEL_LIB)(phycst.o) \ 
     602        oce.F90 \ 
     603        phycst.F90 \ 
     604        $(IOIPSL_LIB) \ 
     605        KEY_CPP \ 
     606        bdydta.F90 
     607$(MODEL_LIB)(bdydyn.o) :        \ 
    921608        bdy_oce.F90 \ 
    922609        bdy_par.F90 \ 
     
    925612        in_out_manager.F90 \ 
    926613        iom.F90 \ 
     614        lbclnk.F90 \ 
     615        lib_mpp.F90 \ 
     616        lib_print.f90 \ 
     617        $(MODEL_LIB)(bdy_oce.o) \ 
     618        $(MODEL_LIB)(bdy_par.o) \ 
     619        $(MODEL_LIB)(daymod.o) \ 
     620        $(MODEL_LIB)(dom_oce.o) \ 
     621        $(MODEL_LIB)(in_out_manager.o) \ 
     622        $(MODEL_LIB)(iom.o) \ 
     623        $(MODEL_LIB)(lbclnk.o) \ 
     624        $(MODEL_LIB)(lib_mpp.o) \ 
     625        $(MODEL_LIB)(lib_print.o) \ 
     626        $(MODEL_LIB)(oce.o) \ 
     627        $(MODEL_LIB)(par_kind.o) \ 
     628        $(MODEL_LIB)(par_oce.o) \ 
     629        $(MODEL_LIB)(phycst.o) \ 
     630        oce.F90 \ 
     631        par_kind.F90 \ 
     632        par_oce.F90 \ 
     633        phycst.F90 \ 
     634        bdy_oce.F90 \ 
     635        bdytides.F90 \ 
     636        dom_oce.F90 \ 
     637        dynspg_oce.F90 \ 
     638        in_out_manager.F90 \ 
     639        lbclnk.F90 \ 
     640        $(MODEL_LIB)(bdy_oce.o) \ 
     641        $(MODEL_LIB)(bdytides.o) \ 
     642        $(MODEL_LIB)(dom_oce.o) \ 
     643        $(MODEL_LIB)(dynspg_oce.o) \ 
     644        $(MODEL_LIB)(in_out_manager.o) \ 
     645        $(MODEL_LIB)(lbclnk.o) \ 
     646        $(MODEL_LIB)(oce.o) \ 
     647        $(MODEL_LIB)(phycst.o) \ 
     648        oce.F90 \ 
     649        phycst.F90 \ 
     650        KEY_CPP \ 
     651        bdydyn.F90 
     652$(MODEL_LIB)(bdyini.o) :        \ 
     653        bdy_oce.F90 \ 
     654        bdy_par.F90 \ 
     655        daymod.F90 \ 
     656        dom_oce.F90 \ 
     657        in_out_manager.F90 \ 
    927658        iom_def.F90 \ 
     659        iom.F90 \ 
    928660        iom_ioipsl.F90 \ 
    929661        iom_nf90.F90 \ 
    930662        iom_rstdimg.F90 \ 
    931663        lbclnk.F90 \ 
    932         lib_print.f90 \ 
    933         oce.F90 \ 
    934         par_kind.F90 \ 
    935         par_oce.F90 \ 
    936         phycst.F90 \ 
    937         prtctl.F90 \ 
    938         $(MODEL_LIB)(bdy_oce.o) \ 
    939         $(MODEL_LIB)(bdytides.o) \ 
    940         $(MODEL_LIB)(daymod.o) \ 
    941         $(MODEL_LIB)(dom_oce.o) \ 
    942         $(MODEL_LIB)(in_out_manager.o) \ 
    943         $(MODEL_LIB)(iom.o) \ 
    944         $(MODEL_LIB)(oce.o) \ 
    945         $(MODEL_LIB)(phycst.o) \ 
    946         bdy_oce.F90 \ 
    947         bdytides.F90 \ 
    948         daymod.F90 \ 
    949         dom_oce.F90 \ 
    950         in_out_manager.F90 \ 
    951         iom.F90 \ 
    952         oce.F90 \ 
    953         phycst.F90 \ 
    954         $(IOIPSL_LIB) \ 
    955         KEY_CPP \ 
    956         bdydta.F90 
    957 $(MODEL_LIB)(bdydyn.o) :        \ 
     664        lib_mpp.F90 \ 
     665        lib_print.f90 \ 
    958666        $(MODEL_LIB)(bdy_oce.o) \ 
    959667        $(MODEL_LIB)(bdy_par.o) \ 
     
    961669        $(MODEL_LIB)(dom_oce.o) \ 
    962670        $(MODEL_LIB)(in_out_manager.o) \ 
    963         $(MODEL_LIB)(iom.o) \ 
    964         $(MODEL_LIB)(lbclnk.o) \ 
    965         $(MODEL_LIB)(lib_mpp.o) \ 
    966         $(MODEL_LIB)(lib_print.o) \ 
    967         $(MODEL_LIB)(oce.o) \ 
    968         $(MODEL_LIB)(par_kind.o) \ 
    969         $(MODEL_LIB)(par_oce.o) \ 
    970         $(MODEL_LIB)(phycst.o) \ 
     671        $(MODEL_LIB)(iom_def.o) \ 
     672        $(MODEL_LIB)(iom_ioipsl.o) \ 
     673        $(MODEL_LIB)(iom_nf90.o) \ 
     674        $(MODEL_LIB)(iom.o) \ 
     675        $(MODEL_LIB)(iom_rstdimg.o) \ 
     676        $(MODEL_LIB)(lbclnk.o) \ 
     677        $(MODEL_LIB)(lib_mpp.o) \ 
     678        $(MODEL_LIB)(lib_print.o) \ 
     679        $(MODEL_LIB)(oce.o) \ 
     680        $(MODEL_LIB)(par_kind.o) \ 
     681        $(MODEL_LIB)(par_oce.o) \ 
     682        $(MODEL_LIB)(phycst.o) \ 
     683        oce.F90 \ 
     684        par_kind.F90 \ 
     685        par_oce.F90 \ 
     686        phycst.F90 \ 
     687        bdy_oce.F90 \ 
     688        bdytides.F90 \ 
     689        dom_oce.F90 \ 
     690        in_out_manager.F90 \ 
     691        iom.F90 \ 
     692        lbclnk.F90 \ 
     693        lib_mpp.F90 \ 
     694        $(MODEL_LIB)(bdy_oce.o) \ 
     695        $(MODEL_LIB)(bdytides.o) \ 
     696        $(MODEL_LIB)(dom_oce.o) \ 
     697        $(MODEL_LIB)(in_out_manager.o) \ 
     698        $(MODEL_LIB)(iom.o) \ 
     699        $(MODEL_LIB)(lbclnk.o) \ 
     700        $(MODEL_LIB)(lib_mpp.o) \ 
     701        $(MODEL_LIB)(oce.o) \ 
     702        oce.F90 \ 
     703        KEY_CPP \ 
     704        bdyini.F90 
     705$(MODEL_LIB)(bdy_oce.o) :       \ 
     706        $(MODEL_LIB)(par_kind.o) \ 
     707        par_kind.F90 \ 
     708        bdy_par.F90 \ 
     709        $(MODEL_LIB)(bdy_par.o) \ 
     710        $(MODEL_LIB)(par_oce.o) \ 
     711        par_oce.F90 \ 
     712        KEY_CPP \ 
     713        bdy_oce.F90 
     714$(MODEL_LIB)(bdy_par.o) :       \ 
     715        KEY_CPP \ 
     716        bdy_par.F90 
     717$(MODEL_LIB)(bdytides.o) :      \ 
     718        bdy_par.F90 \ 
     719        dom_oce.F90 \ 
     720        in_out_manager.F90 \ 
     721        iom_def.F90 \ 
     722        iom.F90 \ 
     723        iom_ioipsl.F90 \ 
     724        iom_nf90.F90 \ 
     725        iom_rstdimg.F90 \ 
     726        lbclnk.F90 \ 
     727        lib_mpp.F90 \ 
     728        lib_print.f90 \ 
     729        $(MODEL_LIB)(bdy_par.o) \ 
     730        $(MODEL_LIB)(dom_oce.o) \ 
     731        $(MODEL_LIB)(in_out_manager.o) \ 
     732        $(MODEL_LIB)(iom_def.o) \ 
     733        $(MODEL_LIB)(iom_ioipsl.o) \ 
     734        $(MODEL_LIB)(iom_nf90.o) \ 
     735        $(MODEL_LIB)(iom.o) \ 
     736        $(MODEL_LIB)(iom_rstdimg.o) \ 
     737        $(MODEL_LIB)(lbclnk.o) \ 
     738        $(MODEL_LIB)(lib_mpp.o) \ 
     739        $(MODEL_LIB)(lib_print.o) \ 
     740        $(MODEL_LIB)(oce.o) \ 
     741        $(MODEL_LIB)(par_kind.o) \ 
     742        $(MODEL_LIB)(par_oce.o) \ 
     743        $(MODEL_LIB)(phycst.o) \ 
     744        $(MODEL_LIB)(prtctl.o) \ 
     745        $(MODEL_LIB)(restart.o) \ 
     746        oce.F90 \ 
     747        par_kind.F90 \ 
     748        par_oce.F90 \ 
     749        phycst.F90 \ 
     750        prtctl.F90 \ 
     751        restart.F90 \ 
    971752        bdy_oce.F90 \ 
    972753        bdy_par.F90 \ 
     
    976757        iom.F90 \ 
    977758        lbclnk.F90 \ 
    978         lib_mpp.F90 \ 
    979         lib_print.f90 \ 
    980         oce.F90 \ 
    981         par_kind.F90 \ 
    982         par_oce.F90 \ 
    983         phycst.F90 \ 
    984         $(MODEL_LIB)(bdy_oce.o) \ 
    985         $(MODEL_LIB)(bdytides.o) \ 
    986         $(MODEL_LIB)(dom_oce.o) \ 
    987         $(MODEL_LIB)(dynspg_oce.o) \ 
    988         $(MODEL_LIB)(in_out_manager.o) \ 
    989         $(MODEL_LIB)(lbclnk.o) \ 
    990         $(MODEL_LIB)(oce.o) \ 
    991         $(MODEL_LIB)(phycst.o) \ 
    992         bdy_oce.F90 \ 
    993         bdytides.F90 \ 
    994         dom_oce.F90 \ 
    995         dynspg_oce.F90 \ 
    996         in_out_manager.F90 \ 
    997         lbclnk.F90 \ 
    998         oce.F90 \ 
    999         phycst.F90 \ 
    1000         KEY_CPP \ 
    1001         bdydyn.F90 
    1002 $(MODEL_LIB)(bdyini.o) :        \ 
    1003759        $(MODEL_LIB)(bdy_oce.o) \ 
    1004760        $(MODEL_LIB)(bdy_par.o) \ 
     
    1007763        $(MODEL_LIB)(in_out_manager.o) \ 
    1008764        $(MODEL_LIB)(iom.o) \ 
    1009         $(MODEL_LIB)(iom_def.o) \ 
    1010         $(MODEL_LIB)(iom_ioipsl.o) \ 
    1011         $(MODEL_LIB)(iom_nf90.o) \ 
    1012         $(MODEL_LIB)(iom_rstdimg.o) \ 
    1013         $(MODEL_LIB)(lbclnk.o) \ 
    1014         $(MODEL_LIB)(lib_mpp.o) \ 
    1015         $(MODEL_LIB)(lib_print.o) \ 
    1016         $(MODEL_LIB)(oce.o) \ 
    1017         $(MODEL_LIB)(par_kind.o) \ 
    1018         $(MODEL_LIB)(par_oce.o) \ 
    1019         $(MODEL_LIB)(phycst.o) \ 
    1020         bdy_oce.F90 \ 
    1021         bdy_par.F90 \ 
    1022         daymod.F90 \ 
    1023         dom_oce.F90 \ 
    1024         in_out_manager.F90 \ 
    1025         iom.F90 \ 
    1026         iom_def.F90 \ 
    1027         iom_ioipsl.F90 \ 
    1028         iom_nf90.F90 \ 
    1029         iom_rstdimg.F90 \ 
    1030         lbclnk.F90 \ 
    1031         lib_mpp.F90 \ 
    1032         lib_print.f90 \ 
    1033         oce.F90 \ 
    1034         par_kind.F90 \ 
    1035         par_oce.F90 \ 
    1036         phycst.F90 \ 
    1037         $(MODEL_LIB)(bdy_oce.o) \ 
    1038         $(MODEL_LIB)(bdytides.o) \ 
    1039         $(MODEL_LIB)(dom_oce.o) \ 
    1040         $(MODEL_LIB)(in_out_manager.o) \ 
    1041         $(MODEL_LIB)(iom.o) \ 
    1042         $(MODEL_LIB)(lbclnk.o) \ 
    1043         $(MODEL_LIB)(lib_mpp.o) \ 
    1044         $(MODEL_LIB)(oce.o) \ 
    1045         bdy_oce.F90 \ 
    1046         bdytides.F90 \ 
    1047         dom_oce.F90 \ 
    1048         in_out_manager.F90 \ 
    1049         iom.F90 \ 
    1050         lbclnk.F90 \ 
    1051         lib_mpp.F90 \ 
    1052         oce.F90 \ 
    1053         KEY_CPP \ 
    1054         bdyini.F90 
    1055 $(MODEL_LIB)(bdytides.o) :      \ 
    1056         $(MODEL_LIB)(bdy_par.o) \ 
    1057         $(MODEL_LIB)(dom_oce.o) \ 
    1058         $(MODEL_LIB)(in_out_manager.o) \ 
    1059         $(MODEL_LIB)(iom_def.o) \ 
    1060         $(MODEL_LIB)(iom_ioipsl.o) \ 
    1061         $(MODEL_LIB)(iom_nf90.o) \ 
    1062         $(MODEL_LIB)(iom_rstdimg.o) \ 
    1063         $(MODEL_LIB)(lbclnk.o) \ 
    1064         $(MODEL_LIB)(lib_mpp.o) \ 
    1065         $(MODEL_LIB)(lib_print.o) \ 
    1066         $(MODEL_LIB)(oce.o) \ 
    1067         $(MODEL_LIB)(par_kind.o) \ 
    1068         $(MODEL_LIB)(par_oce.o) \ 
    1069         $(MODEL_LIB)(phycst.o) \ 
    1070         $(MODEL_LIB)(prtctl.o) \ 
    1071         bdy_par.F90 \ 
    1072         dom_oce.F90 \ 
    1073         in_out_manager.F90 \ 
    1074         iom_def.F90 \ 
    1075         iom_ioipsl.F90 \ 
    1076         iom_nf90.F90 \ 
    1077         iom_rstdimg.F90 \ 
    1078         lbclnk.F90 \ 
    1079         lib_mpp.F90 \ 
    1080         lib_print.f90 \ 
    1081         oce.F90 \ 
    1082         par_kind.F90 \ 
    1083         par_oce.F90 \ 
    1084         phycst.F90 \ 
    1085         prtctl.F90 \ 
    1086         $(MODEL_LIB)(bdy_oce.o) \ 
    1087         $(MODEL_LIB)(bdy_par.o) \ 
    1088         $(MODEL_LIB)(daymod.o) \ 
    1089         $(MODEL_LIB)(dom_oce.o) \ 
    1090         $(MODEL_LIB)(in_out_manager.o) \ 
    1091         $(MODEL_LIB)(iom.o) \ 
    1092         $(MODEL_LIB)(lbclnk.o) \ 
    1093         $(MODEL_LIB)(oce.o) \ 
    1094         $(MODEL_LIB)(phycst.o) \ 
    1095         bdy_oce.F90 \ 
    1096         bdy_par.F90 \ 
    1097         daymod.F90 \ 
    1098         dom_oce.F90 \ 
    1099         in_out_manager.F90 \ 
    1100         iom.F90 \ 
    1101         lbclnk.F90 \ 
     765        $(MODEL_LIB)(lbclnk.o) \ 
     766        $(MODEL_LIB)(oce.o) \ 
     767        $(MODEL_LIB)(phycst.o) \ 
    1102768        oce.F90 \ 
    1103769        phycst.F90 \ 
     
    1105771        bdytides.F90 
    1106772$(MODEL_LIB)(bdytra.o) :        \ 
     773        bdy_par.F90 \ 
     774        dom_oce.F90 \ 
     775        in_out_manager.F90 \ 
     776        lib_mpp.F90 \ 
     777        lib_print.f90 \ 
    1107778        $(MODEL_LIB)(bdy_par.o) \ 
    1108779        $(MODEL_LIB)(dom_oce.o) \ 
    1109780        $(MODEL_LIB)(in_out_manager.o) \ 
    1110781        $(MODEL_LIB)(lib_mpp.o) \ 
    1111         $(MODEL_LIB)(oce.o) \ 
    1112         $(MODEL_LIB)(par_oce.o) \ 
    1113         bdy_par.F90 \ 
    1114         dom_oce.F90 \ 
    1115         in_out_manager.F90 \ 
    1116         lib_mpp.F90 \ 
    1117         oce.F90 \ 
    1118         par_oce.F90 \ 
     782        $(MODEL_LIB)(lib_print.o) \ 
     783        $(MODEL_LIB)(oce.o) \ 
     784        $(MODEL_LIB)(par_kind.o) \ 
     785        $(MODEL_LIB)(par_oce.o) \ 
     786        oce.F90 \ 
     787        par_kind.F90 \ 
     788        par_oce.F90 \ 
     789        bdy_oce.F90 \ 
     790        dom_oce.F90 \ 
     791        in_out_manager.F90 \ 
     792        lbclnk.F90 \ 
    1119793        $(MODEL_LIB)(bdy_oce.o) \ 
    1120794        $(MODEL_LIB)(dom_oce.o) \ 
    1121         $(MODEL_LIB)(lbclnk.o) \ 
    1122         $(MODEL_LIB)(oce.o) \ 
    1123         bdy_oce.F90 \ 
    1124         dom_oce.F90 \ 
    1125         lbclnk.F90 \ 
     795        $(MODEL_LIB)(in_out_manager.o) \ 
     796        $(MODEL_LIB)(lbclnk.o) \ 
     797        $(MODEL_LIB)(oce.o) \ 
    1126798        oce.F90 \ 
    1127799        KEY_CPP \ 
    1128800        bdytra.F90 
    1129801$(MODEL_LIB)(bdyvol.o) :        \ 
     802        bdy_par.F90 \ 
     803        dom_oce.F90 \ 
     804        in_out_manager.F90 \ 
     805        lbclnk.F90 \ 
     806        lib_print.f90 \ 
    1130807        $(MODEL_LIB)(bdy_par.o) \ 
    1131808        $(MODEL_LIB)(dom_oce.o) \ 
    1132809        $(MODEL_LIB)(in_out_manager.o) \ 
    1133         $(MODEL_LIB)(lib_print.o) \ 
    1134         $(MODEL_LIB)(par_kind.o) \ 
    1135         $(MODEL_LIB)(par_oce.o) \ 
    1136         bdy_par.F90 \ 
    1137         dom_oce.F90 \ 
    1138         in_out_manager.F90 \ 
    1139         lib_print.f90 \ 
    1140         par_kind.F90 \ 
    1141         par_oce.F90 \ 
     810        $(MODEL_LIB)(lbclnk.o) \ 
     811        $(MODEL_LIB)(lib_print.o) \ 
     812        $(MODEL_LIB)(par_kind.o) \ 
     813        $(MODEL_LIB)(par_oce.o) \ 
     814        par_kind.F90 \ 
     815        par_oce.F90 \ 
     816        bdy_oce.F90 \ 
     817        dom_oce.F90 \ 
     818        in_out_manager.F90 \ 
     819        lib_mpp.F90 \ 
    1142820        $(MODEL_LIB)(bdy_oce.o) \ 
    1143821        $(MODEL_LIB)(dom_oce.o) \ 
     
    1147825        $(MODEL_LIB)(phycst.o) \ 
    1148826        $(MODEL_LIB)(sbc_oce.o) \ 
    1149         bdy_oce.F90 \ 
    1150         dom_oce.F90 \ 
    1151         in_out_manager.F90 \ 
    1152         lib_mpp.F90 \ 
    1153827        oce.F90 \ 
    1154828        phycst.F90 \ 
     
    1160834        KEY_CPP \ 
    1161835        c1d.F90 
    1162 $(MODEL_LIB)(cla.o) :   \ 
    1163         $(MODEL_LIB)(dom_oce.o) \ 
    1164         $(MODEL_LIB)(in_out_manager.o) \ 
    1165         $(MODEL_LIB)(lib_mpp.o) \ 
    1166         $(MODEL_LIB)(lib_print.o) \ 
    1167         $(MODEL_LIB)(oce.o) \ 
    1168         $(MODEL_LIB)(par_kind.o) \ 
    1169         $(MODEL_LIB)(par_oce.o) \ 
    1170         dom_oce.F90 \ 
    1171         in_out_manager.F90 \ 
    1172         lib_mpp.F90 \ 
    1173         lib_print.f90 \ 
    1174         oce.F90 \ 
    1175         par_kind.F90 \ 
    1176         par_oce.F90 \ 
    1177         $(MODEL_LIB)(dom_oce.o) \ 
    1178         $(MODEL_LIB)(in_out_manager.o) \ 
    1179         $(MODEL_LIB)(lbclnk.o) \ 
    1180         $(MODEL_LIB)(lib_mpp.o) \ 
    1181         $(MODEL_LIB)(oce.o) \ 
    1182         $(MODEL_LIB)(sbc_oce.o) \ 
    1183         dom_oce.F90 \ 
    1184         in_out_manager.F90 \ 
    1185         lbclnk.F90 \ 
    1186         lib_mpp.F90 \ 
    1187         oce.F90 \ 
    1188         sbc_oce.F90 \ 
    1189         domzgr_substitute.h90 \ 
    1190         vectopt_loop_substitute.h90 \ 
    1191         KEY_CPP \ 
    1192         cla.F90 
    1193836$(MODEL_LIB)(cla_div.o) :       \ 
    1194         $(MODEL_LIB)(dom_oce.o) \ 
    1195         $(MODEL_LIB)(in_out_manager.o) \ 
    1196         $(MODEL_LIB)(lib_mpp.o) \ 
    1197         $(MODEL_LIB)(lib_print.o) \ 
    1198         $(MODEL_LIB)(oce.o) \ 
    1199         $(MODEL_LIB)(par_kind.o) \ 
    1200         $(MODEL_LIB)(par_oce.o) \ 
    1201         dom_oce.F90 \ 
    1202         in_out_manager.F90 \ 
    1203         lib_mpp.F90 \ 
    1204         lib_print.f90 \ 
    1205         oce.F90 \ 
    1206         par_kind.F90 \ 
    1207         par_oce.F90 \ 
    1208         $(MODEL_LIB)(dom_oce.o) \ 
    1209         $(MODEL_LIB)(in_out_manager.o) \ 
    1210         $(MODEL_LIB)(lbclnk.o) \ 
    1211         $(MODEL_LIB)(lib_mpp.o) \ 
    1212         $(MODEL_LIB)(oce.o) \ 
    1213         $(MODEL_LIB)(sbc_oce.o) \ 
    1214         dom_oce.F90 \ 
    1215         in_out_manager.F90 \ 
    1216         lbclnk.F90 \ 
    1217         lib_mpp.F90 \ 
     837        dom_oce.F90 \ 
     838        in_out_manager.F90 \ 
     839        lbclnk.F90 \ 
     840        lib_mpp.F90 \ 
     841        lib_print.f90 \ 
     842        $(MODEL_LIB)(dom_oce.o) \ 
     843        $(MODEL_LIB)(in_out_manager.o) \ 
     844        $(MODEL_LIB)(lbclnk.o) \ 
     845        $(MODEL_LIB)(lib_mpp.o) \ 
     846        $(MODEL_LIB)(lib_print.o) \ 
     847        $(MODEL_LIB)(oce.o) \ 
     848        $(MODEL_LIB)(par_kind.o) \ 
     849        $(MODEL_LIB)(par_oce.o) \ 
     850        oce.F90 \ 
     851        par_kind.F90 \ 
     852        par_oce.F90 \ 
     853        dom_oce.F90 \ 
     854        in_out_manager.F90 \ 
     855        lbclnk.F90 \ 
     856        lib_mpp.F90 \ 
     857        $(MODEL_LIB)(dom_oce.o) \ 
     858        $(MODEL_LIB)(in_out_manager.o) \ 
     859        $(MODEL_LIB)(lbclnk.o) \ 
     860        $(MODEL_LIB)(lib_mpp.o) \ 
     861        $(MODEL_LIB)(oce.o) \ 
     862        $(MODEL_LIB)(sbc_oce.o) \ 
    1218863        oce.F90 \ 
    1219864        sbc_oce.F90 \ 
     
    1222867        cla_div.F90 
    1223868$(MODEL_LIB)(cla_dynspg.o) :    \ 
     869        dom_oce.F90 \ 
     870        dynspg_oce.F90 \ 
     871        in_out_manager.F90 \ 
     872        lbclnk.F90 \ 
     873        lib_mpp.F90 \ 
     874        lib_print.f90 \ 
    1224875        $(MODEL_LIB)(dom_oce.o) \ 
    1225876        $(MODEL_LIB)(dynspg_oce.o) \ 
     
    1228879        $(MODEL_LIB)(lib_mpp.o) \ 
    1229880        $(MODEL_LIB)(lib_print.o) \ 
     881        $(MODEL_LIB)(obccli.o) \ 
    1230882        $(MODEL_LIB)(obc_oce.o) \ 
    1231883        $(MODEL_LIB)(obc_par.o) \ 
    1232         $(MODEL_LIB)(obccli.o) \ 
    1233884        $(MODEL_LIB)(oce.o) \ 
    1234885        $(MODEL_LIB)(par_kind.o) \ 
     
    1238889        $(MODEL_LIB)(sol_oce.o) \ 
    1239890        $(MODEL_LIB)(zdf_oce.o) \ 
    1240         dom_oce.F90 \ 
    1241         dynspg_oce.F90 \ 
    1242         in_out_manager.F90 \ 
    1243         lbclnk.F90 \ 
    1244         lib_mpp.F90 \ 
    1245         lib_print.f90 \ 
     891        obccli.F90 \ 
    1246892        obc_oce.F90 \ 
    1247893        obc_par.F90 \ 
    1248         obccli.F90 \ 
    1249894        oce.F90 \ 
    1250895        par_kind.F90 \ 
     
    1254899        sol_oce.F90 \ 
    1255900        zdf_oce.F90 \ 
    1256         $(MODEL_LIB)(dom_oce.o) \ 
    1257         $(MODEL_LIB)(in_out_manager.o) \ 
    1258         $(MODEL_LIB)(lbclnk.o) \ 
    1259         $(MODEL_LIB)(lib_mpp.o) \ 
     901        dom_oce.F90 \ 
     902        in_out_manager.F90 \ 
     903        lbclnk.F90 \ 
     904        lib_mpp.F90 \ 
     905        $(MODEL_LIB)(dom_oce.o) \ 
     906        $(MODEL_LIB)(in_out_manager.o) \ 
     907        $(MODEL_LIB)(lbclnk.o) \ 
     908        $(MODEL_LIB)(lib_mpp.o) \ 
     909        $(MODEL_LIB)(obcdyn.o) \ 
    1260910        $(MODEL_LIB)(obc_oce.o) \ 
    1261         $(MODEL_LIB)(obcdyn.o) \ 
    1262911        $(MODEL_LIB)(obcvol.o) \ 
    1263912        $(MODEL_LIB)(oce.o) \ 
    1264913        $(MODEL_LIB)(phycst.o) \ 
    1265914        $(MODEL_LIB)(sbc_oce.o) \ 
     915        $(MODEL_LIB)(solfet.o) \ 
    1266916        $(MODEL_LIB)(sol_oce.o) \ 
    1267         $(MODEL_LIB)(solfet.o) \ 
    1268917        $(MODEL_LIB)(solpcg.o) \ 
    1269918        $(MODEL_LIB)(solsor.o) \ 
    1270919        $(MODEL_LIB)(zdf_oce.o) \ 
    1271         dom_oce.F90 \ 
    1272         in_out_manager.F90 \ 
    1273         lbclnk.F90 \ 
    1274         lib_mpp.F90 \ 
     920        obcdyn.F90 \ 
    1275921        obc_oce.F90 \ 
    1276         obcdyn.F90 \ 
    1277922        obcvol.F90 \ 
    1278923        oce.F90 \ 
    1279924        phycst.F90 \ 
    1280925        sbc_oce.F90 \ 
     926        solfet.F90 \ 
    1281927        sol_oce.F90 \ 
    1282         solfet.F90 \ 
    1283928        solpcg.F90 \ 
    1284929        solsor.F90 \ 
     
    1288933        KEY_CPP \ 
    1289934        cla_dynspg.F90 
     935$(MODEL_LIB)(cla.o) :   \ 
     936        dom_oce.F90 \ 
     937        in_out_manager.F90 \ 
     938        lbclnk.F90 \ 
     939        lib_mpp.F90 \ 
     940        lib_print.f90 \ 
     941        $(MODEL_LIB)(dom_oce.o) \ 
     942        $(MODEL_LIB)(in_out_manager.o) \ 
     943        $(MODEL_LIB)(lbclnk.o) \ 
     944        $(MODEL_LIB)(lib_mpp.o) \ 
     945        $(MODEL_LIB)(lib_print.o) \ 
     946        $(MODEL_LIB)(oce.o) \ 
     947        $(MODEL_LIB)(par_kind.o) \ 
     948        $(MODEL_LIB)(par_oce.o) \ 
     949        oce.F90 \ 
     950        par_kind.F90 \ 
     951        par_oce.F90 \ 
     952        dom_oce.F90 \ 
     953        in_out_manager.F90 \ 
     954        lbclnk.F90 \ 
     955        lib_mpp.F90 \ 
     956        $(MODEL_LIB)(dom_oce.o) \ 
     957        $(MODEL_LIB)(in_out_manager.o) \ 
     958        $(MODEL_LIB)(lbclnk.o) \ 
     959        $(MODEL_LIB)(lib_mpp.o) \ 
     960        $(MODEL_LIB)(oce.o) \ 
     961        $(MODEL_LIB)(sbc_oce.o) \ 
     962        oce.F90 \ 
     963        sbc_oce.F90 \ 
     964        domzgr_substitute.h90 \ 
     965        vectopt_loop_substitute.h90 \ 
     966        KEY_CPP \ 
     967        cla.F90 
    1290968$(MODEL_LIB)(closea.o) :        \ 
    1291         $(MODEL_LIB)(dom_oce.o) \ 
    1292         $(MODEL_LIB)(in_out_manager.o) \ 
    1293         $(MODEL_LIB)(lib_mpp.o) \ 
    1294         $(MODEL_LIB)(lib_print.o) \ 
    1295         $(MODEL_LIB)(oce.o) \ 
    1296         $(MODEL_LIB)(par_kind.o) \ 
    1297         $(MODEL_LIB)(par_oce.o) \ 
    1298         dom_oce.F90 \ 
    1299         in_out_manager.F90 \ 
    1300         lib_mpp.F90 \ 
    1301         lib_print.f90 \ 
    1302         oce.F90 \ 
    1303         par_kind.F90 \ 
    1304         par_oce.F90 \ 
    1305         $(MODEL_LIB)(dom_oce.o) \ 
    1306         $(MODEL_LIB)(in_out_manager.o) \ 
    1307         $(MODEL_LIB)(lbclnk.o) \ 
    1308         $(MODEL_LIB)(lib_mpp.o) \ 
    1309         $(MODEL_LIB)(oce.o) \ 
    1310         $(MODEL_LIB)(sbc_oce.o) \ 
    1311         dom_oce.F90 \ 
    1312         in_out_manager.F90 \ 
    1313         lbclnk.F90 \ 
    1314         lib_mpp.F90 \ 
     969        dom_oce.F90 \ 
     970        in_out_manager.F90 \ 
     971        lbclnk.F90 \ 
     972        lib_mpp.F90 \ 
     973        lib_print.f90 \ 
     974        $(MODEL_LIB)(dom_oce.o) \ 
     975        $(MODEL_LIB)(in_out_manager.o) \ 
     976        $(MODEL_LIB)(lbclnk.o) \ 
     977        $(MODEL_LIB)(lib_mpp.o) \ 
     978        $(MODEL_LIB)(lib_print.o) \ 
     979        $(MODEL_LIB)(oce.o) \ 
     980        $(MODEL_LIB)(par_kind.o) \ 
     981        $(MODEL_LIB)(par_oce.o) \ 
     982        oce.F90 \ 
     983        par_kind.F90 \ 
     984        par_oce.F90 \ 
     985        dom_oce.F90 \ 
     986        in_out_manager.F90 \ 
     987        lbclnk.F90 \ 
     988        lib_mpp.F90 \ 
     989        $(MODEL_LIB)(dom_oce.o) \ 
     990        $(MODEL_LIB)(in_out_manager.o) \ 
     991        $(MODEL_LIB)(lbclnk.o) \ 
     992        $(MODEL_LIB)(lib_mpp.o) \ 
     993        $(MODEL_LIB)(oce.o) \ 
     994        $(MODEL_LIB)(sbc_oce.o) \ 
    1315995        oce.F90 \ 
    1316996        sbc_oce.F90 \ 
     
    1319999        closea.F90 
    13201000$(MODEL_LIB)(cpl_oasis3.o) :    \ 
    1321         $(MODEL_LIB)(dom_oce.o) \ 
    1322         $(MODEL_LIB)(in_out_manager.o) \ 
    1323         $(MODEL_LIB)(lib_mpp.o) \ 
    1324         $(MODEL_LIB)(lib_print.o) \ 
    1325         $(MODEL_LIB)(oce.o) \ 
    1326         $(MODEL_LIB)(par_kind.o) \ 
    1327         $(MODEL_LIB)(par_oce.o) \ 
    1328         dom_oce.F90 \ 
    1329         in_out_manager.F90 \ 
    1330         lib_mpp.F90 \ 
    1331         lib_print.f90 \ 
    1332         oce.F90 \ 
    1333         par_kind.F90 \ 
    1334         par_oce.F90 \ 
    1335         $(MODEL_LIB)(dom_oce.o) \ 
    1336         $(MODEL_LIB)(in_out_manager.o) \ 
    1337         $(MODEL_LIB)(lbclnk.o) \ 
    1338         $(MODEL_LIB)(lib_mpp.o) \ 
    1339         $(MODEL_LIB)(par_oce.o) \ 
    1340         dom_oce.F90 \ 
    1341         in_out_manager.F90 \ 
    1342         lbclnk.F90 \ 
    1343         lib_mpp.F90 \ 
     1001        dom_oce.F90 \ 
     1002        in_out_manager.F90 \ 
     1003        lib_mpp.F90 \ 
     1004        lib_print.f90 \ 
     1005        $(MODEL_LIB)(dom_oce.o) \ 
     1006        $(MODEL_LIB)(in_out_manager.o) \ 
     1007        $(MODEL_LIB)(lib_mpp.o) \ 
     1008        $(MODEL_LIB)(lib_print.o) \ 
     1009        $(MODEL_LIB)(oce.o) \ 
     1010        $(MODEL_LIB)(par_kind.o) \ 
     1011        $(MODEL_LIB)(par_oce.o) \ 
     1012        oce.F90 \ 
     1013        par_kind.F90 \ 
     1014        par_oce.F90 \ 
     1015        dom_oce.F90 \ 
     1016        in_out_manager.F90 \ 
     1017        lbclnk.F90 \ 
     1018        $(MODEL_LIB)(dom_oce.o) \ 
     1019        $(MODEL_LIB)(in_out_manager.o) \ 
     1020        $(MODEL_LIB)(lbclnk.o) \ 
     1021        $(MODEL_LIB)(par_oce.o) \ 
    13441022        par_oce.F90 \ 
    13451023        KEY_CPP \ 
    13461024        cpl_oasis3.F90 
    13471025$(MODEL_LIB)(cpl_oasis4.o) :    \ 
    1348         $(MODEL_LIB)(dom_oce.o) \ 
    1349         $(MODEL_LIB)(in_out_manager.o) \ 
    1350         $(MODEL_LIB)(lib_print.o) \ 
    1351         $(MODEL_LIB)(par_kind.o) \ 
    1352         $(MODEL_LIB)(par_oce.o) \ 
    1353         $(MODEL_LIB)(phycst.o) \ 
    1354         $(MODEL_LIB)(prtctl.o) \ 
    1355         dom_oce.F90 \ 
    1356         in_out_manager.F90 \ 
    1357         lib_print.f90 \ 
    1358         par_kind.F90 \ 
    1359         par_oce.F90 \ 
    1360         phycst.F90 \ 
    1361         prtctl.F90 \ 
     1026        dom_oce.F90 \ 
     1027        in_out_manager.F90 \ 
     1028        iom.F90 \ 
     1029        lib_print.f90 \ 
     1030        $(MODEL_LIB)(dom_oce.o) \ 
     1031        $(MODEL_LIB)(in_out_manager.o) \ 
     1032        $(MODEL_LIB)(iom.o) \ 
     1033        $(MODEL_LIB)(lib_print.o) \ 
     1034        $(MODEL_LIB)(par_kind.o) \ 
     1035        $(MODEL_LIB)(par_oce.o) \ 
     1036        $(MODEL_LIB)(phycst.o) \ 
     1037        $(MODEL_LIB)(prtctl.o) \ 
     1038        $(MODEL_LIB)(restart.o) \ 
     1039        par_kind.F90 \ 
     1040        par_oce.F90 \ 
     1041        phycst.F90 \ 
     1042        prtctl.F90 \ 
     1043        restart.F90 \ 
     1044        daymod.F90 \ 
     1045        dom_oce.F90 \ 
     1046        in_out_manager.F90 \ 
     1047        lib_mpp.F90 \ 
    13621048        $(MODEL_LIB)(daymod.o) \ 
    13631049        $(MODEL_LIB)(dom_oce.o) \ 
     
    13671053        $(MODEL_LIB)(par_oce.o) \ 
    13681054        $(MODEL_LIB)(phycst.o) \ 
    1369         daymod.F90 \ 
    1370         dom_oce.F90 \ 
    1371         in_out_manager.F90 \ 
    1372         lib_mpp.F90 \ 
    13731055        oasis4_date.F90 \ 
    13741056        par_oce.F90 \ 
     
    13761058        KEY_CPP \ 
    13771059        cpl_oasis4.F90 
    1378 $(MODEL_LIB)(cpl_oce.o) :       \ 
    1379         $(MODEL_LIB)(par_kind.o) \ 
    1380         par_kind.F90 \ 
    1381         $(MODEL_LIB)(par_oce.o) \ 
    1382         par_oce.F90 \ 
    1383         KEY_CPP \ 
    1384         cpl_oce.F90 
    13851060$(MODEL_LIB)(ctlopn.o) :        \ 
    1386         $(MODEL_LIB)(lib_print.o) \ 
    1387         $(MODEL_LIB)(par_kind.o) \ 
    1388         $(MODEL_LIB)(par_oce.o) \ 
    1389         lib_print.f90 \ 
    1390         par_kind.F90 \ 
    1391         par_oce.F90 \ 
    1392         $(MODEL_LIB)(in_out_manager.o) \ 
    1393         in_out_manager.F90 \ 
     1061        lib_print.f90 \ 
     1062        $(MODEL_LIB)(lib_print.o) \ 
     1063        $(MODEL_LIB)(par_kind.o) \ 
     1064        $(MODEL_LIB)(par_oce.o) \ 
     1065        par_kind.F90 \ 
     1066        par_oce.F90 \ 
     1067        in_out_manager.F90 \ 
     1068        $(MODEL_LIB)(in_out_manager.o) \ 
    13941069        $(AGRIF_LIB) \ 
    13951070        KEY_CPP \ 
    13961071        ctlopn.F90 
    13971072$(MODEL_LIB)(daymod.o) :        \ 
    1398         $(MODEL_LIB)(dom_oce.o) \ 
    1399         $(MODEL_LIB)(in_out_manager.o) \ 
    1400         $(MODEL_LIB)(lib_mpp.o) \ 
    1401         $(MODEL_LIB)(lib_print.o) \ 
    1402         $(MODEL_LIB)(par_kind.o) \ 
    1403         $(MODEL_LIB)(par_oce.o) \ 
    1404         dom_oce.F90 \ 
    1405         in_out_manager.F90 \ 
    1406         lib_mpp.F90 \ 
    1407         lib_print.f90 \ 
    1408         par_kind.F90 \ 
    1409         par_oce.F90 \ 
    1410         $(MODEL_LIB)(dom_oce.o) \ 
    1411         $(MODEL_LIB)(in_out_manager.o) \ 
    1412         $(MODEL_LIB)(phycst.o) \ 
    1413         $(MODEL_LIB)(prtctl.o) \ 
    1414         dom_oce.F90 \ 
    1415         in_out_manager.F90 \ 
    1416         phycst.F90 \ 
    1417         prtctl.F90 \ 
     1073        c1d.F90 \ 
     1074        dom_oce.F90 \ 
     1075        eosbn2.F90 \ 
     1076        in_out_manager.F90 \ 
     1077        iom_def.F90 \ 
     1078        iom.F90 \ 
     1079        iom_ioipsl.F90 \ 
     1080        iom_nf90.F90 \ 
     1081        iom_rstdimg.F90 \ 
     1082        lbclnk.F90 \ 
     1083        lib_mpp.F90 \ 
     1084        lib_print.f90 \ 
     1085        $(MODEL_LIB)(c1d.o) \ 
     1086        $(MODEL_LIB)(dom_oce.o) \ 
     1087        $(MODEL_LIB)(eosbn2.o) \ 
     1088        $(MODEL_LIB)(in_out_manager.o) \ 
     1089        $(MODEL_LIB)(iom_def.o) \ 
     1090        $(MODEL_LIB)(iom_ioipsl.o) \ 
     1091        $(MODEL_LIB)(iom_nf90.o) \ 
     1092        $(MODEL_LIB)(iom.o) \ 
     1093        $(MODEL_LIB)(iom_rstdimg.o) \ 
     1094        $(MODEL_LIB)(lbclnk.o) \ 
     1095        $(MODEL_LIB)(lib_mpp.o) \ 
     1096        $(MODEL_LIB)(lib_print.o) \ 
     1097        $(MODEL_LIB)(oce.o) \ 
     1098        $(MODEL_LIB)(par_kind.o) \ 
     1099        $(MODEL_LIB)(par_oce.o) \ 
     1100        $(MODEL_LIB)(phycst.o) \ 
     1101        $(MODEL_LIB)(trdmld_oce.o) \ 
     1102        $(MODEL_LIB)(zdf_oce.o) \ 
     1103        $(MODEL_LIB)(zpshde.o) \ 
     1104        oce.F90 \ 
     1105        par_kind.F90 \ 
     1106        par_oce.F90 \ 
     1107        phycst.F90 \ 
     1108        trdmld_oce.F90 \ 
     1109        zdf_oce.F90 \ 
     1110        zpshde.F90 \ 
     1111        dom_oce.F90 \ 
     1112        in_out_manager.F90 \ 
     1113        iom.F90 \ 
     1114        $(MODEL_LIB)(dom_oce.o) \ 
     1115        $(MODEL_LIB)(in_out_manager.o) \ 
     1116        $(MODEL_LIB)(iom.o) \ 
     1117        $(MODEL_LIB)(phycst.o) \ 
     1118        $(MODEL_LIB)(prtctl.o) \ 
     1119        $(MODEL_LIB)(restart.o) \ 
     1120        phycst.F90 \ 
     1121        prtctl.F90 \ 
     1122        restart.F90 \ 
    14181123        daymod.F90 
    14191124$(MODEL_LIB)(diadimg.o) :       \ 
    1420         $(MODEL_LIB)(dom_oce.o) \ 
    1421         $(MODEL_LIB)(in_out_manager.o) \ 
    1422         $(MODEL_LIB)(lib_print.o) \ 
    1423         $(MODEL_LIB)(par_kind.o) \ 
    1424         $(MODEL_LIB)(par_oce.o) \ 
    1425         $(MODEL_LIB)(phycst.o) \ 
    1426         $(MODEL_LIB)(prtctl.o) \ 
    1427         dom_oce.F90 \ 
    1428         in_out_manager.F90 \ 
    1429         lib_print.f90 \ 
    1430         par_kind.F90 \ 
    1431         par_oce.F90 \ 
    1432         phycst.F90 \ 
    1433         prtctl.F90 \ 
     1125        dom_oce.F90 \ 
     1126        in_out_manager.F90 \ 
     1127        iom.F90 \ 
     1128        lib_print.f90 \ 
     1129        $(MODEL_LIB)(dom_oce.o) \ 
     1130        $(MODEL_LIB)(in_out_manager.o) \ 
     1131        $(MODEL_LIB)(iom.o) \ 
     1132        $(MODEL_LIB)(lib_print.o) \ 
     1133        $(MODEL_LIB)(par_kind.o) \ 
     1134        $(MODEL_LIB)(par_oce.o) \ 
     1135        $(MODEL_LIB)(phycst.o) \ 
     1136        $(MODEL_LIB)(prtctl.o) \ 
     1137        $(MODEL_LIB)(restart.o) \ 
     1138        par_kind.F90 \ 
     1139        par_oce.F90 \ 
     1140        phycst.F90 \ 
     1141        prtctl.F90 \ 
     1142        restart.F90 \ 
     1143        daymod.F90 \ 
     1144        dom_oce.F90 \ 
     1145        in_out_manager.F90 \ 
    14341146        $(MODEL_LIB)(daymod.o) \ 
    14351147        $(MODEL_LIB)(dom_oce.o) \ 
    14361148        $(MODEL_LIB)(in_out_manager.o) \ 
    14371149        $(MODEL_LIB)(oce.o) \ 
    1438         daymod.F90 \ 
    1439         dom_oce.F90 \ 
    1440         in_out_manager.F90 \ 
    14411150        oce.F90 \ 
    14421151        domzgr_substitute.h90 \ 
     
    14441153        diadimg.F90 
    14451154$(MODEL_LIB)(diafwb.o) :        \ 
    1446         $(MODEL_LIB)(dom_oce.o) \ 
    1447         $(MODEL_LIB)(in_out_manager.o) \ 
    1448         $(MODEL_LIB)(lib_print.o) \ 
    1449         $(MODEL_LIB)(par_kind.o) \ 
    1450         $(MODEL_LIB)(par_oce.o) \ 
    1451         dom_oce.F90 \ 
    1452         in_out_manager.F90 \ 
    1453         lib_print.f90 \ 
    1454         par_kind.F90 \ 
    1455         par_oce.F90 \ 
     1155        dom_oce.F90 \ 
     1156        in_out_manager.F90 \ 
     1157        lbclnk.F90 \ 
     1158        lib_print.f90 \ 
     1159        $(MODEL_LIB)(dom_oce.o) \ 
     1160        $(MODEL_LIB)(in_out_manager.o) \ 
     1161        $(MODEL_LIB)(lbclnk.o) \ 
     1162        $(MODEL_LIB)(lib_print.o) \ 
     1163        $(MODEL_LIB)(par_kind.o) \ 
     1164        $(MODEL_LIB)(par_oce.o) \ 
     1165        par_kind.F90 \ 
     1166        par_oce.F90 \ 
     1167        dom_oce.F90 \ 
     1168        in_out_manager.F90 \ 
     1169        lib_mpp.F90 \ 
    14561170        $(MODEL_LIB)(dom_oce.o) \ 
    14571171        $(MODEL_LIB)(in_out_manager.o) \ 
     
    14611175        $(MODEL_LIB)(sbc_oce.o) \ 
    14621176        $(MODEL_LIB)(zdf_oce.o) \ 
    1463         dom_oce.F90 \ 
    1464         in_out_manager.F90 \ 
    1465         lib_mpp.F90 \ 
    14661177        oce.F90 \ 
    14671178        phycst.F90 \ 
     
    14731184        diafwb.F90 
    14741185$(MODEL_LIB)(diagap.o) :        \ 
     1186        daymod.F90 \ 
     1187        dom_oce.F90 \ 
     1188        in_out_manager.F90 \ 
     1189        iom.F90 \ 
     1190        lbclnk.F90 \ 
     1191        lib_print.f90 \ 
    14751192        $(MODEL_LIB)(daymod.o) \ 
    14761193        $(MODEL_LIB)(dom_oce.o) \ 
     
    14841201        $(MODEL_LIB)(phycst.o) \ 
    14851202        $(MODEL_LIB)(prtctl.o) \ 
     1203        $(MODEL_LIB)(restart.o) \ 
     1204        oce.F90 \ 
     1205        par_kind.F90 \ 
     1206        par_oce.F90 \ 
     1207        phycst.F90 \ 
     1208        prtctl.F90 \ 
     1209        restart.F90 \ 
    14861210        daymod.F90 \ 
    1487         dom_oce.F90 \ 
    1488         in_out_manager.F90 \ 
    1489         iom.F90 \ 
    1490         lbclnk.F90 \ 
    1491         lib_print.f90 \ 
    1492         oce.F90 \ 
    1493         par_kind.F90 \ 
    1494         par_oce.F90 \ 
    1495         phycst.F90 \ 
    1496         prtctl.F90 \ 
     1211        dianam.F90 \ 
     1212        dom_oce.F90 \ 
     1213        dtasal.F90 \ 
     1214        dtatem.F90 \ 
     1215        in_out_manager.F90 \ 
     1216        lib_mpp.F90 \ 
    14971217        $(MODEL_LIB)(daymod.o) \ 
    14981218        $(MODEL_LIB)(dianam.o) \ 
     
    15031223        $(MODEL_LIB)(lib_mpp.o) \ 
    15041224        $(MODEL_LIB)(oce.o) \ 
    1505         daymod.F90 \ 
    1506         dianam.F90 \ 
    1507         dom_oce.F90 \ 
    1508         dtasal.F90 \ 
    1509         dtatem.F90 \ 
    1510         in_out_manager.F90 \ 
    1511         lib_mpp.F90 \ 
    15121225        oce.F90 \ 
    15131226        domzgr_substitute.h90 \ 
     
    15161229        diagap.F90 
    15171230$(MODEL_LIB)(diahdy.o) :        \ 
    1518         $(MODEL_LIB)(in_out_manager.o) \ 
    1519         $(MODEL_LIB)(lib_print.o) \ 
    1520         $(MODEL_LIB)(par_kind.o) \ 
    1521         $(MODEL_LIB)(par_oce.o) \ 
    1522         in_out_manager.F90 \ 
    1523         lib_print.f90 \ 
    1524         par_kind.F90 \ 
    1525         par_oce.F90 \ 
    1526         $(MODEL_LIB)(dom_oce.o) \ 
    1527         $(MODEL_LIB)(in_out_manager.o) \ 
    1528         $(MODEL_LIB)(oce.o) \ 
    1529         $(MODEL_LIB)(phycst.o) \ 
    1530         dom_oce.F90 \ 
    1531         in_out_manager.F90 \ 
     1231        in_out_manager.F90 \ 
     1232        lib_print.f90 \ 
     1233        $(MODEL_LIB)(in_out_manager.o) \ 
     1234        $(MODEL_LIB)(lib_print.o) \ 
     1235        $(MODEL_LIB)(par_kind.o) \ 
     1236        $(MODEL_LIB)(par_oce.o) \ 
     1237        par_kind.F90 \ 
     1238        par_oce.F90 \ 
     1239        dom_oce.F90 \ 
     1240        in_out_manager.F90 \ 
     1241        $(MODEL_LIB)(dom_oce.o) \ 
     1242        $(MODEL_LIB)(in_out_manager.o) \ 
     1243        $(MODEL_LIB)(oce.o) \ 
     1244        $(MODEL_LIB)(phycst.o) \ 
    15321245        oce.F90 \ 
    15331246        phycst.F90 \ 
     
    15361249        diahdy.F90 
    15371250$(MODEL_LIB)(diahth.o) :        \ 
    1538         $(MODEL_LIB)(in_out_manager.o) \ 
    1539         $(MODEL_LIB)(lib_print.o) \ 
    1540         $(MODEL_LIB)(par_kind.o) \ 
    1541         $(MODEL_LIB)(par_oce.o) \ 
    1542         in_out_manager.F90 \ 
    1543         lib_print.f90 \ 
    1544         par_kind.F90 \ 
    1545         par_oce.F90 \ 
    1546         $(MODEL_LIB)(dom_oce.o) \ 
    1547         $(MODEL_LIB)(in_out_manager.o) \ 
    1548         $(MODEL_LIB)(oce.o) \ 
    1549         $(MODEL_LIB)(phycst.o) \ 
    1550         dom_oce.F90 \ 
    1551         in_out_manager.F90 \ 
     1251        in_out_manager.F90 \ 
     1252        lib_print.f90 \ 
     1253        $(MODEL_LIB)(in_out_manager.o) \ 
     1254        $(MODEL_LIB)(lib_print.o) \ 
     1255        $(MODEL_LIB)(par_kind.o) \ 
     1256        $(MODEL_LIB)(par_oce.o) \ 
     1257        par_kind.F90 \ 
     1258        par_oce.F90 \ 
     1259        dom_oce.F90 \ 
     1260        in_out_manager.F90 \ 
     1261        $(MODEL_LIB)(dom_oce.o) \ 
     1262        $(MODEL_LIB)(in_out_manager.o) \ 
     1263        $(MODEL_LIB)(oce.o) \ 
     1264        $(MODEL_LIB)(phycst.o) \ 
    15521265        oce.F90 \ 
    15531266        phycst.F90 \ 
     
    15561269        diahth.F90 
    15571270$(MODEL_LIB)(dianam.o) :        \ 
    1558         $(MODEL_LIB)(dom_oce.o) \ 
    1559         $(MODEL_LIB)(in_out_manager.o) \ 
    1560         $(MODEL_LIB)(lib_print.o) \ 
    1561         $(MODEL_LIB)(par_kind.o) \ 
    1562         $(MODEL_LIB)(par_oce.o) \ 
    1563         $(MODEL_LIB)(phycst.o) \ 
    1564         $(MODEL_LIB)(prtctl.o) \ 
    1565         dom_oce.F90 \ 
    1566         in_out_manager.F90 \ 
    1567         lib_print.f90 \ 
    1568         par_kind.F90 \ 
    1569         par_oce.F90 \ 
    1570         phycst.F90 \ 
    1571         prtctl.F90 \ 
     1271        dom_oce.F90 \ 
     1272        in_out_manager.F90 \ 
     1273        iom.F90 \ 
     1274        lib_print.f90 \ 
     1275        $(MODEL_LIB)(dom_oce.o) \ 
     1276        $(MODEL_LIB)(in_out_manager.o) \ 
     1277        $(MODEL_LIB)(iom.o) \ 
     1278        $(MODEL_LIB)(lib_print.o) \ 
     1279        $(MODEL_LIB)(par_kind.o) \ 
     1280        $(MODEL_LIB)(par_oce.o) \ 
     1281        $(MODEL_LIB)(phycst.o) \ 
     1282        $(MODEL_LIB)(prtctl.o) \ 
     1283        $(MODEL_LIB)(restart.o) \ 
     1284        par_kind.F90 \ 
     1285        par_oce.F90 \ 
     1286        phycst.F90 \ 
     1287        prtctl.F90 \ 
     1288        restart.F90 \ 
     1289        daymod.F90 \ 
     1290        dom_oce.F90 \ 
     1291        in_out_manager.F90 \ 
    15721292        $(MODEL_LIB)(daymod.o) \ 
    15731293        $(MODEL_LIB)(dom_oce.o) \ 
    15741294        $(MODEL_LIB)(in_out_manager.o) \ 
    15751295        $(MODEL_LIB)(phycst.o) \ 
    1576         daymod.F90 \ 
    1577         dom_oce.F90 \ 
    1578         in_out_manager.F90 \ 
    15791296        phycst.F90 \ 
    15801297        KEY_CPP \ 
    15811298        dianam.F90 
    15821299$(MODEL_LIB)(diaptr.o) :        \ 
     1300        daymod.F90 \ 
     1301        dom_oce.F90 \ 
     1302        in_out_manager.F90 \ 
     1303        iom_def.F90 \ 
     1304        iom.F90 \ 
     1305        iom_ioipsl.F90 \ 
     1306        iom_nf90.F90 \ 
     1307        iom_rstdimg.F90 \ 
     1308        lbclnk.F90 \ 
     1309        lib_print.f90 \ 
    15831310        $(MODEL_LIB)(daymod.o) \ 
    15841311        $(MODEL_LIB)(dom_oce.o) \ 
     
    15871314        $(MODEL_LIB)(iom_ioipsl.o) \ 
    15881315        $(MODEL_LIB)(iom_nf90.o) \ 
     1316        $(MODEL_LIB)(iom.o) \ 
    15891317        $(MODEL_LIB)(iom_rstdimg.o) \ 
    15901318        $(MODEL_LIB)(lbclnk.o) \ 
     
    15941322        $(MODEL_LIB)(phycst.o) \ 
    15951323        $(MODEL_LIB)(prtctl.o) \ 
     1324        $(MODEL_LIB)(restart.o) \ 
     1325        par_kind.F90 \ 
     1326        par_oce.F90 \ 
     1327        phycst.F90 \ 
     1328        prtctl.F90 \ 
     1329        restart.F90 \ 
    15961330        daymod.F90 \ 
    1597         dom_oce.F90 \ 
    1598         in_out_manager.F90 \ 
    1599         iom_def.F90 \ 
    1600         iom_ioipsl.F90 \ 
    1601         iom_nf90.F90 \ 
    1602         iom_rstdimg.F90 \ 
    1603         lbclnk.F90 \ 
    1604         lib_print.f90 \ 
    1605         par_kind.F90 \ 
    1606         par_oce.F90 \ 
    1607         phycst.F90 \ 
    1608         prtctl.F90 \ 
     1331        dianam.F90 \ 
     1332        dom_oce.F90 \ 
     1333        in_out_manager.F90 \ 
     1334        iom.F90 \ 
     1335        ldftra_oce.F90 \ 
     1336        lib_mpp.F90 \ 
    16091337        $(MODEL_LIB)(daymod.o) \ 
    16101338        $(MODEL_LIB)(dianam.o) \ 
     
    16161344        $(MODEL_LIB)(oce.o) \ 
    16171345        $(MODEL_LIB)(phycst.o) \ 
    1618         daymod.F90 \ 
    1619         dianam.F90 \ 
    1620         dom_oce.F90 \ 
    1621         in_out_manager.F90 \ 
    1622         iom.F90 \ 
    1623         ldftra_oce.F90 \ 
    1624         lib_mpp.F90 \ 
    16251346        oce.F90 \ 
    16261347        phycst.F90 \ 
     
    16311352        diaptr.F90 
    16321353$(MODEL_LIB)(diaspr.o) :        \ 
     1354        dom_oce.F90 \ 
     1355        in_out_manager.F90 \ 
     1356        lbclnk.F90 \ 
     1357        lib_mpp.F90 \ 
     1358        lib_print.f90 \ 
    16331359        $(MODEL_LIB)(dom_oce.o) \ 
    16341360        $(MODEL_LIB)(in_out_manager.o) \ 
     
    16411367        $(MODEL_LIB)(sol_oce.o) \ 
    16421368        $(MODEL_LIB)(zdf_oce.o) \ 
    1643         dom_oce.F90 \ 
    1644         in_out_manager.F90 \ 
    1645         lbclnk.F90 \ 
    1646         lib_mpp.F90 \ 
    1647         lib_print.f90 \ 
    16481369        oce.F90 \ 
    16491370        par_kind.F90 \ 
     
    16511372        sol_oce.F90 \ 
    16521373        zdf_oce.F90 \ 
    1653         $(MODEL_LIB)(dom_oce.o) \ 
    1654         $(MODEL_LIB)(in_out_manager.o) \ 
    1655         $(MODEL_LIB)(lib_mpp.o) \ 
    1656         $(MODEL_LIB)(oce.o) \ 
    1657         $(MODEL_LIB)(phycst.o) \ 
     1374        dom_oce.F90 \ 
     1375        in_out_manager.F90 \ 
     1376        lib_mpp.F90 \ 
     1377        $(MODEL_LIB)(dom_oce.o) \ 
     1378        $(MODEL_LIB)(in_out_manager.o) \ 
     1379        $(MODEL_LIB)(lib_mpp.o) \ 
     1380        $(MODEL_LIB)(oce.o) \ 
     1381        $(MODEL_LIB)(phycst.o) \ 
     1382        $(MODEL_LIB)(solfet.o) \ 
    16581383        $(MODEL_LIB)(sol_oce.o) \ 
    1659         $(MODEL_LIB)(solfet.o) \ 
    16601384        $(MODEL_LIB)(solpcg.o) \ 
    16611385        $(MODEL_LIB)(solsor.o) \ 
    1662         dom_oce.F90 \ 
    1663         in_out_manager.F90 \ 
    1664         lib_mpp.F90 \ 
    1665         oce.F90 \ 
    1666         phycst.F90 \ 
     1386        oce.F90 \ 
     1387        phycst.F90 \ 
     1388        solfet.F90 \ 
    16671389        sol_oce.F90 \ 
    1668         solfet.F90 \ 
    16691390        solpcg.F90 \ 
    16701391        solsor.F90 \ 
    16711392        KEY_CPP \ 
    16721393        diaspr.F90 
    1673 $(MODEL_LIB)(diawri.o) :        \ 
    1674         $(MODEL_LIB)(daymod.o) \ 
    1675         $(MODEL_LIB)(dom_oce.o) \ 
    1676         $(MODEL_LIB)(fldread.o) \ 
    1677         $(MODEL_LIB)(in_out_manager.o) \ 
    1678         $(MODEL_LIB)(iom.o) \ 
    1679         $(MODEL_LIB)(lbclnk.o) \ 
    1680         $(MODEL_LIB)(lib_mpp.o) \ 
    1681         $(MODEL_LIB)(lib_print.o) \ 
    1682         $(MODEL_LIB)(oce.o) \ 
    1683         $(MODEL_LIB)(ocfzpt.o) \ 
    1684         $(MODEL_LIB)(par_kind.o) \ 
    1685         $(MODEL_LIB)(par_oce.o) \ 
    1686         $(MODEL_LIB)(phycst.o) \ 
    1687         $(MODEL_LIB)(prtctl.o) \ 
    1688         $(MODEL_LIB)(sbc_oce.o) \ 
    1689         $(MODEL_LIB)(sbcrnf.o) \ 
    1690         $(MODEL_LIB)(sol_oce.o) \ 
    1691         $(MODEL_LIB)(solfet.o) \ 
    1692         $(MODEL_LIB)(solpcg.o) \ 
    1693         $(MODEL_LIB)(solsor.o) \ 
    1694         $(MODEL_LIB)(zdf_oce.o) \ 
     1394$(MODEL_LIB)(diawri_c1d.o) :    \ 
     1395        closea.F90 \ 
     1396        cpl_oasis3.F90 \ 
    16951397        daymod.F90 \ 
    1696         dom_oce.F90 \ 
     1398        diadimg.F90 \ 
     1399        diahth.F90 \ 
     1400        dianam.F90 \ 
     1401        diaspr.F90 \ 
     1402        dom_oce.F90 \ 
     1403        dynzdf_exp.F90 \ 
     1404        eosbn2.F90 \ 
    16971405        fldread.F90 \ 
    1698         in_out_manager.F90 \ 
    1699         iom.F90 \ 
    1700         lbclnk.F90 \ 
    1701         lib_mpp.F90 \ 
    1702         lib_print.f90 \ 
    1703         oce.F90 \ 
    1704         ocfzpt.F90 \ 
    1705         par_kind.F90 \ 
    1706         par_oce.F90 \ 
    1707         phycst.F90 \ 
    1708         prtctl.F90 \ 
    1709         sbc_oce.F90 \ 
    1710         sbcrnf.F90 \ 
    1711         sol_oce.F90 \ 
    1712         solfet.F90 \ 
    1713         solpcg.F90 \ 
    1714         solsor.F90 \ 
    1715         zdf_oce.F90 \ 
     1406        ice_oce.F90 \ 
     1407        in_out_manager.F90 \ 
     1408        iom.F90 \ 
     1409        lbclnk.F90 \ 
     1410        ldfdyn_oce.F90 \ 
     1411        ldftra_oce.F90 \ 
     1412        lib_mpp.F90 \ 
     1413        lib_print.f90 \ 
     1414        $(MODEL_LIB)(closea.o) \ 
     1415        $(MODEL_LIB)(cpl_oasis3.o) \ 
    17161416        $(MODEL_LIB)(daymod.o) \ 
    17171417        $(MODEL_LIB)(diadimg.o) \ 
     
    17201420        $(MODEL_LIB)(diaspr.o) \ 
    17211421        $(MODEL_LIB)(dom_oce.o) \ 
    1722         $(MODEL_LIB)(ice_oce.o) \ 
    1723         $(MODEL_LIB)(in_out_manager.o) \ 
    1724         $(MODEL_LIB)(lbclnk.o) \ 
    1725         $(MODEL_LIB)(ldfdyn_oce.o) \ 
    1726         $(MODEL_LIB)(ldftra_oce.o) \ 
    1727         $(MODEL_LIB)(oce.o) \ 
    1728         $(MODEL_LIB)(ocfzpt.o) \ 
    1729         $(MODEL_LIB)(phycst.o) \ 
    1730         $(MODEL_LIB)(sbc_ice.o) \ 
    1731         $(MODEL_LIB)(sbc_oce.o) \ 
    1732         $(MODEL_LIB)(sbcssr.o) \ 
    1733         $(MODEL_LIB)(sol_oce.o) \ 
    1734         $(MODEL_LIB)(zdf_oce.o) \ 
    1735         $(MODEL_LIB)(zdfddm.o) \ 
    1736         $(MODEL_LIB)(zdfmxl.o) \ 
    1737         daymod.F90 \ 
    1738         diadimg.F90 \ 
    1739         diahth.F90 \ 
    1740         dianam.F90 \ 
    1741         diaspr.F90 \ 
    1742         dom_oce.F90 \ 
    1743         ice_oce.F90 \ 
    1744         in_out_manager.F90 \ 
    1745         lbclnk.F90 \ 
    1746         ldfdyn_oce.F90 \ 
    1747         ldftra_oce.F90 \ 
    1748         oce.F90 \ 
    1749         ocfzpt.F90 \ 
    1750         phycst.F90 \ 
    1751         sbc_ice.F90 \ 
    1752         sbc_oce.F90 \ 
    1753         sbcssr.F90 \ 
    1754         sol_oce.F90 \ 
    1755         zdf_oce.F90 \ 
    1756         zdfddm.F90 \ 
    1757         zdfmxl.F90 \ 
    1758         $(MODEL_LIB)(lib_mpp.o) \ 
    1759         lib_mpp.F90 \ 
    1760         diawri_dimg.h90 \ 
    1761         zdfddm_substitute.h90 \ 
    1762         $(IOIPSL_LIB) \ 
    1763         KEY_CPP \ 
    1764         diawri.F90 
    1765 $(MODEL_LIB)(diawri_c1d.o) :    \ 
    1766         $(MODEL_LIB)(closea.o) \ 
    1767         $(MODEL_LIB)(daymod.o) \ 
    1768         $(MODEL_LIB)(diadimg.o) \ 
    1769         $(MODEL_LIB)(diahth.o) \ 
    1770         $(MODEL_LIB)(dianam.o) \ 
    1771         $(MODEL_LIB)(diaspr.o) \ 
    1772         $(MODEL_LIB)(dom_oce.o) \ 
    17731422        $(MODEL_LIB)(dynzdf_exp.o) \ 
    17741423        $(MODEL_LIB)(eosbn2.o) \ 
     
    17831432        $(MODEL_LIB)(lib_print.o) \ 
    17841433        $(MODEL_LIB)(oce.o) \ 
    1785         $(MODEL_LIB)(ocfzpt.o) \ 
    17861434        $(MODEL_LIB)(par_kind.o) \ 
    17871435        $(MODEL_LIB)(par_oce.o) \ 
     
    17891437        $(MODEL_LIB)(prtctl.o) \ 
    17901438        $(MODEL_LIB)(restart.o) \ 
    1791         $(MODEL_LIB)(sbc_ice.o) \ 
    1792         $(MODEL_LIB)(sbc_oce.o) \ 
    17931439        $(MODEL_LIB)(sbcana.o) \ 
    17941440        $(MODEL_LIB)(sbcblk_clio.o) \ 
     
    17981444        $(MODEL_LIB)(sbcfwb.o) \ 
    17991445        $(MODEL_LIB)(sbcice_if.o) \ 
     1446        $(MODEL_LIB)(sbcice_lim_2.o) \ 
    18001447        $(MODEL_LIB)(sbcice_lim.o) \ 
    1801         $(MODEL_LIB)(sbcice_lim_2.o) \ 
     1448        $(MODEL_LIB)(sbc_ice.o) \ 
     1449        $(MODEL_LIB)(sbc_oce.o) \ 
    18021450        $(MODEL_LIB)(sbcrnf.o) \ 
    18031451        $(MODEL_LIB)(sbcssm.o) \ 
     
    18061454        $(MODEL_LIB)(trazdf_exp.o) \ 
    18071455        $(MODEL_LIB)(trdmod.o) \ 
    1808         $(MODEL_LIB)(zdf_oce.o) \ 
    18091456        $(MODEL_LIB)(zdfddm.o) \ 
    18101457        $(MODEL_LIB)(zdfmxl.o) \ 
    1811         closea.F90 \ 
    1812         daymod.F90 \ 
    1813         diadimg.F90 \ 
    1814         diahth.F90 \ 
    1815         dianam.F90 \ 
    1816         diaspr.F90 \ 
    1817         dom_oce.F90 \ 
    1818         dynzdf_exp.F90 \ 
    1819         eosbn2.F90 \ 
    1820         fldread.F90 \ 
    1821         ice_oce.F90 \ 
    1822         in_out_manager.F90 \ 
    1823         iom.F90 \ 
    1824         lbclnk.F90 \ 
    1825         ldfdyn_oce.F90 \ 
    1826         ldftra_oce.F90 \ 
    1827         lib_mpp.F90 \ 
    1828         lib_print.f90 \ 
    1829         oce.F90 \ 
    1830         ocfzpt.F90 \ 
     1458        $(MODEL_LIB)(zdf_oce.o) \ 
     1459        oce.F90 \ 
    18311460        par_kind.F90 \ 
    18321461        par_oce.F90 \ 
     
    18341463        prtctl.F90 \ 
    18351464        restart.F90 \ 
    1836         sbc_ice.F90 \ 
    1837         sbc_oce.F90 \ 
    18381465        sbcana.F90 \ 
    18391466        sbcblk_clio.F90 \ 
     
    18421469        sbcflx.F90 \ 
    18431470        sbcfwb.F90 \ 
     1471        sbc_ice.F90 \ 
    18441472        sbcice_if.F90 \ 
     1473        sbcice_lim_2.F90 \ 
    18451474        sbcice_lim.F90 \ 
    1846         sbcice_lim_2.F90 \ 
     1475        sbc_oce.F90 \ 
    18471476        sbcrnf.F90 \ 
    18481477        sbcssm.F90 \ 
     
    18511480        trazdf_exp.F90 \ 
    18521481        trdmod.F90 \ 
    1853         zdf_oce.F90 \ 
    18541482        zdfddm.F90 \ 
    18551483        zdfmxl.F90 \ 
     1484        zdf_oce.F90 \ 
     1485        daymod.F90 \ 
     1486        dianam.F90 \ 
     1487        diawri.F90 \ 
     1488        dom_oce.F90 \ 
     1489        ice_oce.F90 \ 
     1490        in_out_manager.F90 \ 
     1491        lbclnk.F90 \ 
    18561492        $(MODEL_LIB)(daymod.o) \ 
    18571493        $(MODEL_LIB)(dianam.o) \ 
     
    18621498        $(MODEL_LIB)(lbclnk.o) \ 
    18631499        $(MODEL_LIB)(oce.o) \ 
    1864         $(MODEL_LIB)(ocfzpt.o) \ 
    18651500        $(MODEL_LIB)(phycst.o) \ 
    18661501        $(MODEL_LIB)(sbc_ice.o) \ 
    1867         $(MODEL_LIB)(sbc_oce.o) \ 
    18681502        $(MODEL_LIB)(sbcmod.o) \ 
     1503        $(MODEL_LIB)(sbc_oce.o) \ 
    18691504        $(MODEL_LIB)(sbcssr.o) \ 
    18701505        $(MODEL_LIB)(sol_oce.o) \ 
    1871         $(MODEL_LIB)(zdf_oce.o) \ 
    18721506        $(MODEL_LIB)(zdfddm.o) \ 
    18731507        $(MODEL_LIB)(zdfkpp.o) \ 
    18741508        $(MODEL_LIB)(zdfmxl.o) \ 
     1509        $(MODEL_LIB)(zdf_oce.o) \ 
    18751510        $(MODEL_LIB)(zdftke.o) \ 
    1876         daymod.F90 \ 
    1877         dianam.F90 \ 
    1878         diawri.F90 \ 
    1879         dom_oce.F90 \ 
    1880         ice_oce.F90 \ 
    1881         in_out_manager.F90 \ 
    1882         lbclnk.F90 \ 
    1883         oce.F90 \ 
    1884         ocfzpt.F90 \ 
     1511        oce.F90 \ 
    18851512        phycst.F90 \ 
    18861513        sbc_ice.F90 \ 
    1887         sbc_oce.F90 \ 
    18881514        sbcmod.F90 \ 
     1515        sbc_oce.F90 \ 
    18891516        sbcssr.F90 \ 
    18901517        sol_oce.F90 \ 
    1891         zdf_oce.F90 \ 
    18921518        zdfddm.F90 \ 
    18931519        zdfkpp.F90 \ 
    18941520        zdfmxl.F90 \ 
     1521        zdf_oce.F90 \ 
    18951522        zdftke.F90 \ 
    18961523        zdfddm_substitute.h90 \ 
     
    18981525        KEY_CPP \ 
    18991526        diawri_c1d.F90 
     1527$(MODEL_LIB)(diawri.o) :        \ 
     1528        daymod.F90 \ 
     1529        dom_oce.F90 \ 
     1530        fldread.F90 \ 
     1531        in_out_manager.F90 \ 
     1532        iom.F90 \ 
     1533        lbclnk.F90 \ 
     1534        lib_mpp.F90 \ 
     1535        lib_print.f90 \ 
     1536        $(MODEL_LIB)(daymod.o) \ 
     1537        $(MODEL_LIB)(dom_oce.o) \ 
     1538        $(MODEL_LIB)(fldread.o) \ 
     1539        $(MODEL_LIB)(in_out_manager.o) \ 
     1540        $(MODEL_LIB)(iom.o) \ 
     1541        $(MODEL_LIB)(lbclnk.o) \ 
     1542        $(MODEL_LIB)(lib_mpp.o) \ 
     1543        $(MODEL_LIB)(lib_print.o) \ 
     1544        $(MODEL_LIB)(oce.o) \ 
     1545        $(MODEL_LIB)(par_kind.o) \ 
     1546        $(MODEL_LIB)(par_oce.o) \ 
     1547        $(MODEL_LIB)(phycst.o) \ 
     1548        $(MODEL_LIB)(prtctl.o) \ 
     1549        $(MODEL_LIB)(restart.o) \ 
     1550        $(MODEL_LIB)(sbc_oce.o) \ 
     1551        $(MODEL_LIB)(sbcrnf.o) \ 
     1552        $(MODEL_LIB)(solfet.o) \ 
     1553        $(MODEL_LIB)(sol_oce.o) \ 
     1554        $(MODEL_LIB)(solpcg.o) \ 
     1555        $(MODEL_LIB)(solsor.o) \ 
     1556        $(MODEL_LIB)(zdf_oce.o) \ 
     1557        oce.F90 \ 
     1558        par_kind.F90 \ 
     1559        par_oce.F90 \ 
     1560        phycst.F90 \ 
     1561        prtctl.F90 \ 
     1562        restart.F90 \ 
     1563        sbc_oce.F90 \ 
     1564        sbcrnf.F90 \ 
     1565        solfet.F90 \ 
     1566        sol_oce.F90 \ 
     1567        solpcg.F90 \ 
     1568        solsor.F90 \ 
     1569        zdf_oce.F90 \ 
     1570        daymod.F90 \ 
     1571        diadimg.F90 \ 
     1572        diahth.F90 \ 
     1573        dianam.F90 \ 
     1574        diaspr.F90 \ 
     1575        dom_oce.F90 \ 
     1576        ice_oce.F90 \ 
     1577        in_out_manager.F90 \ 
     1578        lbclnk.F90 \ 
     1579        ldfdyn_oce.F90 \ 
     1580        ldftra_oce.F90 \ 
     1581        $(MODEL_LIB)(daymod.o) \ 
     1582        $(MODEL_LIB)(diadimg.o) \ 
     1583        $(MODEL_LIB)(diahth.o) \ 
     1584        $(MODEL_LIB)(dianam.o) \ 
     1585        $(MODEL_LIB)(diaspr.o) \ 
     1586        $(MODEL_LIB)(dom_oce.o) \ 
     1587        $(MODEL_LIB)(ice_oce.o) \ 
     1588        $(MODEL_LIB)(in_out_manager.o) \ 
     1589        $(MODEL_LIB)(lbclnk.o) \ 
     1590        $(MODEL_LIB)(ldfdyn_oce.o) \ 
     1591        $(MODEL_LIB)(ldftra_oce.o) \ 
     1592        $(MODEL_LIB)(oce.o) \ 
     1593        $(MODEL_LIB)(phycst.o) \ 
     1594        $(MODEL_LIB)(sbc_ice.o) \ 
     1595        $(MODEL_LIB)(sbc_oce.o) \ 
     1596        $(MODEL_LIB)(sbcssr.o) \ 
     1597        $(MODEL_LIB)(sol_oce.o) \ 
     1598        $(MODEL_LIB)(zdfddm.o) \ 
     1599        $(MODEL_LIB)(zdfmxl.o) \ 
     1600        $(MODEL_LIB)(zdf_oce.o) \ 
     1601        oce.F90 \ 
     1602        phycst.F90 \ 
     1603        sbc_ice.F90 \ 
     1604        sbc_oce.F90 \ 
     1605        sbcssr.F90 \ 
     1606        sol_oce.F90 \ 
     1607        zdfddm.F90 \ 
     1608        zdfmxl.F90 \ 
     1609        zdf_oce.F90 \ 
     1610        lib_mpp.F90 \ 
     1611        $(MODEL_LIB)(lib_mpp.o) \ 
     1612        diawri_dimg.h90 \ 
     1613        zdfddm_substitute.h90 \ 
     1614        $(IOIPSL_LIB) \ 
     1615        KEY_CPP \ 
     1616        diawri.F90 
    19001617$(MODEL_LIB)(divcur.o) :        \ 
     1618        bdy_par.F90 \ 
     1619        dom_oce.F90 \ 
     1620        in_out_manager.F90 \ 
     1621        lib_mpp.F90 \ 
     1622        lib_print.f90 \ 
    19011623        $(MODEL_LIB)(bdy_par.o) \ 
    19021624        $(MODEL_LIB)(dom_oce.o) \ 
     
    19081630        $(MODEL_LIB)(par_kind.o) \ 
    19091631        $(MODEL_LIB)(par_oce.o) \ 
    1910         bdy_par.F90 \ 
    1911         dom_oce.F90 \ 
    1912         in_out_manager.F90 \ 
    1913         lib_mpp.F90 \ 
    1914         lib_print.f90 \ 
    19151632        obc_par.F90 \ 
    19161633        oce.F90 \ 
    19171634        par_kind.F90 \ 
    19181635        par_oce.F90 \ 
     1636        bdy_oce.F90 \ 
     1637        dom_oce.F90 \ 
     1638        in_out_manager.F90 \ 
     1639        lbclnk.F90 \ 
    19191640        $(MODEL_LIB)(bdy_oce.o) \ 
    19201641        $(MODEL_LIB)(dom_oce.o) \ 
     
    19231644        $(MODEL_LIB)(obc_oce.o) \ 
    19241645        $(MODEL_LIB)(oce.o) \ 
    1925         bdy_oce.F90 \ 
    1926         dom_oce.F90 \ 
    1927         in_out_manager.F90 \ 
    1928         lbclnk.F90 \ 
    19291646        obc_oce.F90 \ 
    19301647        oce.F90 \ 
     
    19331650        KEY_CPP \ 
    19341651        divcur.F90 
    1935 $(MODEL_LIB)(dom_ice_2.o) :     \ 
    1936         $(MODEL_LIB)(par_oce.o) \ 
    1937         par_oce.F90 \ 
    1938         $(MODEL_LIB)(par_ice_2.o) \ 
    1939         par_ice_2.F90 \ 
    1940         KEY_CPP \ 
    1941         dom_ice_2.F90 
    1942 $(MODEL_LIB)(dom_oce.o) :       \ 
    1943         $(MODEL_LIB)(par_kind.o) \ 
    1944         par_kind.F90 \ 
    1945         $(MODEL_LIB)(par_oce.o) \ 
    1946         par_oce.F90 \ 
    1947         KEY_CPP \ 
    1948         dom_oce.F90 
    19491652$(MODEL_LIB)(domain.o) :        \ 
     1653        bdy_oce.F90 \ 
     1654        c1d.F90 \ 
     1655        closea.F90 \ 
     1656        dom_oce.F90 \ 
     1657        dynspg_oce.F90 \ 
     1658        in_out_manager.F90 \ 
     1659        iom.F90 \ 
     1660        lbclnk.F90 \ 
     1661        lib_mpp.F90 \ 
     1662        lib_print.f90 \ 
    19501663        $(MODEL_LIB)(bdy_oce.o) \ 
    19511664        $(MODEL_LIB)(c1d.o) \ 
     
    19631676        $(MODEL_LIB)(par_oce.o) \ 
    19641677        $(MODEL_LIB)(phycst.o) \ 
    1965         $(MODEL_LIB)(prtctl.o) \ 
    19661678        $(MODEL_LIB)(sbc_oce.o) \ 
    19671679        $(MODEL_LIB)(solisl.o) \ 
    1968         bdy_oce.F90 \ 
    1969         c1d.F90 \ 
     1680        obc_oce.F90 \ 
     1681        oce.F90 \ 
     1682        par_kind.F90 \ 
     1683        par_oce.F90 \ 
     1684        phycst.F90 \ 
     1685        sbc_oce.F90 \ 
     1686        solisl.F90 \ 
    19701687        closea.F90 \ 
    1971         dom_oce.F90 \ 
    1972         dynspg_oce.F90 \ 
    1973         in_out_manager.F90 \ 
    1974         iom.F90 \ 
    1975         lbclnk.F90 \ 
    1976         lib_mpp.F90 \ 
    1977         lib_print.f90 \ 
    1978         obc_oce.F90 \ 
    1979         oce.F90 \ 
    1980         par_kind.F90 \ 
    1981         par_oce.F90 \ 
    1982         phycst.F90 \ 
    1983         prtctl.F90 \ 
    1984         sbc_oce.F90 \ 
    1985         solisl.F90 \ 
     1688        domhgr.F90 \ 
     1689        dommsk.F90 \ 
     1690        dom_oce.F90 \ 
     1691        domstp.F90 \ 
     1692        domvvl.F90 \ 
     1693        domwri.F90 \ 
     1694        domzgr.F90 \ 
     1695        ice_oce.F90 \ 
     1696        in_out_manager.F90 \ 
     1697        lib_mpp.F90 \ 
    19861698        $(MODEL_LIB)(closea.o) \ 
    1987         $(MODEL_LIB)(daymod.o) \ 
    1988         $(MODEL_LIB)(dom_oce.o) \ 
    19891699        $(MODEL_LIB)(domhgr.o) \<