小编Bri*_*any的帖子

使用 GDB 远程调试 MPI

我正在尝试从 pi 的远程访问组中调试我使用 MPI 编写的代码。我无法直接访问 Pi 以便能够使用 GUI 来调试代码。

我已经尝试过使用此问题中显示的类似屏幕,但每当我尝试使用屏幕时,我都会收到以下消息:

There are not enough slots available in the system to satisfy the 2 slots
that were requested by the application:
  screen

Either request fewer slots for your application, or make more slots available
for use.
Run Code Online (Sandbox Code Playgroud)

如果我尝试告诉它只使用 1 个屏幕,mpiexec 会失败

mpiexec -N 16 --host 10.0.0.3 -np 1 screen -oversubscribe batSRTest3 shortpass.bat
--------------------------------------------------------------------------
mpiexec was unable to find the specified executable file, and therefore
did not launch the job.  This error …
Run Code Online (Sandbox Code Playgroud)

c debugging gdb mpi raspberry-pi

2
推荐指数
1
解决办法
2762
查看次数

标签 统计

c ×1

debugging ×1

gdb ×1

mpi ×1

raspberry-pi ×1