Skip to content

Cannot build / Cannot run #2

@YfLi03

Description

@YfLi03

I was trying to reproduce some figures from the SC24 article.

When I tried to compile from this repo, I ran into the following error and failed to compile:

test_new.c:11:10: fatal error: HYPRE_krylov.h: No such file or directory
   11 | #include "HYPRE_krylov.h"

When I switched to the artefact (https://zenodo.org/doi/10.5281/zenodo.12581721), I successfully build it. However, when I try to execute the binaries, I ran into the following error:

begin assemble A
assemble A finish
terminate called after throwing an instance of 'thrust::THRUST_200500_900_NS::system::system_error'
  what():  after reduction step 1: cudaErrorInvalidDevice: invalid device ordinal
*** Process received signal ***
Signal: Aborted (6)
Signal code:  (-6)
[ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f8bcd5ed520]
[ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f8bcd6419fc]
[ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f8bcd5ed476]
[ 3] /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f8bcd5d37f3]
[ 4] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xa2b9e)[0x7f8bcd876b9e]
[ 5] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xae20c)[0x7f8bcd88220c]
[ 6] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xae277)[0x7f8bcd882277]
[ 7] /lib/x86_64-linux-gnu/libstdc++.so.6(+0xae4d8)[0x7f8bcd8824d8]
[ 8] ./hypre_test/runnable_files/No_Mixed_PrintKernel(+0xcb46)[0x55f402273b46]
[ 9] ./hypre_test/runnable_files/No_Mixed_PrintKernel(+0x38817)[0x55f40229f817]
[10] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f8bcd5d4d90]
[11] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f8bcd5d4e40]
[12] ./hypre_test/runnable_files/No_Mixed_PrintKernel(+0x333d5)[0x55f40229a3d5]
*** End of error message ***

I'm using H100, with cuda_12.6, gcc 11.4.0, Ubuntu (linux 5.15.0)

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