Changeset 2185
- Timestamp:
- Dec 6, 2019, 11:30:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/ioipsl/install_ioipsl_centos-ifort.bash
r2180 r2185 1 1 #!/bin/bash 2 # script to download and install the latest version of IOIPSL on Gnome2 # script to download and install the latest version of IOIPSL on LMD CentOS machines 3 3 # 4 4 5 5 #0. Preliminary stuff 6 source ../arch.env 7 8 #### 9 #source ../arch.path 10 #marche pas car -I deja inclus 11 #donc mettre en dur: 12 #### 13 NETCDF="/opt/netcdf45/ifort15" 14 netcdf_include="$NETCDF/include" 15 netcdf_lib="$NETCDF/lib" 16 echo $netcdf_include 17 echo $netcdf_lib 6 # source the environment from the GCM arch files 7 source ../arch/arch-centos-ifort-para.env 8 source ../arch/arch-centos-ifort-para.path 18 9 19 10 whereami=`pwd -P` … … 27 18 # 2. Set correct settings: 28 19 # add a "ciclad" configuration to AA_make.gdef 29 echo "#-Q- cicladi #- Global definitions for ciclad at UPMC, ifort" >> AA_make.gdef20 echo "#-Q- cicladi #- Global definitions for CentOS at LMD, ifort" >> AA_make.gdef 30 21 echo "#-Q- cicladi M_K = make" >> AA_make.gdef 31 22 echo "#-Q- cicladi P_C = cpp" >> AA_make.gdef … … 48 39 echo "#-Q- cicladi C_L = icc" >> AA_make.gdef 49 40 echo "#-Q- cicladi #-" >> AA_make.gdef 50 echo "#-Q- cicladi NCDF_INC = ${netcdf_include}" >> AA_make.gdef 51 echo "#-Q- cicladi NCDF_LIB = -L${netcdf_lib} -lnetcdff" >> AA_make.gdef 52 #echo "#-Q- cicladi NCDF_INC = ${NETCDF_INCDIR}" >> AA_make.gdef 53 #echo "#-Q- cicladi NCDF_LIB = -L${NETCDF_LIBDIR} -lnetcdff" >> AA_make.gdef 41 echo "#-Q- cicladi NCDF_INC = ${NETCDF_INCDIR:2}" >> AA_make.gdef 42 echo "#-Q- cicladi NCDF_LIB = ${NETCDF_LIBDIR} ${NETCDF_LIB}" >> AA_make.gdef 54 43 echo "#-Q- cicladi #-" >> AA_make.gdef 55 44
Note: See TracChangeset
for help on using the changeset viewer.