unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#33635] [PATCH] gnu: petsc-openmpi: Ensure compatibility of SCOTCH dependency.
@ 2018-12-05 20:06 Paul Garlick
  2018-12-09 23:19 ` bug#33635: " Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Garlick @ 2018-12-05 20:06 UTC (permalink / raw)
  To: 33635; +Cc: Paul Garlick

* gnu/packages/maths.scm (petsc-openmpi)[inputs]: Replace pt-scotch
with pt-scotch32 in order to prevent 'incompatible pointer' warnings
being generated in the 'build' phase.
---
 gnu/packages/maths.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index f88cede..c35bf9e 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1772,7 +1772,7 @@ scientific applications modeled by partial differential equations.")
        ("mumps" ,mumps-openmpi)
        ("openmpi" ,openmpi)
        ("scalapack" ,scalapack)
-       ("scotch" ,pt-scotch)
+       ("scotch" ,pt-scotch32)
        ,@(package-inputs petsc)))
     (arguments
      (substitute-keyword-arguments (package-arguments petsc)
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#33635: [PATCH] gnu: petsc-openmpi: Ensure compatibility of SCOTCH dependency.
  2018-12-05 20:06 [bug#33635] [PATCH] gnu: petsc-openmpi: Ensure compatibility of SCOTCH dependency Paul Garlick
@ 2018-12-09 23:19 ` Ludovic Courtès
  2018-12-10 11:58   ` [bug#33635] " Paul Garlick
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-12-09 23:19 UTC (permalink / raw)
  To: Paul Garlick; +Cc: 33635-done

Hi Paul,

Paul Garlick <pgarlick@tourbillion-technology.com> skribis:

> * gnu/packages/maths.scm (petsc-openmpi)[inputs]: Replace pt-scotch
> with pt-scotch32 in order to prevent 'incompatible pointer' warnings
> being generated in the 'build' phase.

Applied!

Did it lead to crashes at run time?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#33635] [PATCH] gnu: petsc-openmpi: Ensure compatibility of SCOTCH dependency.
  2018-12-09 23:19 ` bug#33635: " Ludovic Courtès
@ 2018-12-10 11:58   ` Paul Garlick
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Garlick @ 2018-12-10 11:58 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 33635-done

Hi Ludo,

> Did it lead to crashes at run time?

I have not seen any crashes at runtime.  The issue is to do with the
integer values used for matrix indexing.  PETSc can be built using 64-
bit indexing but defaults to 32-bit.  So this patch enforces
consistency between PETSc and SCOTCH.

Best regards,

Paul.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-10 11:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-05 20:06 [bug#33635] [PATCH] gnu: petsc-openmpi: Ensure compatibility of SCOTCH dependency Paul Garlick
2018-12-09 23:19 ` bug#33635: " Ludovic Courtès
2018-12-10 11:58   ` [bug#33635] " Paul Garlick

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).