Ignore:
Timestamp:
Sep 5, 2019, 5:06:44 PM (5 years ago)
Author:
Laurent Fairhead
Message:

Change in intel environnement on ada
Processing AUTO in def/xml files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOL/script_install/install_lmdz.sh

    r3417 r3560  
    216216            o_ins_make="-t ada" ;
    217217            make=gmake ;
    218             module load intel/2013.0 ;
     218            module load intel/2017.2 ;
    219219            arch=X64_ADA ;;
    220220
     
    535535  chmod u=rwx install_netcdf4_hdf5.bash
    536536  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
    538538  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
    540540  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
    542542  else
    543543    echo "unexpected compiler $compiler" ; exit
     
    918918  fi
    919919  rm -f compile.sh
    920   if [ ${hostname:0:5} = ada33 ] ; then echo "module load intel/2013.0" > compile.sh ; fi
     920  if [ ${hostname:0:5} = ada33 ] ; then echo "module load intel/2017.2" > compile.sh ; fi
    921921  echo resol=${grid_resolution} >> compile.sh
    922922  echo ./$makelmdz $OPT_MAKELMDZ -rrtm true $opt_cosp $opt_makelmdz_xios -d \$resol -v $veget_version -mem -parallel $parallel gcm >> compile.sh
     
    10031003    if [ "$histfile" = "file_def_histday_lmdz.xml" ] ; then
    10041004    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
    10051007    else
    10061008    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.