mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 11:55:27 -05:00
a54aefead6
* gnu/packages/maths.scm (superlu-dist): New variable. * gnu/packages/patches/superlu-dist-scotchmetis.patch: New patch. * gnu-system.am (dist_patch_DATA): Add it.
21 lines
679 B
Diff
21 lines
679 B
Diff
The METIS interface from Scotch may segfault if passed NULL to indicate a
|
|
default parameter, so use the older calling style.
|
|
|
|
--- a/SRC/get_perm_c.c 2014-05-16 23:38:30.070835316 -0500
|
|
+++ b/SRC/get_perm_c.c 2014-05-16 23:39:04.582836211 -0500
|
|
@@ -70,11 +70,13 @@
|
|
#else
|
|
|
|
/* Earlier version 3.x.x */
|
|
- /* METIS_NodeND(&nm, b_colptr, b_rowind, &numflag, metis_options,
|
|
- perm, iperm);*/
|
|
+ METIS_NodeND(&nm, b_colptr, b_rowind, &numflag, metis_options,
|
|
+ perm, iperm);
|
|
|
|
/* Latest version 4.x.x */
|
|
+#if 0
|
|
METIS_NodeND(&nm, b_colptr, b_rowind, NULL, NULL, perm, iperm);
|
|
+#endif
|
|
|
|
/*check_perm_dist("metis perm", n, perm);*/
|
|
#endif
|