Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] newbie on (single) laptop

I've decided to start from scratch on this little project.  Previously, I'd installed the Eclipse/C++ IDE (thinking that would be the logical approach for playing with PTP).  Now, I'm following the Release Notes for PTP 3.0 (http://wiki.eclipse.org/PTP/release_notes/3.0) and decided to follow the advice of  "We recommend Eclipse Classic".  So I removed my old Eclipse/C++ installation, removed my entire workspace associated with that installation, installed Eclipse Classic (SDK 3.5.1), start it up and it attempts to open all previous files I was editing (they appears in tabs across the top), but complains that it cannot open the editor - no editor descriptor for id org.eclipse.cdt.ui.editor.CEditor

My question is - and I realize it's off-topic for this PTP list, where/how is eclipse picking up my previous session, given that I deleted most of its brains?

I confess that I also have a previous version of Eclipse (3.4.2) installed, but it points to a different workspace.

thanks, Randy

On Sep 29, 2009, at 6:03 PM, Randy Heiland wrote:

AWESOME - thanks Greg!  I knew I probably wasn't parsing your previous email correctly.  Now I'm seeing what I hoped to see.  And now I can try to move on to something more realistic...

-Randy

On Sep 29, 2009, at 4:39 PM, Greg Watson wrote:

Hi Randy,

You need to do the following:

1. Select (or enter) the path to the application executable in the "Application program" field in the "Application" tab.

2. Select SDM from the dropdown on the debugger tab.

3. Enter "/bin/ls" (or the path the the sdm executable if you have it) in the "Path to debugger executable" field on the debugger tab.

At this point the Run button should be enabled. The program will only run when you click this button.

Note that in general you won't be able to run the application while you still have errors (little red X's) in the launch configuration.

Hope this helps,

Greg

 
On Sep 29, 2009, at 12:14 PM, Randy Heiland wrote:

Greg,

Thanks for the reply.  I'm still confused when you say I don't need SDM.  It seems that if I don't do *something* for the Debug panel, I can never enable the Run button.  Fwiw, I've decided to keep a running visual log of my approach here:

http://mypage.iu.edu/~heiland/ptp/

For the time being, I guess I'll go off and read about SDM.

-Randy


Message: 4
Date: Tue, 29 Sep 2009 10:13:52 -0500
From: Greg Watson <g.watson@xxxxxxxxxxxx>
Subject: Re: [ptp-user] newbie on (single) laptop
To: PTP User list <ptp-user@xxxxxxxxxxx>
Message-ID: <01CA06C0-956E-494D-9F8F-F0AA4C2EE9FE@xxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

Randy,

You don't need to install RDT. That is only required if you want to  
host your project (i.e. the source code) on a remote machine.

You don't need the SDM debugger to just run your application, however  
the launch configuration currently requires an executable before it  
will let you run the application. You can pick anything as long as  
it's an executable (e.g. /bin/ls). Instructions for building the SDM  
are in the release notes in case you actually want to use it.

You won't see anything in the machines view until you actually run the  
application (by clicking the run button on the launch configuration)  
and you can't do that while it's reporting an error. The above should  
get you going though.

Regards,
Greg

On Sep 29, 2009, at 6:40 AM, Randy Heiland wrote:

Hello,

I'm trying to install/test a simple PTP 'hello world' example just  
on my laptop, no client-server.  My environment is:

OSX (10.5)
Open MPI 1.3.3
Eclipse 3.5
  Version: 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ
  Build id: I20090611-1540
PTP Version: 3.0.0.200908291618


First naive question - do I need to install RDT in order to do this?

I've got to the point of creating a MPI  'hello world' C++ pgm and  
then try to follow the  "Test your installation" section in http://wiki.eclipse.org/PTP/release_notes/3.0

Second naive question - do I need the SDM debugger to be able to  
successfully setup my Run Configurations?  I'm not familiar with SDM  
and would welcome pointers.  I guess I never completely fill in the  
Run Configs panel due to the missing SDM (the Debugger tab remains  
"red-X'd") and therefore the "Run" button is never enabled - I can  
only Close the panel.  Even though I set # of procs=2 on the  
Resources tab (and then Close the panel), I never see 2 nodes appear  
in the "Machines" tab of the PTP Runtime perspective.

thanks for any help,
-Randy
_______________________________________________
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/20090929/514d28cd/attachment.html

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

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


End of ptp-user Digest, Vol 34, Issue 17
****************************************

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

<ATT00001.txt>

<ATT00001.txt>


Back to the top