Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Need help about setting up and debugging!

Hi Fabio,

How do you start up eclipse? You can try to start up eclipse on command line, then you can see ptp debug message on command line window. If possible, please send me a copy. Thanks.

Regards,
Clement

Fabio Meneghini wrote:
ok, thank you very much: I'm done with the Resource Manager. Successfully cvreated, following the instructions in the help!!! Now, I managed to set-up the running configuration, and tried it within the PTP Runtime Perspective, and it works, great! But, still I can't debug: seems weird, but as I start debugging (with 8 processors), I can rapidly see the eight blocks representing the processors (in the machine view) becoming green, then all suddenly stops, after one second. Actually I'm pretty good in parallel programming, but not THIS good! :-) I'm sure there is no mistake in the code, and the program itself, since when I run it, either from command line (mpirun, etc etc) , or from the Parallel Run command in eclipse, it does what it's supposed to. In the console windows no messages appears, where can I look for some error message occurred? Thanks again,
best
Fabio

2008/6/26 Beth Tibbitts <tibbitts@xxxxxxxxxx <mailto:tibbitts@xxxxxxxxxx>>:

    There is another walk-thru of the setup steps in a recent tutorial
    we gave.
    See the PTP tutorials page: http://wiki.eclipse.org/PTP/tutorials
    and get the slides from the TACC tutorial on May 16.




    ...Beth

    Beth Tibbitts (859) 243-4981 (TL 545-4981)
    High Productivity Tools / Parallel Tools http://eclipse.org/ptp
    IBM T.J.Watson Research Center
    Mailing Address: IBM Corp., 745 West New Circle Road, Lexington,
    KY 40511
    Inactive hide details for "Fabio Meneghini"
    <fab.meneghini@xxxxxxxxx>"Fabio Meneghini"
    <fab.meneghini@xxxxxxxxx <mailto:fab.meneghini@xxxxxxxxx>>


                            *"Fabio Meneghini"
                            <fab.meneghini@xxxxxxxxx
                            <mailto:fab.meneghini@xxxxxxxxx>>*
                            Sent by: ptp-user-bounces@xxxxxxxxxxx
                            <mailto:ptp-user-bounces@xxxxxxxxxxx>

                            06/26/08 01:19 PM

                            Please respond to
                            PTP User list <ptp-user@xxxxxxxxxxx
                            <mailto:ptp-user@xxxxxxxxxxx>>

    	

    	

    To
    	
    "PTP User list" <ptp-user@xxxxxxxxxxx <mailto:ptp-user@xxxxxxxxxxx>>

    cc
    	

    Subject
    	
    Re: [ptp-user] Need help about setting up and debugging!

    	

    	


    I just removed the eclipse ganymede, and installed the europa.
    Then the same procedure to install the PTP 2.0, with the same
    BUILD command. Again, the building seems to go ok: the binaries
    are created, BUT, again, whenever I try to set up a new parallel
    debug configuration, Eclipse complain about no Resource Manager
    selected, showing me an empty list of choices....
    I can't really figure out what's wrong....

    Fabio

    2008/6/26 Fabio Meneghini <_fab.meneghini@gmail.com_
    <mailto:fab.meneghini@xxxxxxxxx>>:

          yes, I can. mpirun and stuff work great. Now I'll try the
          versions of eclipse and cdt you suggested me.
          I'll get you informed.
          thanks,
          best
          fabio

          2008/6/26 Beth Tibbitts <_tibbitts@xxxxxx.com_
          <mailto:tibbitts@xxxxxxxxxx>>:
          >Are you asking me if the mpi tests from the command line
          run successfully?
          Yes, for example can you do mpicc and mpirun from the
          command line?
          The release notes at
          _http://wiki.eclipse.org/PTP/release_notes/2.0#Install_Open_MPI_
          cover this.
          Let us know how you fare.



          ...Beth

          Beth Tibbitts (859) 243-4981 (TL 545-4981)
          High Productivity Tools / Parallel Tools
          _http://eclipse.org/ptp_
          IBM T.J.Watson Research Center
          Mailing Address: IBM Corp., 745 West New Circle Road,
          Lexington, KY 40511
          Inactive hide details for "Fabio Meneghini"
          <fab.meneghini@xxxxxxxxx>"Fabio Meneghini"
          <_fab.meneghini@gmail.com_ <mailto:fab.meneghini@xxxxxxxxx>>

                                                          *"Fabio
                                                          Meneghini"
                                                          <**_fab.meneghini@gmail.com_*
                                                          <mailto:fab.meneghini@xxxxxxxxx>*>*

                                                          Sent by:
                                                          _ptp-user-bounces@eclipse.org_
                                                          <mailto:ptp-user-bounces@xxxxxxxxxxx>


                                                          06/26/08
                                                          10:53 AM

          Please respond to
          PTP User list <_ptp-user@eclipse.org_
          <mailto:ptp-user@xxxxxxxxxxx>>

          	
          	
          To
          	
          "PTP User list" <_ptp-user@eclipse.org_
          <mailto:ptp-user@xxxxxxxxxxx>>
          	
          cc
          	
          Subject
          	
          Re: [ptp-user] Need help about setting up and debugging!

    	


          Hi Beth
          Thank you very much for your quick, kind and clear reply!
          So it turns out it's a "versioning" problem, uh?
          ok, I'll follow your advices....just one question: what do
          you exactly mean with
          " Did you confirm that your MPI installation (e.g. OpenMPI)
          works from the command line first? "
          Are you asking me if the mpi tests from the command line run
          successfully?

          Thanks again,
          best
          Fabio Meneghini

          2008/6/26 Beth Tibbitts <_tibbitts@xxxxxx.com_
          <mailto:tibbitts@xxxxxxxxxx>>:
                      Hi Fabio,
                      Sorry you have having problems.
                      PTP 2.0 was built to run with Eclipse 3.3 - Hmmm
                      we need to make the pre-reqs more explicit - we
                      check that your release is 'new enough" but not
                      'too new" methinks. :)
                      PTP 2.1, targeted at around August, will work
                      with Eclipse 3.4 (Ganymede)

                      Try it with Eclipse 3.3 and CDT _4.0.3._
                      <http://4.0.0.3/>
                      Did you walk thru the release notes at
                      _http://wiki.eclipse.org/PTP/release_notes/2.0?_
                      Did you confirm that your MPI installation (e.g.
                      OpenMPI) works from the command line first?

                      Also, read the help in Eclipse Help > Help
                      Contents and click on PTP on the left navigation
                      area, it will walk you through the setup once
                      you launch eclipse.

                      Note that you have to configure at least one
                      "Resource Manager"
                      which can be as simple as OpenMPI/ORTE, doesn't
                      have to be a more complex scheduler.
                      A "local" resource manager means it (e.g.
                      OpenMPI) is on the same machine where your
                      Eclipse workbench (and PTP) are running.
                      A "remote" resource manager means it's on a
                      different machine.

                      ptp_orte_proxy is not meant to be run
                      stand-alone, it will be launched from PTP.



                      ...Beth

                      Beth Tibbitts (859) 243-4981 (TL 545-4981)
                      High Productivity Tools / Parallel Tools
                      _http://eclipse.org/ptp_
                      IBM T.J.Watson Research Center
                      Mailing Address: IBM Corp., 745 West New Circle
                      Road, Lexington, KY 40511
                      Inactive hide details for "Fabio Meneghini"
                      <fab.meneghini@xxxxxxxxx>"Fabio Meneghini"
                      <_fab.meneghini@gmail.com_
                      <mailto:fab.meneghini@xxxxxxxxx>>
                                                                                                          *"Fabio
                                                                                                          Meneghini"
                                                                                                          <**_fab.meneghini@gmail.com_*
                                                                                                          <mailto:fab.meneghini@xxxxxxxxx>*>*

                                                                                                          Sent
                                                                                                          by:
                                                                                                          _ptp-user-bounces@eclipse.org_
                                                                                                          <mailto:ptp-user-bounces@xxxxxxxxxxx>


                                                                                                          06/26/08
                                                                                                          09:27
                                                                                                          AM



          Please respond to
          PTP User list <_ptp-user@eclipse.org_
          <mailto:ptp-user@xxxxxxxxxxx>>

          	
          To
          	_
          __ptp-user@eclipse.org_ <mailto:ptp-user@xxxxxxxxxxx>
          cc
          	
          Subject
          	
          [ptp-user] Need help about setting up and debugging!

          	


                      Hi all,
                      I've just downloaded the latest version of
                      eclipse for c++ developer (3.4.0), and the PTP
                      2.0 correctly installed
                      Since my installation of openmpi isn't resident
                      in canonical folder (i.e. /usr/local ), I built
                      up all the ptp binaries stuff with the command:

                      CFLAGS=-I/opt/openmpi/include/
                      LDFLAGS="-L/opt/openmpi/lib
                      -Wl,-rpath,/opt/openmpi/lib" sh BUILD

                      compilation, linking and installation seem to be
                      accomplished. No errors or problems.
                      So the binaries are actually in the right
                      folder. Then I tried to parallel debug a program
                      of mine. No way, because the debug configuration
                      stucks me with the remark: "No Resource Manager
                      has been selected". Infact, there is no resource
                      manager available in the list.
                      I do not use any external, thirdy party,
                      Resource Manager, like IBM's or something. And I
                      actually don't even understand if I need one,
                      since I didn't realize what you mean with the
                      expression:
                      " If you don't intend to run parallel
                      applications locally, there is no need to
                      install any resource managers ".
                      I'm supposed to run and debug parallel
                      applications locally, since I use to locally
                      access the cluster frontend, so am I supposed to
                      use a "Resource Manager", or whatever? and if
                      so, may I use the ptp_orte_proxy as a "Resource
                      Manager"? .....or what?
                      BTW, I suspect there is something wrong with the
                      ptp_orte_proxy, because when I try to execute
                      from a terminal, it results in " proxy
                      connection failed"
                      I know I could sound something sick, but I'm
                      really frustrated by this problem...all I am
                      trying to do, from weeks ago, is simply
                      debugging my parallels programs...but I can't
                      managed yet.
                      Can anybody help me, please?
                      _______________________________________________
                      ptp-user mailing list_
                      __ptp-user@eclipse.org_
                      <mailto:ptp-user@xxxxxxxxxxx>_
                      __https://dev.eclipse.org/mailman/listinfo/ptp-user_


                      _______________________________________________
                      ptp-user mailing list_
                      __ptp-user@eclipse.org_
                      <mailto:ptp-user@xxxxxxxxxxx>_
                      __https://dev.eclipse.org/mailman/listinfo/ptp-user_
          _______________________________________________
          ptp-user mailing list_
          __ptp-user@eclipse.org_ <mailto:ptp-user@xxxxxxxxxxx>_
          __https://dev.eclipse.org/mailman/listinfo/ptp-user_


          _______________________________________________
          ptp-user mailing list_
          __ptp-user@eclipse.org_ <mailto:ptp-user@xxxxxxxxxxx>_
          __https://dev.eclipse.org/mailman/listinfo/ptp-user_

    _______________________________________________
    ptp-user mailing list
    ptp-user@xxxxxxxxxxx <mailto:ptp-user@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/ptp-user


    _______________________________________________
    ptp-user mailing list
    ptp-user@xxxxxxxxxxx <mailto:ptp-user@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/ptp-user


------------------------------------------------------------------------

_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


--
Clement Kam Man Chu
Research Fellow
Faculty of Information Technology
Monash University, Caulfield Campus
Ph: 61 3 9903 2355



Back to the top