- Timestamp:
- Dec 2, 2021, 10:29:46 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r4018 r4043 64 64 svn="" 65 65 #version=trunk 66 version=2021 0730.trunk66 version=20211102.trunk 67 67 getlmdzor=1 68 68 netcdf=1 # 1 for automatic installation … … 316 316 root_mpi="/usr" 317 317 fi 318 # For Scientifique Linux with gfortran at LMD :319 elif [ -f /usr/lib64/openmpi/1.4.5-gfortran/bin/mpif90 -a $compiler = "gfortran" ] ; then320 path_mpi=/usr/lib64/openmpi/1.4.5-gfortran/bin ;321 root_mpi=/usr/lib64/openmpi/1.4.5-gfortran ;322 export LD_LIBRARY_PATH=${root_mpi}/lib:$LD_LIBRARY_PATH323 # For Scientifique Linux with ifort at LMD :324 elif [ -f /usr/lib64/openmpi/1.4.5-ifort/bin/mpif90 -a $compiler = "ifort" ] ; then325 path_mpi=/usr/lib64/openmpi/1.4.5-ifort/bin ;326 root_mpi=/usr/lib64/openmpi/1.4.5-ifort ;327 export LD_LIBRARY_PATH=${root_mpi}/lib:$LD_LIBRARY_PATH328 # For Scientifique Linux with pgf90 at LMD :329 elif [ -f /usr/lib64/openmpi/1.4.5-ifort/bin/mpif90 -a $compiler = "pgf90" ] ; then330 path_mpi=/usr/lib64/openmpi/1.4.5-pgf/bin ;331 root_mpi=/usr/lib64/openmpi/1.4.5-pgf ;332 export LD_LIBRARY_PATH=${root_mpi}/lib:$LD_LIBRARY_PATH333 318 else 334 319 echo "Cannot find mpif90" ; 335 320 if [ $parallel = none ] ; then exit ; fi ; 336 321 fi ; 322 if [ $parallel != none ] ; then 323 root_mpi=$(which mpif90 | sed -e s:/bin/mpif90::) 324 path_mpi=$(which mpif90 | sed -e s:/mpif90::) 325 export LD_LIBRARY_PATH=${root_mpi}/lib:$LD_LIBRARY_PATH 326 fi 337 327 par_comp=${path_mpi}/mpif90 ; 338 328 mpirun=${path_mpi}/mpirun ; … … 423 413 if [ "$compiler" = "$gfortran" ] ; then 424 414 OPTIM='-O3' 425 OPTDEB="-g3 -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow -O0 -fstack-protector-all -fbacktrace -finit-real= nan"415 OPTDEB="-g3 -Wall -fbounds-check -ffpe-trap=invalid,zero,overflow -O0 -fstack-protector-all -fbacktrace -finit-real=snan" 426 416 OPTDEV="-Wall -fbounds-check" 427 417 fmod='I ' … … 1279 1269 ./run.sh -rad $rad 1280 1270 fi 1281 set -vx1271 #set -vx 1282 1272 1283 1273 ################################################################# … … 1285 1275 ################################################################# 1286 1276 cd $MODEL/modipsl/modeles 1287 echo surface_env file created in $MODEL1277 #echo surface_env file created in $MODEL 1288 1278 echo 'veget='$veget > surface_env 1289 1279 #opt_veget="-v $veget_version"
Note: See TracChangeset
for help on using the changeset viewer.