Changeset 3560 for BOL/script_install/install_lmdz.sh
- Timestamp:
- Sep 5, 2019, 5:06:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz.sh
r3417 r3560 216 216 o_ins_make="-t ada" ; 217 217 make=gmake ; 218 module load intel/201 3.0;218 module load intel/2017.2 ; 219 219 arch=X64_ADA ;; 220 220 … … 535 535 chmod u=rwx install_netcdf4_hdf5.bash 536 536 if [ "$compiler" = "gfortran" ] ; then 537 ./install_netcdf4_hdf5.bash -prefix $MODEL/netcdf4_hdf5 -CC gcc -FC gfortran -CXX g++ -MPI $root_mpi 537 ./install_netcdf4_hdf5.bash -prefix $MODEL/netcdf4_hdf5 -CC gcc -FC gfortran -CXX g++ -MPI $root_mpi > $netcdflog 2>&1 538 538 elif [ "$compiler" = "ifort" ] ; then 539 ./install_netcdf4_hdf5.bash -prefix $MODEL/netcdf4_hdf5 -CC icc -FC ifort -CXX icpc -MPI $root_mpi 539 ./install_netcdf4_hdf5.bash -prefix $MODEL/netcdf4_hdf5 -CC icc -FC ifort -CXX icpc -MPI $root_mpi > $netcdflog 2>&1 540 540 elif [ "$compiler" = "pgf90" ] ; then 541 ./install_netcdf4_hdf5.bash -prefix $MODEL/netcdf4_hdf5 -CC pgcc -FC pgf90 -CXX pgCC -MPI $root_mpi 541 ./install_netcdf4_hdf5.bash -prefix $MODEL/netcdf4_hdf5 -CC pgcc -FC pgf90 -CXX pgCC -MPI $root_mpi > $netcdflog 2>&1 542 542 else 543 543 echo "unexpected compiler $compiler" ; exit … … 918 918 fi 919 919 rm -f compile.sh 920 if [ ${hostname:0:5} = ada33 ] ; then echo "module load intel/201 3.0" > compile.sh ; fi920 if [ ${hostname:0:5} = ada33 ] ; then echo "module load intel/2017.2" > compile.sh ; fi 921 921 echo resol=${grid_resolution} >> compile.sh 922 922 echo ./$makelmdz $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm >> compile.sh … … 1003 1003 if [ "$histfile" = "file_def_histday_lmdz.xml" ] ; then 1004 1004 sed -e 's@enabled="_AUTO_"@type="one_file" enabled=".TRUE."@' $histfile > tmp ; \mv -f tmp $histfile 1005 sed -e 's@output_level="_AUTO_"@output_level="5"@' $histfile > tmp ; \mv -f tmp $histfile 1006 sed -e 's@compression_level="2"@compression_level="0"@' $histfile > tmp ; \mv -f tmp $histfile 1005 1007 else 1006 1008 sed -e 's@enabled="_AUTO_"@type="one_file" enabled=".FALSE."@' $histfile > tmp ; \mv -f tmp $histfile
Note: See TracChangeset
for help on using the changeset viewer.