Ignore:
Timestamp:
Dec 19, 2019, 12:44:21 PM (5 years ago)
Author:
dubos
Message:

simple physics : fix LMDZ auto-install-build script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dynamico_lmdz/simple_physics/install_param.sh

    r4176 r4177  
    88    NETCDF_ROOT=$(nc-config --prefix)
    99    echo "NETCDF root : $NETCDF_ROOT"
    10     wget http://www.lmd.jussieu.fr/~lmdz/pub/install_lmdz.sh
     10    wget -N http://www.lmd.jussieu.fr/~lmdz/pub/install_lmdz.sh
    1111    export LANG=C # fixes issue with sed on MaxOSX
    1212    sed -e 's/veget=1/veget=0/g' install_lmdz.sh > install_lmdz_patched.sh
    13     sed -i -e bak 's/makelmdz_fcm/echo makelmdz/g'  install_lmdz_patched.sh
     13    sed -i .bak -e 's/makelmdz_fcm/echo makelmdz_fcm/g'  install_lmdz_patched.sh
     14    rm -f *.bak
    1415    chmod +x install_lmdz_patched.sh
    15     ./install_lmdz_patched.sh -parallel none -v $version
     16    echo "Watch $PWD/install_lmdz_patched.log"
     17    ./install_lmdz_patched.sh -parallel none -v $version >install_lmdz_patched.log 2>&1
    1618}
    1719
     
    1921{
    2022    echo "cmd_get_phyparam"
    21     wget http://www.lmd.jussieu.fr/~hourdin/PARAM/phyparam.20191009.tar
     23    wget -N http://www.lmd.jussieu.fr/~hourdin/PARAM/phyparam.20191009.tar
    2224    tar xvf phyparam.20191009.tar
    2325}
     
    3941    ln -sf $ROOT/dynphy_lonlat/phyparam/* .
    4042    cd $LMDZ
    41     ./makelmdz_fcm -rrtm false  -v false -arch local -j 8 -p param -d 32x32x39 gcm
     43    echo "./makelmdz_fcm -rrtm false  -v false -arch local -j 8 -p param -d 32x32x39 gcm" > compile.sh
     44    chmod +x compile.sh
     45    ./compile.sh
    4246}
    4347
     
    4852    echo "cmd_get_param"
    4953    cd $LMDZ
    50     wget http://www.lmd.jussieu.fr/~hourdin/PARAM/test_param.tar
     54    wget -N http://www.lmd.jussieu.fr/~hourdin/PARAM/test_param.tar
    5155    tar xvf test_param.tar
    5256}
Note: See TracChangeset for help on using the changeset viewer.