I explain how you can debug a parallel MPI program with visual studio (vs) code. I run it on Linux Ubuntu. For this, you need g++, gdb, mpic++, and mpirun available on the operating system.
Find the files I used and more information in the below post:
https://iamsorush.com/posts/debug-mpi-vs-code/
To get rid of Linux asking for Superuser password try below terminal command
echo 0| sudo tee /proc/sys/kernel/yama/ptrace_scope
Download
0 formats
No download links available.
Debug a Parallel MPI program in Visual Studio Code | NatokHD