summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Willmore <frankwillmore@gmail.com>2020-11-06 15:56:42 -0600
committerGitHub <noreply@github.com>2020-11-06 13:56:42 -0800
commit2df73cae384bae6afeeadd738ccddcce5ac47803 (patch)
treef5715cd7a51dc16afc0aece27eaa16883f85b414
parentf59bbf9c3adbbdf371e128eb6681e8a85f8a8950 (diff)
downloadspack-2df73cae384bae6afeeadd738ccddcce5ac47803.tar.gz
spack-2df73cae384bae6afeeadd738ccddcce5ac47803.tar.bz2
spack-2df73cae384bae6afeeadd738ccddcce5ac47803.tar.xz
spack-2df73cae384bae6afeeadd738ccddcce5ac47803.zip
Mumps oneapi (#19786)
added oneapi compiler to directives for mumps package Co-authored-by: Frank Willmore <willmore@anl.gov>
-rw-r--r--var/spack/repos/builtin/packages/mumps/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py
index c4ea250235..51fe2a9f06 100644
--- a/var/spack/repos/builtin/packages/mumps/package.py
+++ b/var/spack/repos/builtin/packages/mumps/package.py
@@ -113,6 +113,7 @@ class Mumps(Package):
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 @@ class Mumps(Package):
# 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