Added pgi support for mumps (#4369)
This commit is contained in:
parent
e7ad79fbed
commit
a9feeefdb9
@ -178,8 +178,8 @@ def write_makefile_inc(self):
|
|||||||
|
|
||||||
# TODO: change the value to the correct one according to the
|
# TODO: change the value to the correct one according to the
|
||||||
# compiler possible values are -DAdd_, -DAdd__ and/or -DUPPER
|
# compiler possible values are -DAdd_, -DAdd__ and/or -DUPPER
|
||||||
if self.compiler.name == 'intel':
|
if self.compiler.name == 'intel' or self.compiler.name == 'pgi':
|
||||||
# Intel Fortran compiler provides the main() function so
|
# Intel & PGI Fortran compiler provides the main() function so
|
||||||
# C examples linked with the Fortran compiler require a
|
# C examples linked with the Fortran compiler require a
|
||||||
# hack defined by _DMAIN_COMP (see examples/c_example.c)
|
# hack defined by _DMAIN_COMP (see examples/c_example.c)
|
||||||
makefile_conf.append("CDEFS = -DAdd_ -DMAIN_COMP")
|
makefile_conf.append("CDEFS = -DAdd_ -DMAIN_COMP")
|
||||||
|
Loading…
Reference in New Issue
Block a user