mpas-model: enable oneapi compiler (#46457)
Co-authored-by: stephenmsachs <stephenmsachs@users.noreply.github.com>
This commit is contained in:
parent
7d6231b38a
commit
532e6b6aa9
@ -69,6 +69,11 @@ class MpasModel(MakefilePackage):
|
||||
depends_on("mpi")
|
||||
depends_on("parallelio")
|
||||
|
||||
conflicts(
|
||||
"%oneapi@:2024.1",
|
||||
msg="ifx internal compiler error triggered by maps-model fixed in oneapi@2024.2",
|
||||
)
|
||||
|
||||
patch("makefile.patch", when="@7.0")
|
||||
|
||||
parallel = False
|
||||
@ -114,7 +119,7 @@ def target(self, model, action):
|
||||
cppflags.append("-DUNDERSCORE")
|
||||
elif satisfies("%fj"):
|
||||
fflags.extend(["-Free", "-Fwide", "-CcdRR8"])
|
||||
elif satisfies("%intel"):
|
||||
elif satisfies("%intel") or satisfies("%oneapi"):
|
||||
fflags.extend(["-convert big_endian", "-FR"])
|
||||
if satisfies("precision=double"):
|
||||
fflags.extend(["-r8"])
|
||||
|
Loading…
Reference in New Issue
Block a user