I’m not sure we have any developers using PTP - have you tried asking this 
question on the PTP mailing list, assuming that project still exists?


> On Nov 27, 2014, at 7:38 PM, Alvyn Liang <alvyn.li...@gmail.com> wrote:
> 
> Dear all,
> 
> I am trying to learn how Open MPI works. Followed many instructions on Web, I 
> tried to setup MPI Hello projects on Eclipse PTP. I am wondering if there is 
> any protocol to setup such an environment.
> 
> I did try a few combination, but still stuck at the point where sometimes 
> there are:
> 1. little bugs symbol showing on the left panel (next to the line numbers) 
> while debugging. Things like "Symbol 'ompi_mpi_finalized' could not be 
> resolved". I think this is due to environmental variables or paths not being 
> set correctly, but I don't know what I have missed.
> 2. Cannot toggle breakpoints or toggled breakpoints being set on a relative 
> file path. This makes the threads not stopping at the breakpoints.
> 
> My environment is CentOS 6.6 running on a machine with 32GB memory, and Intel 
> i7-3770. Since I am still experimenting on local debugging, I am debugging on 
> Generic Open MPI Interactive with connection type local or remotely to 
> 127.0.0.1, and with only a few processes. Detailed Eclipse installation 
> configuration attached.
> 
> My Open MPI is configured as
> ../configure --enable-debug --enable-event-debug --enable-mem-debug 
> --enable-mem-profile
> The compiler is GNU C compiler.
> 
> This gives a lot of information in the console while debugging but not very 
> useful. I am not sure if I should run 'make install' for Open MPI to /usr, or 
> simply set Open MPI source tree as part of the project, or both. Open MPI has 
> examples folder but I don't know how to use the code directly as my source 
> code. For now I can step into source code of Open MPI, but sometimes I cannot 
> toggle breakpoints. Attached is my current debug configuration.
> 
> Good day,
> 
> Alvyn
> 
> A screen shot:
> https://www.dropbox.com/s/s105m2qgi14oj2y/Screenshot-Parallel%20Debug%20-%20ompitest-build-ompi-mpi-c-profile-pinit.c%20-%20Eclipse%20.png?dl=0
>  
> <https://www.dropbox.com/s/s105m2qgi14oj2y/Screenshot-Parallel%20Debug%20-%20ompitest-build-ompi-mpi-c-profile-pinit.c%20-%20Eclipse%20.png?dl=0>
> Eclipse configuration:
> https://www.dropbox.com/s/5fnrqyga842w0e0/eclipse.conf?dl=0 
> <https://www.dropbox.com/s/5fnrqyga842w0e0/eclipse.conf?dl=0>
> 
> <debug.conf>_______________________________________________
> devel mailing list
> de...@open-mpi.org
> Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel
> Link to this post: 
> http://www.open-mpi.org/community/lists/devel/2014/11/16370.php

Reply via email to