- Timestamp:
- Feb 10, 2025, 11:38:26 PM (26 hours ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r5529 r5530 469 469 if [ $( gfortran --version | head -1 | awk ' { print $NF } ' | cut -d. -f1 ) -le 9 ] ; then 470 470 echo QUOI faire qqchose 471 arch_dir=$PWD/arch472 471 if [ $parallel = none ] ; then 473 472 arch=local-gfortran9 … … 475 474 arch=local-gfortran9-parallel 476 475 fi 476 # Momentanement on ecrase les arch gfortran9 meme parallele qui sont fausses 477 477 if [ ! -f $arch_dir/arch-local-gfortran9.fcm ] ; then 478 arch_dir=$PWD/arch 478 479 wget http://lmdz.lmd.jussieu.fr/pub/src_archives/misc/arch/LMDZ/arch-local-gfortran9.tar 479 480 tar xvf arch-local-gfortran9.tar … … 1200 1201 # AJOUT TEMPOREAIRE LE 9 FEVRIER 2025 - FH (Horrible là) 1201 1202 # Inutile de compiler LMDZ quand pas de bench 1203 set -vx 1202 1204 if [ $bench = 1 ] ; then compile_lmdz ; fi 1203 1205 # A nettoyer apres discussion et choix sur les arch … … 1205 1207 for e in "fcm" "env" "path"; do 1206 1208 archf=$MODEL/modipsl/modeles/LMDZ/arch/arch-$arch.$e 1207 archf_from_get=$ arch_dir/arch-$arch.$e1209 archf_from_get=$local/arch/arch-$arch.$e 1208 1210 if [ ! -f $archf ] ; then 1209 1211 if [ -f $archf_from_get ] ; then … … 1214 1216 fi 1215 1217 cp "$archf" "$MODEL/modipsl/modeles/LMDZ/arch/arch-local.$e" 1218 echo Correction d un bug : 1216 1219 done 1220 # suppression des lignes 1221 # %CPP cpp # xios 1222 #%MAKE make # xios 1223 # qui semblent planter la compilation au moins avec LMDZ sur ricard : 1224 for f_ in arch-local-gfortran9-parallel.fcm arch-local.fcm ; do 1225 sed -i'' -e '/FPP.*xios/d' -e '/MAKE.*xios/d' $MODEL/modipsl/modeles/LMDZ/arch/$f_ ; done 1217 1226 # FIN AJOUT TEMPORAIRE 1218 1227 # ==========================================================
Note: See TracChangeset
for help on using the changeset viewer.