Ignore:
Timestamp:
Apr 17, 2017, 4:10:07 PM (8 years ago)
Author:
emillour
Message:

Common dynamics/framework:
Removed some obsolete arch files.
Reorganization of the way paths to external libraries are handles by makelmdz_fcm and makelmdz. This will ease interfacing with Dynamico which follows simillar rules with respect to a given external library ,e.g. for SOMELIBRARY, in the arch.path file:
SOMELIBRARY_LIBDIR="-L/path/to/the/library/libdir -L/possible/other/required/path"
SOMELIBRARY_LIB"-lsomelib -lsomeotherrequiredlib"
SOMELIBRARY_INCDIR"-I/path/to/the/library/incdir -I/possible/other/required/include/path"
EM

Location:
trunk/LMDZ.COMMON/arch
Files:
1 added
21 deleted
13 edited

Legend:

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

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/opt/netcdf/pgf/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/opt/netcdf/pgf/include
    3 IOIPSL_INCDIR=/home/spiga/IOIPSL_SVN/modipsl/lib
    4 IOIPSL_LIBDIR=/home/spiga/IOIPSL_SVN/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/opt/netcdf/pgf/lib"
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/opt/netcdf/pgf/include"
     6
     7IOIPSL_INCDIR="-I/home/spiga/IOIPSL_SVN/modipsl/lib"
     8IOIPSL_LIBDIR="-L/home/spiga/IOIPSL_SVN/modipsl/lib"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-CICLADifort.path

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/opt/netcdf3/ifort/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/opt/netcdf3/ifort/include
    3 IOIPSL_INCDIR=$LMDGCM/ioipsl/modipsl/lib
    4 IOIPSL_LIBDIR=$LMDGCM/ioipsl/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/opt/netcdf3/ifort/lib"
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/opt/netcdf3/ifort/include"
     6
     7IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L$ROOT/ioipsl/modipsl/lib"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-GNOMEp_large.path

    r1306 r1695  
    1 NETCDF_LIBDIR="-Wl,-rpath -Wl,/san/common/umr8539/bigDATA_netcdf.4.0.1_aymeric/lib -L/san/common/umr8539/bigDATA_netcdf.4.0.1_aymeric/lib -lnetcdf -lnetcdff"
    2 NETCDF_INCDIR=-I/san/common/umr8539/bigDATA_netcdf.4.0.1_aymeric/include
    3 IOIPSL_INCDIR=/san/common/umr8539/bigDATA_ioipsl_aymeric/modipsl/lib
    4 IOIPSL_LIBDIR=/san/common/umr8539/bigDATA_ioipsl_aymeric/modipsl/lib
     1NETCDF_LIBDIR="-Wl,-rpath -Wl,/san/common/umr8539/bigDATA_netcdf.4.0.1_aymeric/lib -L/san/common/umr8539/bigDATA_netcdf.4.0.1_aymeric/lib"
     2NETCDF_LIB="-lnetcdf -lnetcdff"
     3NETCDF_INCDIR="-I/san/common/umr8539/bigDATA_netcdf.4.0.1_aymeric/include"
     4
     5IOIPSL_INCDIR="-I/san/common/umr8539/bigDATA_ioipsl_aymeric/modipsl/lib"
     6IOIPSL_LIBDIR="-L/san/common/umr8539/bigDATA_ioipsl_aymeric/modipsl/lib"
     7IOIPSL_LIB="-lioipsl"
  • trunk/LMDZ.COMMON/arch/arch-GNOMEs.path

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/usr/local/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/usr/local/include
    3 IOIPSL_INCDIR=/san/home/millour/Planeto/work_dyn_830/trunk/LMDZ.COMMON/ioipsl/modipsl/lib
    4 IOIPSL_LIBDIR=/san/home/millour/Planeto/work_dyn_830/trunk/LMDZ.COMMON/ioipsl/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/usr/local/lib"
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/usr/local/include"
     6
     7IOIPSL_INCDIR="-I/san/home/millour/Planeto/work_dyn_830/trunk/LMDZ.COMMON/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L/san/home/millour/Planeto/work_dyn_830/trunk/LMDZ.COMMON/ioipsl/modipsl/lib"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-X64_ADA.fcm

    r1572 r1695  
    66%CPP_FLAGS           -P
    77%FPP_DEF             NC_DOUBLE LAPACK BLAS SGEMV=DGEMV SGEMM=DGEMM FFT_FFTW
    8 %BASE_FFLAGS         -integer-size 32 -real-size 64 -align all -mcmodel=large -auto
     8%BASE_FFLAGS         -integer-size 32 -real-size 64 -align all -auto
    99%PROD_FFLAGS         -O2 -ip -fp-model strict -axAVX,SSE4.2
    1010%DEV_FFLAGS          -p -g -O1 -fpe0 -traceback
    11 %DEBUG_FFLAGS        -p -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check bounds,format,output_conversion,pointers,uninit -debug
     11%DEBUG_FFLAGS        -p -g -O0 -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check bounds,format,output_conversion,pointers,uninit -debug -ftz
    1212%C_COMPILER          gcc
    1313%C_OPTIM             -O3
    1414%MPI_FFLAGS
    15 %OMP_FFLAGS          -openmp
    16 %BASE_LD             -shared-intel -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -L/smplocal/pub/FFTW/3.3.3_dyn/lib -lfftw3 -Wl,-rpath=/smplocal/pub/NetCDF/4.1.3/mpi/lib:/smplocal/pub/HDF5/1.8.9/par/lib:/smplocal/pub/FFTW/3.3.3_dyn/lib
     15%OMP_FFLAGS          -openmp -openmp-threadprivate=compat
     16%BASE_LD             -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lpthread -L/smplocal/pub/FFTW/3.3.3_dyn/lib -lfftw3 -Wl,-rpath=/smplocal/pub/FFTW/3.3.3_dyn/lib
    1717%MPI_LD
    18 %OMP_LD              -openmp
     18%OMP_LD              -openmp -openmp-threadprivate=compat
    1919
  • trunk/LMDZ.COMMON/arch/arch-X64_ADA.path

    r1367 r1695  
    1 NETCDF_LIBDIR="${NETCDF_LDFLAGS:--L/smplocal/pub/NetCDF/4.1.3/mpi/lib -lnetcdff -lnetcdf -L/smplocal/pub/HDF5/1.8.9/par/lib -Bstatic -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -Bdynamic -lz}"
    2 NETCDF_INCDIR="${NETCDF_FFLAGS:--I/smplocal/pub/HDF5/1.8.9/par/include -I/smplocal/pub/NetCDF/4.1.3/mpi/include}"
    3 IOIPSL_INCDIR=/smphome/rech/psl/rpsl035/IOIPSL_PLUS/modipsl/lib
    4 IOIPSL_LIBDIR=/smphome/rech/psl/rpsl035/IOIPSL_PLUS/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
    7 ORCH_INCDIR=$LMDGCM/../../lib
    8 ORCH_LIBDIR=$LMDGCM/../../lib
    9 OASIS_INCDIR=$LMDGCM/../../oasis3-mct/BLD/build/lib/psmile.MPI1
    10 OASIS_LIBDIR=$LMDGCM/../../oasis3-mct/BLD/lib
    11 INCA_LIBDIR=$LMDGCM/../INCA/config/lib
    12 INCA_INCDIR=$LMDGCM/../INCA/config/lib
     1ROOT=$PWD
     2NETCDF_INCDIR="-I $NETCDF_INC_DIR"
     3#NETCDF_LIBDIR="-L $NETCDF_LIB_DIR"
     4#NETCDF_LIB="-lnetcdff -lnetcdf"
    135
     6MPI_INCDIR=""
     7MPI_LIBDIR=""
     8MPI_LIB=""
     9
     10#HDF5_INCDIR="-I $HDF5_INC_DIR"
     11#HDF5_LIBDIR="-L $HDF5_LIB_DIR"
     12#HDF5_LIB="-lhdf5_hl -lhdf5 -lhdf5 -lz"
     13
     14IOIPSL_INCDIR="-I/smphome/rech/psl/rpsl035/IOIPSL_PLUS/modipsl/lib"
     15IOIPSL_LIBDIR="-L/smphome/rech/psl/rpsl035/IOIPSL_PLUS/modipsl/lib"
     16IOIPSL_LIB="-lioipsl"
     17
     18XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     19XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     20XIOS_LIB="-lxios -lstdc++"
     21
     22ORCHIDEE_INCDIR="-I$ROOT/../ORCHIDEE/lib"
     23ORCHIDEE_LIBDIR="-L$ROOT/../ORCHIDEE/lib"
     24ORCHIDEE_LIB="-lorchidee "
     25
     26OASIS_INCDIR="-I$ROOT/../oasis3-mct/BLD/build/lib/psmile.MPI1"
     27OASIS_LIBDIR="-L$ROOT/../oasis3-mct/BLD/lib"
     28OASIS_LIB="-lpsmile.MPI1 -lscrip -lmct -lmpeu"
     29
     30INCA_INCDIR="-I$ROOT/../INCA/config/lib"
     31INCA_LIBDIR="-I$ROOT/../INCA/config/lib"
     32INCA_LIB="-lchimie"
     33
  • trunk/LMDZ.COMMON/arch/arch-X64_MESU.path

    r1628 r1695  
    1 NETCDF_LIBDIR="-L${NETCDF_FORT_ROOT}/lib -lnetcdff"
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L${NETCDF_FORT_ROOT}/lib"
     4NETCDF_LIB="-lnetcdff"
    25NETCDF_INCDIR="-I${NETCDF_FORT_ROOT}/include"
    3 IOIPSL_INCDIR=$LMDGCM/ioipsl/modipsl/lib
    4 IOIPSL_LIBDIR=$LMDGCM/ioipsl/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
    76
     7IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L$ROOT/ioipsl/modipsl/lib"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-X64_OCCIGEN.path

    r1671 r1695  
    1 NETCDF_LIBDIR="-L${NETCDFF_LIBDIR} -lnetcdff -lnetcdf"
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L${NETCDFF_LIBDIR}"
     4NETCDF_LIB="-lnetcdff -lnetcdf"
    25NETCDF_INCDIR="-I${NETCDF_INCDIR}"
    3 IOIPSL_INCDIR=$LMDGCM/ioipsl/modipsl/lib
    4 IOIPSL_LIBDIR=$LMDGCM/ioipsl/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     6
     7IOIPSL_INCDIR="-I$ROOT/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L$ROOT/ioipsl/modipsl/lib"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-gfortran.path

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/home/aymeric/Science/MODELES/LMDZ.COMMON/netcdf/gfortran_netcdf-4.0.1/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/home/aymeric/Science/MODELES/LMDZ.COMMON/netcdf/gfortran_netcdf-4.0.1/include
    3 IOIPSL_INCDIR=/home/aymeric/Science/MODELES/LMDZ.COMMON/ioipsl/modipsl/lib
    4 IOIPSL_LIBDIR=/home/aymeric/Science/MODELES/LMDZ.COMMON/ioipsl/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/home/aymeric/Science/MODELES/LMDZ.COMMON/netcdf/gfortran_netcdf-4.0.1/lib"
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/home/aymeric/Science/MODELES/LMDZ.COMMON/netcdf/gfortran_netcdf-4.0.1/include"
     6
     7IOIPSL_INCDIR="-I/home/aymeric/Science/MODELES/LMDZ.COMMON/ioipsl/modipsl/lib"
     8IOIPSL_LIBDIR="-L/home/aymeric/Science/MODELES/LMDZ.COMMON/ioipsl/modipsl/lib"
     9
     10XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     11XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     12XIOS_LIB="-lxios -lstdc++"
     13
  • trunk/LMDZ.COMMON/arch/arch-linux-64bit-para.path

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/donnees/emlmd/netcdf64-4.0.1_ifort/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/donnees/emlmd/netcdf64-4.0.1_ifort/include
    3 IOIPSL_INCDIR=/donnees/sllmd/ioipsl/modipsl/ifortpara/lib
    4 IOIPSL_LIBDIR=/donnees/sllmd/ioipsl/modipsl/ifortpara/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/donnees/emlmd/netcdf64-4.0.1_ifort/lib""
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/donnees/emlmd/netcdf64-4.0.1_ifort/include"
     6
     7IOIPSL_INCDIR="-I/donnees/sllmd/ioipsl/modipsl/ifortpara/lib"
     8IOIPSL_LIBDIR="-L/donnees/sllmd/ioipsl/modipsl/ifortpara/lib"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-linux-64bit.path

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/donnees/emlmd/netcdf64-4.0.1_pgi/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/donnees/emlmd/netcdf64-4.0.1_pgi/include
    3 IOIPSL_INCDIR=/donnees/emlmd/modipsl64_pgi/modipsl/lib
    4 IOIPSL_LIBDIR=/donnees/emlmd/modipsl64_pgi/modipsl/lib
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
    7 ORCH_INCDIR=/u/fairhead/modipsl_ioipsl_3/lib
    8 ORCH_LIBDIR=/u/fairhead/modipsl_ioipsl_3/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/donnees/emlmd/netcdf64-4.0.1_pgi/lib"
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/donnees/emlmd/netcdf64-4.0.1_pgi/include"
     6
     7IOIPSL_INCDIR="-I/donnees/emlmd/modipsl64_pgi/modipsl/lib"
     8IOIPSL_LIBDIR="-L/donnees/emlmd/modipsl64_pgi/modipsl/lib"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-linux-ifort-para.path

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/d2/emlmd/netcdf64-4.0.1_ifort/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/d2/emlmd/netcdf64-4.0.1_ifort/include
    3 IOIPSL_INCDIR=/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort
    4 IOIPSL_LIBDIR=/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/d2/emlmd/netcdf64-4.0.1_ifort/lib"
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/d2/emlmd/netcdf64-4.0.1_ifort/include"
     6
     7IOIPSL_INCDIR="-I/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
     8IOIPSL_LIBDIR="-L/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
  • trunk/LMDZ.COMMON/arch/arch-linux-ifort.path

    r1622 r1695  
    1 NETCDF_LIBDIR="-L/d2/emlmd/netcdf64-4.0.1_ifort/lib -lnetcdf"
    2 NETCDF_INCDIR=-I/d2/emlmd/netcdf64-4.0.1_ifort/include
    3 IOIPSL_INCDIR=/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort
    4 IOIPSL_LIBDIR=/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort
    5 XIOS_INCDIR=$LMDGCM/../XIOS/inc
    6 XIOS_LIBDIR=$LMDGCM/../XIOS/lib
     1ROOT=$PWD
     2
     3NETCDF_LIBDIR="-L/d2/emlmd/netcdf64-4.0.1_ifort/lib"
     4NETCDF_LIB="-lnetcdf"
     5NETCDF_INCDIR="-I/d2/emlmd/netcdf64-4.0.1_ifort/include"
     6
     7IOIPSL_INCDIR="-I/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
     8IOIPSL_LIBDIR="-L/u/sllmd/LMDZ5/ioipsl/modipsl/lib-ifort"
     9IOIPSL_LIB="-lioipsl"
     10
     11XIOS_INCDIR="-I$ROOT/../XIOS/inc"
     12XIOS_LIBDIR="-L$ROOT/../XIOS/lib"
     13XIOS_LIB="-lxios -lstdc++"
     14
Note: See TracChangeset for help on using the changeset viewer.