Ignore:
Timestamp:
Dec 10, 2024, 10:12:58 AM (2 days ago)
Author:
Laurent Fairhead
Message:

forgot a test on the installation directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r5398 r5399  
    365365
    366366function download_modipsl_tar {
    367     if [[ $clean_install = 1 ]]; then
     367    if [[ $clean_install = 1 && -d $MODEL ]]; then
    368368      local ans
    369369      echo "$MODEL already exists. Do you want to erase it and proceed (Y/n) ? You can also rerun with \`-noclean\` to only recompile the necessary components."
     
    691691            local lmdzbranch
    692692            echo "Fetching LMDZ $svn_lmdz from the repository"
    693             lmdzbranch=$(get_svn_branch "https://svn.lmd.jussieu.fr/LMDZ" "$svn_lmdz")
     693#            lmdzbranch=$(get_svn_branch "https://svn.lmd.jussieu.fr/LMDZ" "$svn_lmdz")
     694            lmdzbranch=$(get_svn_branch "http://svn.lmd.jussieu.fr/LMDZ" "$svn_lmdz")
    694695            echo "branch is $lmdzbranch"
    695696            cd "$MODEL/modipsl/modeles"
    696697            rm -rf LMD*
    697             svn co -r "$svn_lmdz" "https://svn.lmd.jussieu.fr/LMDZ/$lmdzbranch" LMDZ
     698#            svn co -r "$svn_lmdz" "https://svn.lmd.jussieu.fr/LMDZ/$lmdzbranch" LMDZ
     699            svn co -r "$svn_lmdz" "http://svn.lmd.jussieu.fr/LMDZ/$lmdzbranch" LMDZ
    698700            cd - > /dev/null
    699701        fi
     
    10331035                        sed -i'' -e 's/^rad=.*$/rad=ecrad/' bin/compile
    10341036                    fi
     1037        sed -i -e "s:^fcm=0:fcm=1:" bin/compile
    10351038        echo "Running 1D/run.sh, log in $(pwd)/run1d.log"
    10361039        ./run.sh &> "$(pwd)/run1d.log"
Note: See TracChangeset for help on using the changeset viewer.