Skip to content

nekrs fails to build on Debian 13 (trixie) #338

@davispuh

Description

@davispuh

nekrs test fails to build on Debian 13 (trixie).

pts/nekrs-1.1.0:
        Test Installation 12 of 13
        1 File Needed [46.55 MB / 1 Minute]
        File Found: nekRS-23.0.tar.gz                                                                                                                                                                     [46.55MB]
        Approximate Install Size: 611 MB
        Estimated Test Install Time: 24 Seconds
        Installing Test @ 16:56:55
            The installer exited with a non-zero exit status.
            ERROR: nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/serilut.c:439:16: error: passing argument 4 of ‘HYPRE_DistributedMatrixRestoreRow’ from incompatible pointer type [-Wincompatible-pointer-types]
            LOG: ~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/install-failed.log
[...]
[ 63%] Building Fortran object 3rd_party/lapack/SRC/CMakeFiles/lapack.dir/dtftri.f.o
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c: In function ‘HYPRE_DistributedMatrixPilutSolverSetup’:
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c:355:57: error: passing argument 2 of ‘HYPRE_DistributedMatrixGetDims’ from incompatible pointer type [-Wincompatible-pointer-types]
  355 |       hypre_DistributedMatrixPilutSolverMatrix(solver), &m, &n);
      |                                                         ^~
      |                                                         |
      |                                                         HYPRE_Int * {aka int *}
[ 63%] Building Fortran object 3rd_party/lapack/SRC/CMakeFiles/lapack.dir/dtfttr.f.o
In file included from ~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_matrix/HYPRE_distributed_matrix_types.h:8,
                 from ~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/./DistributedMatrixPilutSolver.h:23,
                 from ~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c:9:
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_matrix/HYPRE_distributed_matrix_mv.h:35:90: note: expected ‘HYPRE_BigInt *’ {aka ‘long long int *’} but argument is of type ‘HYPRE_Int *’ {aka ‘int *’}
   35 | HYPRE_Int HYPRE_DistributedMatrixGetDims (HYPRE_DistributedMatrix matrix , HYPRE_BigInt *M , HYPRE_BigInt *N );
      |                                                                            ~~~~~~~~~~~~~~^
[ 63%] Building Fortran object 3rd_party/lapack/SRC/CMakeFiles/lapack.dir/dpftrs.f.o
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c:355:61: error: passing argument 3 of ‘HYPRE_DistributedMatrixGetDims’ from incompatible pointer type [-Wincompatible-pointer-types]
  355 |       hypre_DistributedMatrixPilutSolverMatrix(solver), &m, &n);
      |                                                             ^~
      |                                                             |
      |                                                             HYPRE_Int * {aka int *}
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_matrix/HYPRE_distributed_matrix_mv.h:35:108: note: expected ‘HYPRE_BigInt *’ {aka ‘long long int *’} but argument is of type ‘HYPRE_Int *’ {aka ‘int *’}
   35 | HYPRE_Int HYPRE_DistributedMatrixGetDims (HYPRE_DistributedMatrix matrix , HYPRE_BigInt *M , HYPRE_BigInt *N );
      |                                                                                              ~~~~~~~~~~~~~~^
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c:360:57: error: passing argument 2 of ‘HYPRE_DistributedMatrixGetLocalRange’ from incompatible pointer type [-Wincompatible-pointer-types]
  360 |       hypre_DistributedMatrixPilutSolverMatrix(solver), &start, &end, &col0, &coln);
      |                                                         ^~~~~~
      |                                                         |
      |                                                         HYPRE_Int * {aka int *}
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_matrix/HYPRE_distributed_matrix_mv.h:38:96: note: expected ‘HYPRE_BigInt *’ {aka ‘long long int *’} but argument is of type ‘HYPRE_Int *’ {aka ‘int *’}
   38 | HYPRE_Int HYPRE_DistributedMatrixGetLocalRange (HYPRE_DistributedMatrix matrix , HYPRE_BigInt *row_start , HYPRE_BigInt *row_end, HYPRE_BigInt *col_start, HYPRE_BigInt *col_end );
      |                                                                                  ~~~~~~~~~~~~~~^~~~~~~~~
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c:360:65: error: passing argument 3 of ‘HYPRE_DistributedMatrixGetLocalRange’ from incompatible pointer type [-Wincompatible-pointer-types]
  360 |       hypre_DistributedMatrixPilutSolverMatrix(solver), &start, &end, &col0, &coln);
      |                                                                 ^~~~
      |                                                                 |
      |                                                                 HYPRE_Int * {aka int *}
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_matrix/HYPRE_distributed_matrix_mv.h:38:122: note: expected ‘HYPRE_BigInt *’ {aka ‘long long int *’} but argument is of type ‘HYPRE_Int *’ {aka ‘int *’}
   38 | HYPRE_Int HYPRE_DistributedMatrixGetLocalRange (HYPRE_DistributedMatrix matrix , HYPRE_BigInt *row_start , HYPRE_BigInt *row_end, HYPRE_BigInt *col_start, HYPRE_BigInt *col_end );
      |                                                                                                            ~~~~~~~~~~~~~~^~~~~~~
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c:360:71: error: passing argument 4 of ‘HYPRE_DistributedMatrixGetLocalRange’ from incompatible pointer type [-Wincompatible-pointer-types]
  360 |       hypre_DistributedMatrixPilutSolverMatrix(solver), &start, &end, &col0, &coln);
      |                                                                       ^~~~~
      |                                                                       |
      |                                                                       HYPRE_Int * {aka int *}
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_matrix/HYPRE_distributed_matrix_mv.h:38:145: note: expected ‘HYPRE_BigInt *’ {aka ‘long long int *’} but argument is of type ‘HYPRE_Int *’ {aka ‘int *’}
   38 | HYPRE_Int HYPRE_DistributedMatrixGetLocalRange (HYPRE_DistributedMatrix matrix , HYPRE_BigInt *row_start , HYPRE_BigInt *row_end, HYPRE_BigInt *col_start, HYPRE_BigInt *col_end );
      |                                                                                                                                   ~~~~~~~~~~~~~~^~~~~~~~~
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_ls/pilut/HYPRE_DistributedMatrixPilutSolver.c:360:78: error: passing argument 5 of ‘HYPRE_DistributedMatrixGetLocalRange’ from incompatible pointer type [-Wincompatible-pointer-types]
  360 |       hypre_DistributedMatrixPilutSolverMatrix(solver), &start, &end, &col0, &coln);
      |                                                                              ^~~~~
      |                                                                              |
      |                                                                              HYPRE_Int * {aka int *}
~/.phoronix-test-suite/installed-tests/pts/nekrs-1.1.0/nekRS-23.0/3rd_party/hypre/src/distributed_matrix/HYPRE_distributed_matrix_mv.h:38:170: note: expected ‘HYPRE_BigInt *’ {aka ‘long long int *’} but argument is of type ‘HYPRE_Int *’ {aka ‘int *’}
   38 | HYPRE_Int HYPRE_DistributedMatrixGetLocalRange (HYPRE_DistributedMatrix matrix , HYPRE_BigInt *row_start , HYPRE_BigInt *row_end, HYPRE_BigInt *col_start, HYPRE_BigInt *col_end );
[...]

I submitted issue upstream Nek5000/nekRS#677

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions