Round 2 of my learning curve. After reinstalling Eclipse (classic) and all deps for C++ and PTP, I see a new warning(?) icon show up in the PTP Machines panel and am wondering why: http://mypage.iu.edu/~heiland/ptp/
thanks, Randy On Oct 1, 2009, at 8:20 AM, Greg Watson wrote: Randy,
You can also see the output by clicking on one of the process icons for the job. These are visible by selecting one of the nodes that the job is running on, or by selecting the job in the jobs view.
Unfortunately the Run Configurations dialog is modal, so you can't do anything else while it is being displayed. Eclipse was designed for running sequential programs, so no one thought the feature you describe might be a good idea.
Greg On Sep 29, 2009, at 5:18 PM, Randy Heiland wrote: Just to add to this thread - for future newbies. I discovered that I also had to check the "Display combined output in a console view" on the Application tab of the Run Configs window in order to see any output.
Comment: it seems odd that the Run Configs window goes away whenever one clicks the Run button. For repeated runs, changing # procs or whatever, it would be convenient to just leave it up.
-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
|