Changeset 2183


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

Location:
trunk/LMDZ.COMMON
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/arch/arch-CICLADifort.env

    r2122 r2183  
    11module purge
    22module load openmpi/1.6.5-ifort
     3module load netcdf4/4.3.3.1-ifort
  • trunk/LMDZ.COMMON/arch/arch-CICLADifort.path

    r1695 r2183  
    11ROOT=$PWD
    22
    3 NETCDF_LIBDIR="-L/opt/netcdf3/ifort/lib"
    4 NETCDF_LIB="-lnetcdf"
    5 NETCDF_INCDIR="-I/opt/netcdf3/ifort/include"
     3NETCDF_LIBDIR="-L/opt/netcdf43/ifort/lib"
     4NETCDF_LIB="-lnetcdff"
     5NETCDF_INCDIR="-I/opt/netcdf43/ifort/include"
    66
    77IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
  • 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.