Mumps oneapi (#19786)
added oneapi compiler to directives for mumps package Co-authored-by: Frank Willmore <willmore@anl.gov>
This commit is contained in:
parent
f59bbf9c3a
commit
2df73cae38
@ -113,6 +113,7 @@ def write_makefile_inc(self):
|
||||
using_pgi = self.compiler.name == "pgi"
|
||||
using_nvhpc = self.compiler.name == "nvhpc"
|
||||
using_intel = self.compiler.name == "intel"
|
||||
using_oneapi = self.compiler.name == "oneapi"
|
||||
using_xl = self.compiler.name in ['xl', 'xl_r']
|
||||
using_fj = self.compiler.name == "fj"
|
||||
|
||||
@ -180,7 +181,7 @@ def write_makefile_inc(self):
|
||||
|
||||
# TODO: change the value to the correct one according to the
|
||||
# compiler possible values are -DAdd_, -DAdd__ and/or -DUPPER
|
||||
if using_intel or using_pgi or using_nvhpc or using_fj:
|
||||
if using_intel or using_oneapi or using_pgi or using_nvhpc or using_fj:
|
||||
# Intel, PGI, and Fujitsu Fortran compiler provides
|
||||
# the main() function so C examples linked with the Fortran
|
||||
# compiler require a hack defined by _DMAIN_COMP
|
||||
|
Loading…
Reference in New Issue
Block a user