Changeset 4930


Ignore:
Timestamp:
May 3, 2024, 4:12:15 PM (7 months ago)
Author:
abarral
Message:

fix cosp bench

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install_amaury/install_lmdz.sh

    r4929 r4930  
    9898        $0 [ -v version ] [ -r svn_release ]
    9999               [ -parallel PARA ] [ -d GRID_RESOLUTION ] [ -bench 0/1 ]
    100                [-name LOCAL_MODEL_NAME] [-gprof] [-opt_makelmdz] [-rad RADIATIF]
     100               [-name LOCAL_MODEL_NAME] [-rad RADIATIF]
    101101
    102102        -v       "version" like 20150828.trunk, see http://www.lmd.jussieu.fr/~lmdz/Distrib/LISMOI.trunk (default <$version>)
     
    677677            # and convert all the enabled="_AUTO_" (for libIGCM) to enabled=.FALSE.
    678678            # except for histday
    679             for histfile in file_def_hist*xml
    680             do
     679            for histfile in file_def_hist*xml; do
    681680                if [[ "$histfile" = "file_def_histday_lmdz.xml" ]]; then
    682681                    sed -e 's@enabled="_AUTO_"@type="one_file" enabled=".TRUE."@' \
     
    707706            fi
    708707            if [[ "$cosp" = "v2" ]]; then
    709                 sed -e 's@compression_level="2"@compression_level="0"@' file_def_histdayCOSPv2_lmdz.xml
     708                sed -i'' -e 's@compression_level="2"@compression_level="0"@' file_def_histdayCOSPv2_lmdz.xml
    710709                for type_ in hf day mth; do
    711710                    file=file_def_hist${type_}COSP
    712711                    sed -i'' -e 's@src="./'${file}'_lmdz.xml"@src="./'${file}'v2_lmdz.xml"@' context_lmdz.xml
    713712                done
    714                 sed -i '' -e 's@field_def_cosp1.xml@field_def_cospv2.xml@' field_def_lmdz.xml
     713                sed -i'' -e 's@field_def_cosp1.xml@field_def_cospv2.xml@' field_def_lmdz.xml
    715714            fi
    716715
Note: See TracChangeset for help on using the changeset viewer.