source: branches/UKMO/dev_r5107_hadgem3_cplseq/NEMOGCM/ARCH/arch-openmpi_NAVITI_MERCATOR.fcm @ 5476

Last change on this file since 5476 was 4865, checked in by smasson, 7 years ago

add CPP definition in arch files

File size: 1.2 KB
Line 
1# ifort compiler options for linux
2# NCDF_INC    netcdf include file
3# NCDF_LIB    netcdf library
4# FC          Fortran compiler command
5# FCFLAGS     Fortran compiler flags
6# FFLAGS      Fortran 77 compiler flags
7# LD          linker
8# LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
9# FPPFLAGS    pre-processing flags
10# AR          assembler
11# ARFLAGS     assembler flags
12# MK          make
13# USER_INC    additional include files for the compiler,  e.g. -I<include dir>
14# USER_LIB    additional libraries to pass to the linker, e.g. -l<library>
15# debug: -g  -check bounds -check uninit -check pointers -traceback
16
17#
18%NCDF_INC            -I$NETCDF_INC
19%NCDF_LIB            -L$NETCDF_LIB -lnetcdff -lnetcdf -L$HDF5_LIB -lhdf5_hl -lhdf5 -lz
20
21%CPP               cpp
22%FC                  mpif90
23%FCFLAGS             -O2 -fp-model precise  -traceback -r8  -convert big_endian -assume byterecl
24%FFLAGS              %FCFLAGS
25%LD                   mpif90
26%FPPFLAGS            -P -C -traditional
27%LDFLAGS             -O2
28%AR                  ar
29%ARFLAGS             -rs
30%MK                  gmake
31%USER_INC            -I$XIOS_INC %NCDF_INC
32%USER_LIB            -L$XIOS_LIB -lxios %NCDF_LIB -lstdc++
Note: See TracBrowser for help on using the repository browser.