Changeset 4178 for dynamico_lmdz
- Timestamp:
- Dec 19, 2019, 1:29:16 PM (5 years ago)
- Location:
- dynamico_lmdz/simple_physics
- Files:
-
- 16 added
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/config/LMDZ/build_lmdz_phyparam.sh
r4177 r4178 1 1 #!/bin/bash 2 3 2 4 3 function cmd_install_lmdz() 5 4 { 6 # Installation du modele en mode de parallelisation mixte MIPxOpenMP5 # Installation du modele en mode sequentiel 7 6 echo "cmd_install_lmdz" 8 NETCDF_ROOT=$(nc-config --prefix)9 echo "NETCDF root : $NETCDF_ROOT"10 7 wget -N http://www.lmd.jussieu.fr/~lmdz/pub/install_lmdz.sh 11 8 export LANG=C # fixes issue with sed on MaxOSX … … 16 13 echo "Watch $PWD/install_lmdz_patched.log" 17 14 ./install_lmdz_patched.sh -parallel none -v $version >install_lmdz_patched.log 2>&1 18 }19 20 function cmd_get_phyparam()21 {22 echo "cmd_get_phyparam"23 wget -N http://www.lmd.jussieu.fr/~hourdin/PARAM/phyparam.20191009.tar24 tar xvf phyparam.20191009.tar25 15 } 26 16 … … 35 25 cd phyparam 36 26 ln -s ../phydev/* . 37 ln -sf $ROOT/phyparam/* .38 27 ln -sf $ROOT/phyparam/param/* . 39 28 cd ../dynphy_lonlat/phyparam 40 29 ln -s ../phydev/* . 41 ln -sf $ROOT/ dynphy_lonlat/phyparam/* .30 ln -sf $ROOT/phyparam/dynphy_lonlat/* . 42 31 cd $LMDZ 43 32 echo "./makelmdz_fcm -rrtm false -v false -arch local -j 8 -p param -d 32x32x39 gcm" > compile.sh … … 46 35 } 47 36 48 49 function cmd_get_param()50 {51 # Recupération des parametres d'entree52 echo "cmd_get_param"53 cd $LMDZ54 wget -N http://www.lmd.jussieu.fr/~hourdin/PARAM/test_param.tar55 tar xvf test_param.tar56 }57 58 37 function cmd_() 59 38 { 60 # cmd_get_phyparam 39 rm -rf LMDZ$version install_lmdz.* 61 40 cmd_install_lmdz 62 41 cmd_patch_lmdz 63 cmd_get_param 64 echo puis lancer gcm.e sur TEST_PARAM 42 echo "Now cd TEST_PARAM and execute ./gcm.e" 65 43 } 66 44 67 45 # On peut choisir la version de LMDZ a insitaller 68 46 version=20191106.trunk 69 ROOT=$(pwd) 70 LMDZ=$ROOT/LMDZ$version/modipsl/modeles/LMDZ 47 LMDZ=$PWD/LMDZ$version/modipsl/modeles/LMDZ 48 ROOT=$(cd -P ../.. ; pwd) 71 49 72 50 cmd_$1
Note: See TracChangeset
for help on using the changeset viewer.