Hi Ralph,

Yes, Eclipse is currently being actively developed. To my understanding
https://www.eclipse.org/ptp/
is also active. I did drop a question on Eclipse forum, but I got no
response. https://www.eclipse.org/forums/index.php/t/869298/

I am still looking for answers. Hopefully I will find an answer myself but
I still need hints from experienced ones. I am looking on a pages saying if
the source code exists I should add the code as the following page:

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fgetting_started%2Fcdt_w_import.htm

I am confused by things might be trivial for you. For instance,
Should I setup a MPI project or should I setup a normal C project? I have
this confusion because ompi project is itself a C project. If I setup a MPI
project, Eclipse will include its own tool chain. I am not quite sure if
there will be something funny prevented the debugging setup.

I will keep digging myself but I appreciate any help. I would be good if
anyone of you could give a little guide of how to setup debug environment
or even in pure terminal mode. Any link or documentation will also welcome.


List-Post: devel@lists.open-mpi.org
Date: Fri, 28 Nov 2014 08:08:37 -0800
> From: Ralph Castain <r...@open-mpi.org>
> To: Open MPI Developers <de...@open-mpi.org>
> Subject: Re: [OMPI devel] Setting up debug environment on Eclipse PTP
> Message-ID: <c0edb9f2-060b-47d5-a8d3-3a6d5a952...@open-mpi.org>
> Content-Type: text/plain; charset="utf-8"
>
> 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
> >
>

Reply via email to