Changeset 2101 for CONFIG/UNIFORM/v5


Ignore:
Timestamp:
07/10/13 19:39:59 (11 years ago)
Author:
jgipsl
Message:

Removed INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def from run.def. Instead the lmdz.driver will add the appropriate line in run.def if the corresponding coupling is done.

This is done to avoid warnings from IOIPSL when a file is not exsiting.

Location:
CONFIG/UNIFORM/v5
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v5/IPSLCM5CHS_v5/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/IPSLCM5CHS_v5/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
  • CONFIG/UNIFORM/v5/IPSLCM5CHT_v5/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/IPSLCM5CHT_v5/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
  • CONFIG/UNIFORM/v5/IPSLCM5_v5/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/IPSLCM5_v5/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
  • CONFIG/UNIFORM/v5/LMDZORINCA_v5/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/LMDZORINCA_v5/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
  • CONFIG/UNIFORM/v5/LMDZOR_v5.2/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/LMDZOR_v5.2/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
  • CONFIG/UNIFORM/v5/LMDZOR_v5/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/LMDZOR_v5/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
  • CONFIG/UNIFORM/v5/LMDZREPR_v5/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/LMDZREPR_v5/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
  • CONFIG/UNIFORM/v5/LMDZ_v5/GENERAL/DRIVER/lmdz.driver

    r2015 r2101  
    363363 
    364364    if [ X${config_ListOfComponents_SRF} = Xorchidee ] ; then 
    365         echo "Activate ORCHIDEE, set VEGET=y in run.def" 
     365        echo "Activate ORCHIDEE: set VEGET=y and add INCLUDEDEF=orchidee.def in run.def" 
    366366        LMDZ_sed run.def VEGET y 
     367        # Add "INCLUDEDEF=orchidee.def" before the 5th line in run.def 
     368        sed -i '5iINCLUDEDEF=orchidee.def' run.def 
    367369    else 
    368370        echo "No ORCHIDEE, set VEGET=n in run.def" 
     
    379381 
    380382    if [ X${config_ListOfComponents_CHM} = Xinca ] ; then 
    381         echo "Activate coupling to INCA, set type_trac=inca in run.def" 
     383        echo "Activate coupling to INCA: set type_trac=inca and add INCLUDEDEF=inca.def in run.def" 
    382384        LMDZ_sed run.def type_trac inca 
     385        # Add "INCLUDEDEF=inca.def" before the 5th line in run.def 
     386        sed -i '5iINCLUDEDEF=inca.def' run.def 
    383387    elif [ X${config_ListOfComponents_CHM} = Xreprobus ] ; then 
    384         echo "Activate coupling to REPROBUS, set type_trac=repr in run.def" 
     388        echo "Activate coupling to REPROBUS: set type_trac=repr and add INCLUDEDEF=reprobus.def in run.def" 
    385389        LMDZ_sed run.def type_trac repr 
    386390        LMDZ_sed run.def config_inca none 
     391        # Add "INCLUDEDEF=reprobus.def" before the 5th line in run.def 
     392        sed -i '5iINCLUDEDEF=reprobus.def' run.def 
    387393    else 
    388394        echo "No coupling to chemistry model, set type_trac=lmdz in run.def" 
     
    437443 
    438444    # guide.def : Activate nudging if ok_guide=y set in lmdz.card 
    439     if [ ! X${lmdz_UserChoices_ok_guide} = X ] ; then 
     445    if [ X${lmdz_UserChoices_ok_guide} = Xy ] ; then 
     446        # Set ok_guide=y in guide.def 
    440447        LMDZ_sed guide.def ok_guide  ${lmdz_UserChoices_ok_guide} 
     448        # Add "INCLUDEDEF=guide.def" before the 5th line in run.def 
     449        sed -i '5iINCLUDEDEF=guide.def' run.def 
    441450    else 
    442451        LMDZ_sed guide.def ok_guide n 
  • CONFIG/UNIFORM/v5/LMDZ_v5/GENERAL/PARAM/run.def

    r2024 r2101  
    11# $Id$ 
    2 # 
     2#  
     3# INCLUDEDEF=orchidee.def, inca.def, reprobus.def and guide.def are added  
     4# automatically by lmdz.driver if one of these components are activated. 
    35INCLUDEDEF=physiq.def 
    46INCLUDEDEF=gcm.def 
    5 INCLUDEDEF=orchidee.def 
    67INCLUDEDEF=output.def 
    78INCLUDEDEF=config.def 
    8 INCLUDEDEF=reprobus.def 
    9 INCLUDEDEF=guide.def 
    10 INCLUDEDEF=inca.def 
    119## Type de calendrier utilise 
    1210## valeur possible: earth_360d (defaut), earth_365d, earth_366d 
Note: See TracChangeset for help on using the changeset viewer.