Skip to content
Snippets Groups Projects
Commit 601b7fcc authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Update dwd-icon-tools intel flags.

parent e8e655dd
No related branches found
No related tags found
1 merge request!9Build only
Pipeline #19270 failed
......@@ -66,11 +66,13 @@ class DwdIconTools(Package):
elif self.spec.satisfies("%intel"):
# Intel
env_variables_to_set = {
"CXXFLAGS": "-O2 -g -qopenmp -Wunused -DNOMPI",
"FCFLAGS": "-I/usr/include -stand f08 -O2 -g -fpp -qopenmp -check bounds -Wunused -DNOMPI",
"LIBS": f"-leccodes -lgfortran -lhdf5 -lxml2",
"V": "1",
"VERBOSE": "1",
"CXXFLAGS": "-O2 -g -qopenmp -Wunused -DNOMPI",
"FCFLAGS": "-I/usr/include -stand f08 -O2 -g -fpp -qopenmp -check bounds -Wunused -DNOMPI",
"CFLAGS": "-std=gnu99 -O3 -DHAVE_LIBNETCDF -DHAVE_NETCDF4 -DHAVE_CF_INTERFACE -DHAVE_LIBGRIB "
"-DHAVE_LIBGRIB_API -DpgiFortran -D__ICON__ -DHAVE_CONFIG_H -traceback",
"LIBS": f"-leccodes -lgfortran -lhdf5 -lxml2",
"V": "1",
"VERBOSE": "1",
}
else:
raise AssertionError("Compiler does not match gcc nor intel")
......@@ -84,6 +86,8 @@ class DwdIconTools(Package):
"--with-eccodes=yes",
"--enable-grib2",
"--enable-iso-c-interface",
"--enable-static",
"--disable-shared",
f"--with-netcdf={spec['netcdf-c'].prefix}"
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment