* [bug#33545] [PATCH 0/2] Enable use of hypre via petsc
@ 2018-11-28 19:42 Paul Garlick
2018-11-28 19:48 ` [bug#33545] [PATCH 1/2] gnu: petsc-openmpi: Configure with support for HYPRE preconditioner Paul Garlick
2018-12-04 10:13 ` bug#33545: [PATCH 0/2] Enable use of hypre via petsc Ludovic Courtès
0 siblings, 2 replies; 4+ messages in thread
From: Paul Garlick @ 2018-11-28 19:42 UTC (permalink / raw)
To: 33545; +Cc: Paul Garlick
Hi Guix,
These two patches enable the HYPRE preconditioners to be used by packages
that use PETSc, such as FEniCS.
The first patch adds the necessary configure flag for petsc-openmpi. The
second patch is needed to ensure that the check phase of the fenics build
continues to succeed.
Best regards,
Paul.
Paul Garlick (2):
gnu: petsc-openmpi: Configure with support for HYPRE preconditioner.
gnu: fenics: Skip extra demo in 'check' phase.
gnu/packages/maths.scm | 4 +++-
gnu/packages/simulation.scm | 1 +
2 files changed, 4 insertions(+), 1 deletion(-)
--
1.8.3.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [bug#33545] [PATCH 1/2] gnu: petsc-openmpi: Configure with support for HYPRE preconditioner.
2018-11-28 19:42 [bug#33545] [PATCH 0/2] Enable use of hypre via petsc Paul Garlick
@ 2018-11-28 19:48 ` Paul Garlick
2018-11-28 19:48 ` [bug#33545] [PATCH 2/2] gnu: fenics: Skip extra demo in 'check' phase Paul Garlick
2018-12-04 10:13 ` bug#33545: [PATCH 0/2] Enable use of hypre via petsc Ludovic Courtès
1 sibling, 1 reply; 4+ messages in thread
From: Paul Garlick @ 2018-11-28 19:48 UTC (permalink / raw)
To: 33545; +Cc: Paul Garlick
* gnu/packages/maths.scm (petsc-openmpi)[inputs]: Add hypre-openmpi.
[arguments]: Add 'with-hypre=1' flag.
---
gnu/packages/maths.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0cf8916..85af458 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -1767,6 +1767,7 @@ scientific applications modeled by partial differential equations.")
(name "petsc-openmpi")
(inputs
`(("hdf5" ,hdf5-parallel-openmpi)
+ ("hypre" ,hypre-openmpi)
("metis" ,metis)
("mumps" ,mumps-openmpi)
("openmpi" ,openmpi)
@@ -1776,7 +1777,8 @@ scientific applications modeled by partial differential equations.")
(arguments
(substitute-keyword-arguments (package-arguments petsc)
((#:configure-flags cf)
- ``("--with-mpiexec=mpirun"
+ ``("--with-hypre=1"
+ "--with-mpiexec=mpirun"
"--with-metis=1"
"--with-mumps=1"
"--with-scalapack=1"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [bug#33545] [PATCH 2/2] gnu: fenics: Skip extra demo in 'check' phase.
2018-11-28 19:48 ` [bug#33545] [PATCH 1/2] gnu: petsc-openmpi: Configure with support for HYPRE preconditioner Paul Garlick
@ 2018-11-28 19:48 ` Paul Garlick
0 siblings, 0 replies; 4+ messages in thread
From: Paul Garlick @ 2018-11-28 19:48 UTC (permalink / raw)
To: 33545; +Cc: Paul Garlick
* gnu/packages/simulation.scm (fenics)[arguments]: Add 'curl-curl'
demo to list of demos that require meshes supplied by git-lfs.
---
gnu/packages/simulation.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 6144e23..bbe6d53 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -639,6 +639,7 @@ user interface to the FEniCS core components and external libraries.")
"'lift-drag', \n"
"'elastodynamics', \n"
"'dg-advection-diffusion', \n"
+ "'curl-curl', \n"
"'contact-vi-tao', \n"
"'contact-vi-snes', \n"
"'collision-detection', \n"
--
1.8.3.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* bug#33545: [PATCH 0/2] Enable use of hypre via petsc
2018-11-28 19:42 [bug#33545] [PATCH 0/2] Enable use of hypre via petsc Paul Garlick
2018-11-28 19:48 ` [bug#33545] [PATCH 1/2] gnu: petsc-openmpi: Configure with support for HYPRE preconditioner Paul Garlick
@ 2018-12-04 10:13 ` Ludovic Courtès
1 sibling, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2018-12-04 10:13 UTC (permalink / raw)
To: Paul Garlick; +Cc: 33545-done
Hello,
Paul Garlick <pgarlick@tourbillion-technology.com> skribis:
> Paul Garlick (2):
> gnu: petsc-openmpi: Configure with support for HYPRE preconditioner.
> gnu: fenics: Skip extra demo in 'check' phase.
Applied both patches, thank you!
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-12-04 10:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-28 19:42 [bug#33545] [PATCH 0/2] Enable use of hypre via petsc Paul Garlick
2018-11-28 19:48 ` [bug#33545] [PATCH 1/2] gnu: petsc-openmpi: Configure with support for HYPRE preconditioner Paul Garlick
2018-11-28 19:48 ` [bug#33545] [PATCH 2/2] gnu: fenics: Skip extra demo in 'check' phase Paul Garlick
2018-12-04 10:13 ` bug#33545: [PATCH 0/2] Enable use of hypre via petsc Ludovic Courtès
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).