Mumps oneapi (#19786)

added oneapi compiler to directives for mumps package

Co-authored-by: Frank Willmore <willmore@anl.gov>
This commit is contained in:
Frank Willmore 2020-11-06 15:56:42 -06:00 committed by GitHub
parent f59bbf9c3a
commit 2df73cae38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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