source: LMDZ6/branches/contrails/libf/phylmd/ecrad/Makefile_include.intel

Last change on this file was 4773, checked in by idelkadi, 13 months ago
  • Update of Ecrad in LMDZ The same organization of the Ecrad offline version is retained in order to facilitate the updating of Ecrad in LMDZ and the comparison between online and offline results. version 1.6.1 of Ecrad (https://github.com/lguez/ecrad.git)
  • Implementation of the double call of Ecrad in LMDZ


File size: 911 bytes
Line 
1# This is a Makefile for the Intel compiler: run "make
2# PROFILE=intel". Note that by default the Intel compiler puts arrays
3# on the stack, which is likely to cause a stack overflow - hence the
4# use of "-heap-arrays" which puts them on the heap like most other
5# compilers.  If you remove this argument you will likely need to set
6# the environment variable OMP_STACKSIZE to 64MB.
7
8FC = ifort
9CC = icc
10CPPFLAGS =
11
12ifndef DEBUG
13OPTFLAGS = -O3
14else
15OPTFLAGS = -O0 -check bounds -init=snan
16endif
17
18LDFLAGS = -lrt
19WARNFLAGS = -warn all
20
21# We used to have the flag "-convert big_endian" here because the RRTM
22# input files are big endian Fortran unformatted files, but now the
23# file ordering has been specified at the OPEN command so no compiler
24# flags are needed.
25BASICFLAGS = -module ../mod -fpe0 -fp-model precise -ftz -fp-speculation safe -heap-arrays
26
27DEBUGFLAGS = -g
28OMPFLAG = -qopenmp -qopenmp-lib=compat
Note: See TracBrowser for help on using the repository browser.