Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] About debugging with PTP

Yes you have to build sdm for your platform.
See the section in the release notes:
http://wiki.eclipse.org/PTP/release_notes/5.0#Install_optional_PTP_server_components
Basically, download the ptp-proxy-xxx.zip file, unzip, cd to proxy directory and do 'sh BUILD'
Then, the 'sdm' executable is what you point to in the debug launch configuration dialog.

Also, I suggest upgrading to 5.0.4, there are some bug fixes that you might need/want.
Assuming you installed from the parallel package ("Eclipse IDE for Parallel Application Developers")
See http://wiki.eclipse.org/PTP/release_notes/5.0#Updating_from_the_Parallel_Package_to_a_more_recent_release



...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive hide details for Zhongmiao Li ---11/20/2011 12:47:51 PM---Thanks. I'm now running all the processes on one local machiZhongmiao Li ---11/20/2011 12:47:51 PM---Thanks. I'm now running all the processes on one local machine. PTP version is  5.0.2.2. What do you


    From:

Zhongmiao Li <mars.leezm@xxxxxxxxx>

    To:

ptp-user@xxxxxxxxxxx

    Date:

11/20/2011 12:47 PM

    Subject:

Re: [ptp-user] ptp-user Digest, Vol 60, Issue 8

    Sent by:

ptp-user-bounces@xxxxxxxxxxx




Thanks. I'm now running all the processes on one local machine. PTP version is  5.0.2.2. What do you mean by "build SDM"? I just followed the instruction and choose SDM as the debugger in configuration.

On Sun, Nov 20, 2011 at 5:00 PM, <ptp-user-request@xxxxxxxxxxx> wrote:
    Send ptp-user mailing list submissions to
           
    ptp-user@xxxxxxxxxxx

    To subscribe or unsubscribe via the World Wide Web, visit
           
    https://dev.eclipse.org/mailman/listinfo/ptp-user
    or, via email, send a message with subject or body 'help' to
           
    ptp-user-request@xxxxxxxxxxx

    You can reach the person managing the list at
           
    ptp-user-owner@xxxxxxxxxxx

    When replying, please edit your Subject line so it is more specific
    than "Re: Contents of ptp-user digest..."


    Today's Topics:

      1. About debugging with PTP (Zhongmiao Li)
      2. Re: About debugging with PTP (Beth Tibbitts)


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

    Message: 1
    Date: Sun, 20 Nov 2011 00:52:37 +0000
    From: Zhongmiao Li <
    mars.leezm@xxxxxxxxx>
    To:
    ptp-user@xxxxxxxxxxx
    Subject: [ptp-user] About debugging with PTP
    Message-ID:
           <
    CAMAmQLBEEpD0W7hkCD6ZbBvSi9jyTitXwN-tGszm4-wjRk1Qqw@xxxxxxxxxxxxxx>
    Content-Type: text/plain; charset="iso-8859-1"

    Dear all,
    I'm using PTP to debug my Open MPI program. However, even I already set
    global parallel break points, my program will just finish execution
    ignoring the break point. I'm sure that my resource manager is running and
    I have selected SDM as my Debugger. And there are some strange message
    output.

    First, there will be a messagebox with a progress bar saying "Writing
    routing file", but it will halt there and the progress bar never go further.
    Then, a messagbox quickly jumps out showing "Master SDM Control has
    encountered a problem. SDM Master process finished with exit code -1",
    which as I think means that the program has finished execution.
    At last the progress bar still has no progress, I have to click cancle
    button on it to close it. Then there will be a message box again, telling
    "Error Completing debug job launch. Reason: Cannot connect to debugger".
    Above are alll the strange messages.

    Can any one help me? Thank you very much!

    --
    Best regards
    Li Zhongmiao
    Distributed Computing
    Institute Superior Tecnico, Lisbon, Portugal
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <
    https://dev.eclipse.org/mailman/private/ptp-user/attachments/20111120/1e517415/attachment.htm>

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

    Message: 2
    Date: Sat, 19 Nov 2011 22:19:15 -0500
    From: Beth Tibbitts <
    tibbitts@xxxxxxxxxx>
    To: PTP User list <
    ptp-user@xxxxxxxxxxx>
    Subject: Re: [ptp-user] About debugging with PTP
    Message-ID:
           <
    OF0BCAB6B5.9FC68A92-ON8525794E.0011E3AF-8525794E.00123DB9@xxxxxxxxxx>
    Content-Type: text/plain; charset="iso-8859-1"


    Is your OpenMPI local or remote? (Same machine as eclipse, or do you have a
    local or synchronized project with a remote machine?)
    Did you build sdm on the machine on which OpenMPI is installed?
    Which version of PTP do you have installed?

    If you have a remote target, does ssh work?
    See
    http://wiki.eclipse.org/PTP/release_notes/5.0#Debugger


    ...Beth

    Beth Tibbitts
    Eclipse Parallel Tools Platform  
    http://eclipse.org/ptp
    IBM STG - High Performance Computing Tools
    Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


    |------------>
    | From:      |
    |------------>
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
     |Zhongmiao Li <
    mars.leezm@xxxxxxxxx>                                                                                                               |
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
    |------------>
    | To:        |
    |------------>
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
     |
    ptp-user@xxxxxxxxxxx                                                                                                                              |
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
    |------------>
    | Date:      |
    |------------>
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
     |11/19/2011 07:52 PM                                                                                                                               |
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
    |------------>
    | Subject:   |
    |------------>
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
     |[ptp-user] About debugging with PTP                                                                                                               |
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
    |------------>
    | Sent by:   |
    |------------>
     >--------------------------------------------------------------------------------------------------------------------------------------------------|
     |
    ptp-user-bounces@xxxxxxxxxxx                                                                                                                      |
     >--------------------------------------------------------------------------------------------------------------------------------------------------|





    Dear all,
    I'm using PTP to debug my Open MPI program. However, even I already set
    global parallel break points, my program will just finish execution
    ignoring the break point. I'm sure that my resource manager is running and
    I have selected SDM as my Debugger. And?there are some strange message
    output.

    First, there will be a messagebox with a progress bar saying "Writing
    routing file", but it will halt there and the progress bar never go
    further.
    Then, a messagbox quickly jumps out showing "Master SDM Control has
    encountered a problem. SDM Master process finished with exit code -1",
    which as I think means that the program has finished execution.
    At last the progress bar still has no progress, I have to click cancle
    button on it to close it. Then there will be a message box again, telling
    "Error Completing debug job launch. Reason: Cannot connect to debugger".
    Above are alll the strange messages.

    Can any one help me? Thank you very much!

    --
    Best regards
    Li Zhongmiao
    Distributed Computing
    Institute Superior Tecnico, Lisbon, Portugal
    _______________________________________________
    ptp-user mailing list

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

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: <
    https://dev.eclipse.org/mailman/private/ptp-user/attachments/20111119/16a60838/attachment.htm>
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: graycol.gif
    Type: image/gif
    Size: 105 bytes
    Desc: not available
    URL: <
    https://dev.eclipse.org/mailman/private/ptp-user/attachments/20111119/16a60838/attachment.gif>
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: ecblank.gif
    Type: image/gif
    Size: 45 bytes
    Desc: not available
    URL: <
    https://dev.eclipse.org/mailman/private/ptp-user/attachments/20111119/16a60838/attachment-0001.gif>

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

    _______________________________________________
    ptp-user mailing list

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


    End of ptp-user Digest, Vol 60, Issue 8
    ***************************************



--
Best regards
Li Zhongmiao
Distributed Computing

Institute Superior Tecnico, Lisbon, Portugal
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


GIF image

GIF image


Back to the top