Recently I am learning the tools for C/C++ programming with MPI. My plan is to use Eclipse to develop the program and to debug. To compile MPI program under Eclipse, the PTP (Parallel Tools Platform) is needed. Besides, to run the program under Eclipse, the Resource Manager must be configured, which can be achieved by following the procedure in this link. (I use MPICH2, which needs mpd). SDM for PTPTo debug MPI program with Eclipse+PTP, SDM is needed. However, the SDM is not with the PTP when installed in Eclipse. Instead, SDM is with PTP Proxy. Once the source for PTP Proxy has been downloaded, there should be a folder org.eclipse.ptp.<os>.<arch>_<ver>. Cd to that folder and run sh BUILD to build sdm, which will be in the folder org.eclipse.ptp.<os>.<arch>_<ver>/bin. Remote Run/Debug MPI Program under EclipseThe next step is to run & debug MPI program remotely. Earlier I used Helios w/ RSE but they cannot work. However, now I used Remote Tool other than RSE, which makes it work. The setting is almost the same except that the paths are on the remote machine. |
Memo-migrated >