mirror of https://github.com/fredrikekre/HYPRE.jl
Browse Source
This patch adds the function `HYPRE.Init()` which i) calls `MPI.Init` (unless MPI is already initialized), ii) calls `HYPRE_Init`, and iii) adds a Julia exit hook which calls `HYPRE_Finalize` (if the keyword argument `finalize_atexit` is `true`).
2 changed files with 25 additions and 2 deletions
Loading…
Reference in new issue