source: LMDZ6/branches/LMDZ_ECRad/libf/phylmd/ecrad/Makefile_include.intel_atos @ 5452

Last change on this file since 5452 was 4728, checked in by idelkadi, 15 months ago

Update of ecrad in the LMDZ_ECRad branch of LMDZ:

  • version 1.6.1 of ecrad
  • files are no longer grouped in the same ecrad directory.
  • the structure of ecrad offline is preserved to facilitate updating in LMDZ
  • cfg.bld modified to take into account the new added subdirectories.
  • the interface routines and those added in ecrad are moved to the phylmd directory
File size: 1.4 KB
Line 
1# This is a Makefile for the Intel compiler on ECMWF's Atos
2# supercomputer: run "make PROFILE=intel_atos". Note that by default
3# the Intel compiler puts arrays on the stack, which is likely to
4# cause a stack overflow - hence the use of "-heap-arrays" which puts
5# them on the heap like most other compilers.  If you remove this
6# argument you will likely need to set the environment variable
7# OMP_STACKSIZE to 64MB.
8ifdef RUN_THESE_ON_COMMAND_LINE_FIRST
9  module load prgenv/intel
10  module load intel/2021.4.0
11  module load intel-mpi/2021.4.0
12  module load intel-mkl/19.0.5
13  module load netcdf4/4.7.4
14  module load hdf5/1.10.6
15  unset OMP_NUM_THREADS
16endif
17
18FC = ifort
19CC = icc
20CPPFLAGS =
21
22ifndef DEBUG
23OPTFLAGS = -O2 -march=core-avx2 -no-fma
24else
25OPTFLAGS = -O0 -check bounds -init=snan
26endif
27
28LDFLAGS = -lrt
29WARNFLAGS = -warn all
30
31# We used to have the flag "-convert big_endian" here because the RRTM
32# input files are big endian Fortran unformatted files, but now the
33# file ordering has been specified at the OPEN command so no compiler
34# flags are needed.
35BASICFLAGS = -module ../mod -fpe0 -assume byterecl -align array64byte \
36           -traceback -fpic -fp-model precise -heap-arrays \
37           -fp-speculation=safe -fast-transcendentals -ftz \
38           -finline-functions -finline-limit=1500 -Winline -assume realloc_lhs
39DEBUGFLAGS = -g
40OMPFLAG = -qopenmp -qopenmp-threadprivate=compat
Note: See TracBrowser for help on using the repository browser.