Changeset 1711 for LMDZ5/trunk


Ignore:
Timestamp:
Jan 18, 2013, 11:18:12 AM (12 years ago)
Author:
Ehouarn Millour
Message:

Update of the Ada arch files: add -Bstatic for Netcdf, better options for compilation in debug mode, and FFTW settings.
EM

Location:
LMDZ5/trunk/arch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/arch/arch-X64_ADA.fcm

    r1705 r1711  
    33%AR                  ar
    44%MAKE                gmake
    5 %FPP_FLAGS           -P -traditional
    6 %FPP_DEF             NC_DOUBLE BLAS SGEMV=DGEMV SGEMM=DGEMM
     5%FPP_FLAGS           -P -traditional -I/smplocal/pub/FFTW/3.3.3/include/
     6%FPP_DEF             NC_DOUBLE BLAS SGEMV=DGEMV SGEMM=DGEMM FFT_FFTW
    77%BASE_FFLAGS         -integer-size 32 -real-size 64 -align all
    8 %PROD_FFLAGS         -O3 -ip
     8%PROD_FFLAGS         -O3 -ip -fp-model precise -axAVX,SSE4.2
    99%DEV_FFLAGS          -p -g -O1 -fpe0 -traceback
    10 %DEBUG_FFLAGS        -p -g -O0 -no-ftz -traceback -ftrapuv -fp-stack-check -check -fpe0
     10%DEBUG_FFLAGS        -p -g -O0 -no-ftz -fpe-all=0 -traceback -ftrapuv -fp-stack-check -check all
    1111%MPI_FFLAGS
    1212%OMP_FFLAGS          -openmp
    13 %%%%BASE_LD             -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
    14 %BASE_LD             -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread
     13%BASE_LD             -shared-intel -mcmodel=large -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lpthread -L/smplocal/pub/FFTW/3.3.3/lib -lfftw3
    1514%MPI_LD
    1615%OMP_LD              -openmp
  • LMDZ5/trunk/arch/arch-X64_ADA.path

    r1705 r1711  
    1 NETCDF_LIBDIR="${NETCDF_LDFLAGS:--L/smplocal/pub/NetCDF/4.1.3/lib -lnetcdff -lnetcdf}"
     1NETCDF_LIBDIR="${NETCDF_LDFLAGS:--L/smplocal/pub/NetCDF/4.1.3/lib -Bstatic -lnetcdff -lnetcdf -L/smplocal/pub/HDF5/1.8.9/seq/lib -Bstatic -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 -Bdynamic -lz}"
    22NETCDF_INCDIR="${NETCDF_FFLAGS:--I/smplocal/pub/HDF5/1.8.9/seq/include -I/smplocal/pub/NetCDF/4.1.3/include}"
    33IOIPSL_INCDIR=$LMDGCM/../../lib
Note: See TracChangeset for help on using the changeset viewer.