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 elect name='h' onchange='this.form.submit();'> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/installer/tests.scm
AgeCommit message (Expand)Author
2022-09-24installer: tests: Fix typo....* gnu/installer/tests.scm (edit-configuration-file): Fix it. Mathieu Othacehe
2022-09-24installer: Fix configuration edition during testing....When the configuration is edited, it looks like there are some leftover fragments from the input configuration: Example content of config.scm after edition: #:imported-modules '((gnu services herd) (guix build utils) (guix combinators))) unted". The unique ;; file system identifiers there ("UUIDs") can be obtained ;; by running 'blkid' in a terminal. ... This is strange because call-with-output-file uses the O_TRUNC flag which resets the file size to zero. Remove the configuration file before writing it as a work-around. * gnu/installer/tests.scm (edit-configuration-file): Remove the configuration file before re-writing it. Mathieu Othacehe