source: utils/build/arch/MERCATOR/arch-openmpi_KARA_MERCATOR_XIOS.fcm @ 9731

Last change on this file since 9731 was 9731, checked in by jchanut, 3 years ago

MERCATOR KARA arch: Remove -C preprocessing option - This otherwise fills fortran file headers with gcc comments when compiling with AGRIF

File size: 1.4 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# CC          C compiler used to compile conv for AGRIF
16# CFLAGS      compiler flags used with CC
17# debug: -g  -check bounds -check uninit -check pointers -traceback
18# #-xAVX
19#
20%NCDF_INC            -I$NETCDF_INC
21%NCDF_LIB            -L$NETCDF_LIB -lnetcdff -lnetcdf -L$HDF5_LIB -lhdf5_hl -lhdf5 -lz
22
23%CPP               cpp
24%FC                  mpif90 -fpp
25# norep 156 %FCFLAGS             -i4 -r8 -O3 -fp-model precise
26# norep 156 %FCFLAGS             -i4 -r8 -O2 -fp-model precise
27%FCFLAGS             -i4 -r8 -O0 -fp-model precise
28%FFLAGS              %FCFLAGS
29%LD                   mpif90
30%FPPFLAGS            -P -traditional
31%LDFLAGS             -O2
32%AR                  ar
33%ARFLAGS             -rs
34%MK                  gmake
35%USER_INC            -I$XIOS_INC %NCDF_INC
36%USER_LIB            -L$XIOS_LIB -lxios %NCDF_LIB -lstdc++
37
38%CC                  cc
39%CFLAGS              -O0
Note: See TracBrowser for help on using the repository browser.