petsc/petsc-3.18.0-fix_mumps_includes.patch

12 lines
620 B
Diff
Raw Normal View History

2023-04-13 21:32:21 +00:00
--- a/config/BuildSystem/config/packages/MUMPS.orig.py 2020-03-30 05:33:12.000000000 +0200
+++ b/config/BuildSystem/config/packages/MUMPS.py 2020-04-03 17:01:49.237255499 +0200
@@ -55,7 +55,7 @@
if self.scalartypes.scalartype == 'real': l = 'd'
else: l = 'z'
self.functions = [l+'mumps_c']
- self.includes = [l+'mumps_c.h']
+ self.includes = ['MUMPS/dmumps_c.h']
liblist_common = [['libmumps_common.a','libpord.a','libpthread.a'],
['libmumps_common.a','libpord.a','libmpiseq.a'],
['libmumps_common.a','libpord.a','libpthread.a','libmpiseq.a']]