Changeset 3089 for BOL/script_install/install_lmdz.sh
- Timestamp:
- Nov 25, 2017, 5:20:22 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r3088 r3089 478 478 ./configure --prefix=$localdir --enable-shared --disable-cxx 479 479 #sed -e 's/gfortran/'$gfortran'/g' Makefile >| tmp ; mv -f tmp Makefile 480 $make check 481 $make install 480 $make check > netcdf.log 2>&1 481 $make install >>netcdf.log 2>&1 482 482 else 483 483 # download and compile hdf5 and netcdf, etc. using the install_netcdf4_hdf5.bash script … … 562 562 echo EOEOFOOEOOOOOOOOOOOOOOOOOOOOOOOOOOOO 563 563 $make clean 564 $make 564 $make > ioipsl.log 2>&1 565 565 if [ "$compiler" = "$gfortran" -o "$compiler" = "mpif90" ] ; then # copy module files to lib 566 566 cp -f *.mod ../../../lib … … 579 579 fi 580 580 $make clean 581 $make 581 $make > ioipsl.log 2>&1 582 582 fi 583 583 # fi # of if [ "$pclinux" = 1 ] … … 658 658 cd ../ 659 659 # compiling ORCHIDEE sequential mode 660 ./makeorchidee_fcm -j 8 -noxios -prod -parallel none -arch $arch 660 ./makeorchidee_fcm -j 8 -noxios -prod -parallel none -arch $arch > orchidee.log 2>&1 661 661 echo ./makeorchidee_fcm -j 8 -noxios -prod -parallel none -arch $arch 662 662 echo Fin de la premiere compilation orchidee ; pwd … … 677 677 if [ ! -d $src_d ] ; then echo Problem orchidee : no $src_d ; exit ; fi 678 678 cd $src_d ; \rm -f *.mod make ; $make clean 679 $make ; if [ "$compiler" = "$gfortran" -o "$compiler" = "mpif90" ] ; then cp -f *.mod ../../../lib ; fi679 $make > orchidee.log 2>&1 ; if [ "$compiler" = "$gfortran" -o "$compiler" = "mpif90" ] ; then cp -f *.mod ../../../lib ; fi 680 680 cd .. 681 681 done … … 763 763 # sequential compilation and bench 764 764 if [ "$sequential" = 1 ] ; then 765 echo "./$makelmdz $OPT_MAKELMDZ -rrtm true -d ${grid_resolution} -v $veget_version gcm " >> compile.sh765 echo "./$makelmdz $OPT_MAKELMDZ -rrtm true -d ${grid_resolution} -v $veget_version gcm > lmdz.log 2>&1" >> compile.sh 766 766 chmod +x ./compile.sh ; ./compile.sh 767 767 echo install.sh apres_compilation `date` … … 800 800 cd ../ 801 801 # compiling ORCHIDEE parallel mode 802 ./makeorchidee_fcm -j 8 -clean -noxios -prod -parallel $parallel -arch $arch 803 ./makeorchidee_fcm -j 8 -noxios -prod -parallel $parallel -arch $arch 802 ./makeorchidee_fcm -j 8 -clean -noxios -prod -parallel $parallel -arch $arch > orchidee.log 2>&1 803 ./makeorchidee_fcm -j 8 -noxios -prod -parallel $parallel -arch $arch >> orchidee.log 2>&1 804 804 echo ./makeorchidee_fcm -j 8 -clean -noxios -prod -parallel $parallel -arch $arch 805 805 echo ./makeorchidee_fcm -j 8 -noxios -prod -parallel $parallel -arch $arch … … 831 831 if [ ${hostname:0:5} = ada33 ] ; then echo "module load intel/2013.0" > compile.sh ; fi 832 832 echo resol=${grid_resolution} >> compile.sh 833 echo ./$makelmdz $OPT_MAKELMDZ -rrtm true $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm > > compile.sh833 echo ./$makelmdz $OPT_MAKELMDZ -rrtm true $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm > lmdz.log 2>&1 >> compile.sh 834 834 chmod +x ./compile.sh ; ./compile.sh 835 835
Note: See TracChangeset
for help on using the changeset viewer.