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

arch files: using nc-config
AF

Location:
trunk/LMDZ.COMMON/arch
Files:
6 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"
  • trunk/LMDZ.COMMON/arch/arch-gfortran.path

    r3434 r3454  
    11ROOT=$PWD
    22
    3 NETCDF_LIBDIR="-L$NETCDF/lib"
     3NETCDF_INCDIR="$(nc-config --cflags) $(nc-config --fflags)"
     4NETCDF_LIBDIR="$(nc-config --flibs) $(nc-config --libs)"
    45NETCDF_LIB="-lnetcdf -lnetcdff"
    5 NETCDF_INCDIR="-I$NETCDF/include"
    66
    77IOIPSL_INCDIR="-I$ROOT/../IOIPSL/inc"
  • trunk/LMDZ.COMMON/arch/arch-ifort_MESOIPSL.path

    r2820 r3454  
    22
    33NETCDF_INCDIR="$(nc-config --cflags) $(nc-config --fflags)"
    4 NETCDF_LIBDIR="-L${NETCDF_FORTRAN_ROOT}/lib -L${NETCDF_C_ROOT}/lib "
    5 NETCDF_LIB="-lnetcdff -lnetcdf"
     4NETCDF_LIBDIR="$(nc-config --flibs) $(nc-config --libs)"
     5NETCDF_LIB=""
    66
    77IOIPSL_INCDIR="-I$ROOT/../IOIPSL/inc"
  • trunk/LMDZ.COMMON/arch/arch-linux-64bit-para.path

    r1695 r3454  
    11ROOT=$PWD
    22
    3 NETCDF_LIBDIR="-L/donnees/emlmd/netcdf64-4.0.1_ifort/lib""
    4 NETCDF_LIB="-lnetcdf"
    5 NETCDF_INCDIR="-I/donnees/emlmd/netcdf64-4.0.1_ifort/include"
     3NETCDF_INCDIR="$(nc-config --cflags) $(nc-config --fflags)"
     4NETCDF_LIBDIR="$(nc-config --flibs) $(nc-config --libs)"
     5NETCDF_LIB=""
    66
    7 IOIPSL_INCDIR="-I/donnees/sllmd/ioipsl/modipsl/ifortpara/lib"
    8 IOIPSL_LIBDIR="-L/donnees/sllmd/ioipsl/modipsl/ifortpara/lib"
     7IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L$ROOT/ioipsl/modipsl/lib"
    99IOIPSL_LIB="-lioipsl"
    1010
  • trunk/LMDZ.COMMON/arch/arch-linux-ifort-para.path

    r1860 r3454  
    11ROOT=$PWD
    22
    3 NETCDF_LIBDIR="-L/planeto/emlmd/netcdf64-4.0.1_ifort/lib"
    4 NETCDF_LIB="-lnetcdf"
    5 NETCDF_INCDIR="-I/planeto/emlmd/netcdf64-4.0.1_ifort/include"
     3NETCDF_INCDIR="$(nc-config --cflags) $(nc-config --fflags)"
     4NETCDF_LIBDIR="$(nc-config --flibs) $(nc-config --libs)"
     5NETCDF_LIB=""
    66
    7 IOIPSL_INCDIR="-I/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
    8 IOIPSL_LIBDIR="-L/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
     7IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L$ROOT/ioipsl/modipsl/lib"
    99IOIPSL_LIB="-lioipsl"
    1010
  • trunk/LMDZ.COMMON/arch/arch-linux-ifort.path

    r1840 r3454  
    11ROOT=$PWD
    22
    3 NETCDF_LIBDIR="-L/planeto/emlmd/netcdf64-4.0.1_ifort/lib"
    4 NETCDF_LIB="-lnetcdf"
    5 NETCDF_INCDIR="-I/planeto/emlmd/netcdf64-4.0.1_ifort/include"
     3NETCDF_INCDIR="$(nc-config --cflags) $(nc-config --fflags)"
     4NETCDF_LIBDIR="$(nc-config --flibs) $(nc-config --libs)"
     5NETCDF_LIB=""
    66
    7 IOIPSL_INCDIR="-I/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
    8 IOIPSL_LIBDIR="-L/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
     7IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L$ROOT/ioipsl/modipsl/lib"
    99IOIPSL_LIB="-lioipsl"
    1010
Note: See TracChangeset for help on using the changeset viewer.