- Timestamp:
- Jul 20, 2022, 5:54:13 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/script_install/install_lmdz_new.sh
r4212 r4213 532 532 fi 533 533 534 for logiciel in wget tar gzip make $compiler gcc ; do534 for logiciel in wget tar gzip make $compiler gcc cmake ; do 535 535 if [ "`which $logiciel`" = "" ] ; then 536 536 echo You must first install $logiciel on your system … … 888 888 echo "NETCDF_LIBDIR=\"-L${ncdfdir}/lib -lnetcdff -lnetcdf\"" > arch-local.path 889 889 echo "NETCDF_INCDIR=-I${ncdfdir}/include" >> arch-local.path 890 echo 'NETCDF95_INCDIR=$LMDGCM/../../include' >> arch-local.path 891 echo 'NETCDF95_LIBDIR=$LMDGCM/../../lib' >> arch-local.path 890 892 echo 'IOIPSL_INCDIR=$LMDGCM/../../lib' >> arch-local.path 891 893 echo 'IOIPSL_LIBDIR=$LMDGCM/../../lib' >> arch-local.path … … 958 960 959 961 ################################################################## 962 963 964 if [[ ! -f libf/misc/netcdf95.F90 && ! -d $MODEL/NetCDF95-0.2 ]] 965 then 966 cd $MODEL 967 myget import/NetCDF95-0.2.tar.gz 968 tar -xf NetCDF95-0.2.tar.gz 969 rm NetCDF95-0.2.tar.gz 970 cd NetCDF95-0.2 971 mkdir build 972 cd build 973 cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$ncdfdir \ 974 -DCMAKE_INSTALL_PREFIX=$MODEL/modipsl 975 make install 976 cd $MODEL/modipsl/modeles/LMDZ* 977 fi 960 978 961 979 echo '##################################################################'
Note: See TracChangeset
for help on using the changeset viewer.