diff options
author | eklee15 <eunkyung.lee@us.ibm.com> | 2017-05-26 23:06:55 -0400 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-05-26 22:06:55 -0500 |
commit | a9feeefdb93c7766d02e264bbdd7f070c2d6ec83 (patch) | |
tree | 2e458042316867c182f0f99bb706d846584dd650 /var | |
parent | e7ad79fbed69555704857322063ad456eef6c632 (diff) | |
download | spack-a9feeefdb93c7766d02e264bbdd7f070c2d6ec83.tar.gz spack-a9feeefdb93c7766d02e264bbdd7f070c2d6ec83.tar.bz2 spack-a9feeefdb93c7766d02e264bbdd7f070c2d6ec83.tar.xz spack-a9feeefdb93c7766d02e264bbdd7f070c2d6ec83.zip |
Added pgi support for mumps (#4369)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mumps/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/mumps/package.py b/var/spack/repos/builtin/packages/mumps/package.py index c5bd783f39..f28941fda3 100644 --- a/var/spack/repos/builtin/packages/mumps/package.py +++ b/var/spack/repos/builtin/packages/mumps/package.py @@ -178,8 +178,8 @@ class Mumps(Package): # TODO: change the value to the correct one according to the # compiler possible values are -DAdd_, -DAdd__ and/or -DUPPER - if self.compiler.name == 'intel': - # Intel Fortran compiler provides the main() function so + if self.compiler.name == 'intel' or self.compiler.name == 'pgi': + # Intel & PGI Fortran compiler provides the main() function so # C examples linked with the Fortran compiler require a # hack defined by _DMAIN_COMP (see examples/c_example.c) makefile_conf.append("CDEFS = -DAdd_ -DMAIN_COMP") |