Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hypre 2.25.0 fails to build #1522

Open
adrianreber opened this issue Oct 3, 2022 · 1 comment
Open

hypre 2.25.0 fails to build #1522

adrianreber opened this issue Oct 3, 2022 · 1 comment

Comments

@adrianreber
Copy link
Member

Updating hypre to anything newer fails with:

In file included from mli_utils.h:21,
                 from mli_utils.c:21:
./../../parcsr_ls/_hypre_parcsr_ls.h:31:10: fatal error: par_csr_block_matrix.h: No such file or directory
   31 | #include "par_csr_block_matrix.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [../../config/Makefile.config:54: mli_utils.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from mli_utils.h:21,
                 from mli_vector.h:26,
                 from mli_matrix.h:23,
                 from mli_solver.h:46,
                 from mli.h:27,
                 from mli_method_amgsa.h:19,
                 from mli_amgsa_dd_fedata.cxx:32:
./../../parcsr_ls/_hypre_parcsr_ls.h:31:10: fatal error: par_csr_block_matrix.h: No such file or directory
   31 | #include "par_csr_block_matrix.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from mli_utils.h:21,
                 from mli_vector.h:26,
                 from mli_matrix.h:23,
                 from mli_solver.h:46,
                 from mli.h:27,
                 from mli_method_amgsa.h:19,
                 from mli_amgsa_calib.cxx:31:
./../../parcsr_ls/_hypre_parcsr_ls.h:31:10: fatal error: par_csr_block_matrix.h: No such file or directory
   31 | #include "par_csr_block_matrix.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [../../config/Makefile.config:58: mli_amgsa_calib.o] Error 1
make: *** [../../config/Makefile.config:58: mli_amgsa_dd_fedata.o] Error 1
In file included from mli_utils.h:21,
                 from mli_matrix.h:24,
                 from mli_vector.h:25,
                 from mli_amgsa_coarsen1.cxx:24:
./../../parcsr_ls/_hypre_parcsr_ls.h:31:10: fatal error: par_csr_block_matrix.h: No such file or directory
   31 | #include "par_csr_block_matrix.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Removing the step

pushd FEI_mv/femli
make %{?_smp_mflags} all CC="mpicc $FLAGS" \
                         CXX="mpicxx $FLAGS" \
                         F77="mpif77 $FLAGS"
popd

which is not documented in the upstream documentation let's the build pass. Not sure if this section is necessary/important.

Copy link

github-actions bot commented Aug 1, 2024

A friendly reminder that this issue had no activity for 30 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant