Ignore:
Timestamp:
Dec 4, 2019, 11:43:54 AM (6 years ago)
Author:
emillour
Message:

Update CICLAD arch files to use more recent NetCDF libraries, and make a clean install script for IOIPSL on CICLAD which uses the same recent NetCDF libraries (mandatory due to latest updates in IOIPSL).
EM

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/ioipsl/install_ioipsl_ciclad.bash

    r2182 r2183  
    11#!/bin/bash
    2 # script to download and install the latest version of IOIPSL on Gnome
     2# script to download and install the latest version of IOIPSL on Ciclad
    33#
    44
    5 #0. Preliminary stuff
    6 NETCDF="/opt/netcdf3/ifort"
    7 netcdf_include="$NETCDF/include"
    8 netcdf_lib="$NETCDF/lib"
    9 echo $netcdf_include
    10 echo $netcdf_lib
     5#0. Preliminary stuff
     6# source the environment from the GCM arch files
     7source ../arch/arch-CICLADifort.env
     8source ../arch/arch-CICLADifort.path
    119
    1210whereami=`pwd -P`
     
    4139echo "#-Q- cicladi  C_L = icc" >> AA_make.gdef
    4240echo "#-Q- cicladi  #-" >> AA_make.gdef
    43 echo "#-Q- cicladi  NCDF_INC = ${netcdf_include}" >> AA_make.gdef
    44 echo "#-Q- cicladi  NCDF_LIB = -L${netcdf_lib} -lnetcdf" >> AA_make.gdef
     41echo "#-Q- cicladi  NCDF_INC = ${NETCDF_INCDIR:2}" >> AA_make.gdef
     42echo "#-Q- cicladi  NCDF_LIB = ${NETCDF_LIBDIR} ${NETCDF_LIB}" >> AA_make.gdef
    4543echo "#-Q- cicladi  #-" >> AA_make.gdef
    4644
Note: See TracChangeset for help on using the changeset viewer.