New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 3415 for branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/ARCH/CNRS/arch-X64_CURIE.fcm – NEMO

Ignore:
Timestamp:
2012-06-15T15:29:37+02:00 (12 years ago)
Author:
rblod
Message:

Changes for compilation and few code modifications for the new ioserver, see ticket #974

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_r3406_LOCEAN4_XIOS/NEMOGCM/ARCH/CNRS/arch-X64_CURIE.fcm

    r3303 r3415  
    1313# USER_INC    additional include files for the compiler,  e.g. -I<include dir> 
    1414# USER_LIB    additional libraries to pass to the linker, e.g. -l<library> 
     15# here NETCDF_INC_DIR, HDF5_INC_DIR are variables relative to this compiler exported before 
    1516 
    1617%NCDF_INC            -I$(NETCDF_INC_DIR) 
    17 %NCDF_LIB            -L$(NETCDF_LIB_DIR) -lnetcdff -lnetcdf 
     18%NCDF_LIB            -L$(NETCDF_LIB_DIR) -L$HDF5_LIB_DIR    -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl -lstdc++ 
    1819%FC                  mpif90 -c -cpp 
    1920# for Curie Fat Node 
    20 %FCFLAGS             -i4 -r8 -fast -xSSE4.2 -automatic 
     21%FCFLAGS             -i4 -r8  
    2122# for Curie Thin Node 
    2223#%FCFLAGS             -i4 -r8 -fast -xAVX   -automatic 
     
    2829%ARFLAGS             rs 
    2930%MK                  gmake 
    30 %USER_INC            %NCDF_INC 
    31 %USER_LIB            %NCDF_LIB 
     31%USER_INC            %NCDF_INC  
     32%USER_LIB            %NCDF_LIB  
     33 
     34# Flags only needed for IOSERVER 
     35%CC      mpicc 
     36%XIO_CFLAGS    -ansi -O3 -DNONE -DXIOS_LIBRARY -diag-disable 1125 -diag-disable 279 -D BOOST_DISABLE_ASSERTS 
     37%XIO_FFLAGS    -O3 -DXIOS_LIBRARY  
     38%XIO_LD         mpif90  -nofor-main 
     39%XIO_LDFLAGS        -lstdc++ 
     40%XIO_INC       -D __NONE__ 
     41 
     42%XIO_CINC     -I$HDF5_INC_DIR -I$NETCDF_INC_DIR 
     43%XIO_FINC 
     44%XIO_LDINC     -L$(NETCDF_LIB_DIR) -L$HDF5_LIB_DIR   -lnetcdff -lnetcdf -lhdf5_hl -lhdf5 -lhdf5 -lz -lcurl -lstdc++   
Note: See TracChangeset for help on using the changeset viewer.