For eclipse there is an extension available to set debug configurations for MPJExpress. How I can debug an application locally in IntelliJ IDEA. I've tried to set up debugging using vm options in run/debug configurations. With this configuration I get message given below and breakpoint does not get a hit.
MPJ Express (0.44) is started in the multicore configuration
Listening for transport dt_socket at address: 8001
vm options are
-jar $MPJ_HOME$\lib\starter.jar com.owiSoft.Lab6.HelloMPJ -np 4 -device niodev -debug 8001
I was able to debug this MPJExpress application by modifying vm optios from
-jar $MPJ_HOME$\lib\starter.jar com.owiSoft.Lab6.HelloMPJ -np 4 -device niodev -debug 8001
to
-jar $MPJ_HOME$\lib\starter.jar com.owiSoft.Lab6.HelloMPJ -np 4 -debug 8000
And added another Remote configuration from Run/Debug Configurations menu
Then started Main configuration, kept it running and switched to RemoteDebugger
configuration and started it. Following these steps breakpoint got a hit