source: LMDZ6/trunk/libf/phylmd/ecrad-acc/Makefile_include.intel_atos

Last change on this file was 6016, checked in by yann meurdesoif, 3 months ago

Add new ecrad version from DWD ported onto OpenACC, closed from original ecrad ECMWF starting point for LMDZ ecrad version.

Modification from ecrad-lmdz version has been included.

YM

  • Property svn:eol-style set to native
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.