How to debug MPI.jl in Vscode

Viewed 29

MPI.jl is a Julia wrapper for MPI.

Here is my launcher file in Vscode

{
    "version": "0.2.0",
    "configurations": [

        {
            "type": "julia",
            "request": "launch",
            "name": "Run active Julia file",
            "program": "${file}",
            "stopOnEntry": false,
            "cwd": "${workspaceFolder}",
            "juliaEnv": "${command:activeJuliaEnvironment}",
        }
    ]
}

The problem is that the program requires 2 MPI processes to run, but when I start with debugger then only one process is started and the program fails.

How to debug the program using mpiexecjl?

0 Answers
Related