Ignore:
Timestamp:
Oct 9, 2024, 2:06:38 PM (6 weeks ago)
Author:
afalco
Message:

arch files: using nc-config
AF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/arch/arch-gfortran-para.path

    r3450 r3454  
    11ROOT=$PWD
    22
    3 NETCDF_INC_DIR=${NETCDF_INC_DIR:-/usr/include} #define it in your environment
    4 NETCDF_LIB_DIR=${NETCDF_LIB_DIR:-/usr/lib/x86_64-linux-gnu} #define it in your environment
    5 NETCDF_INCDIR="-I $NETCDF_INC_DIR"
    6 NETCDF_LIBDIR="-L $NETCDF_LIB_DIR"
    7 NETCDF_LIB="-lnetcdff -lnetcdf"
     3NETCDF_INCDIR="$(nc-config --cflags) $(nc-config --fflags)"
     4NETCDF_LIBDIR="$(nc-config --flibs) $(nc-config --libs)"
     5NETCDF_LIB=""
    86
    97IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
Note: See TracChangeset for help on using the changeset viewer.