Skip to content

Could not open /proc/0/status with cuda-gdb #4

@eduardz1

Description

@eduardz1

When trying to execute a program with cuda-gdb

 mpigdb --mpigdb_gdb cuda-gdb  --mpigdb_gdbserver cuda-gdbserver -np 1 -- ../../build/cuda-dev/code/app/forward_waveform_acoustic_isotropic_hdg.out  parameter=par.mesh25k

I get an error right after continuing the debugger

Process ../../build/cuda-dev/code/app/forward_waveform_acoustic_isotropic_hdg.out created; pid = 1653056
Listening on port 8001
NVIDIA (R) cuda-gdb 12.9
Portions Copyright (C) 2007-2025 NVIDIA Corporation
Based on GNU gdb 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This CUDA-GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://forums.developer.nvidia.com/c/developer-tools/cuda-developer-tools/cuda-gdb>.
Find the CUDA-GDB manual and other documentation resources online at:
    <https://docs.nvidia.com/cuda/cuda-gdb/index.html>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Remote debugging from host 127.0.0.1, port 47864
Reading symbols from /home/eduard/Github/hawen_worktree/arborescence-compil/build/cuda-dev/code/app/forward_waveform_acoustic_isotropic_hdg.out...

Program stopped.
0x00007ffff7fe2740 in ?? () from /lib64/ld-linux-x86-64.so.2
(cuda-gdb) c
Continuing.
Could not open /proc/0/status: No such file or directory(2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions