Last change
on this file since 5451 was
4728,
checked in by idelkadi, 14 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. |
---|
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.