Last change
on this file since 5202 was
4773,
checked in by idelkadi, 11 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:
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. |
---|
8 | ifdef 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 |
---|
16 | endif |
---|
17 | |
---|
18 | FC = ifort |
---|
19 | CC = icc |
---|
20 | CPPFLAGS = |
---|
21 | |
---|
22 | ifndef DEBUG |
---|
23 | OPTFLAGS = -O2 -march=core-avx2 -no-fma |
---|
24 | else |
---|
25 | OPTFLAGS = -O0 -check bounds -init=snan |
---|
26 | endif |
---|
27 | |
---|
28 | LDFLAGS = -lrt |
---|
29 | WARNFLAGS = -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. |
---|
35 | BASICFLAGS = -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 |
---|
39 | DEBUGFLAGS = -g |
---|
40 | OMPFLAG = -qopenmp -qopenmp-threadprivate=compat |
---|
Note: See
TracBrowser
for help on using the repository browser.