Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Help: debugging two different programs in same comm group

Simon,

Create an OpenMPI resource manager (in PTP) and start it. Make sure that it shows green. Then you can try running one of the programs by creating a launch configuration that specifies Prog1 as the application program and '1' for the number of processes. See if it launches ok. You could then try creating another launch configuration for Prog2. If they both work, then you could try a debug launch rather than a normal launch.

Regards,
Greg

On Aug 23, 2010, at 3:57 PM, Simon Earthrowl wrote:

> Hi Greg,
> I have two managers (I think)
> 1. lam-i386
> 2. openmpi-1.4-gcc-i386
> And PTP seems to use openmpi (default preference).
> However, not having set any other preference, and mpi-selector-menu suggests that I have neither set a system preference, or user preference set;
> I'm not sure what is being used. I just run 'mpirun --app appFile' - and it works.
> 
> BTW I haven't been able to run from within PTP, I'm just using the command line.
> 
> Is there any further output that would be useful to identify my environment?
> 
> Kind regards
> 
> Simon
> 
> On 23/08/10 20:26, Greg Watson wrote:
>> Hi Simon,
>> 
>> We haven't had this use case before, so it may not work. I'll need to take a look at the resource manager and debugger to see if they can deal with this situation.
>> 
>> Are you able to run the application (without debugging)? What resource manager are you using?
>> 
>> One thing you might be able to do is run two debug sessions, one for the first app, and one for the second. Although not ideal, it might still let you debug the app.
>> 
>> Cheers,
>> Greg
>> 
>> On Aug 23, 2010, at 2:29 PM, Simon Earthrowl wrote:
>> 
>>> 
>>> Hello all,
>>> Please excuse what I suspect is a Newbie question; but it it possible to uses PTP 4 to debug two different programs running in the same comm group?
>>> 
>>> What I'm trying to do is debug what I run using mpirun -app appFile (see below).
>>> However, I can't seem to be able to configure debug options to get SDM to do it's job.
>>> 
>>> I appear to be needing some cleverness - or told that it isn't designed to work that way....
>>> 
>>> Kind regards
>>> 
>>> Simon
>>> 
>>> appFile:
>>> -np 1 Prog1
>>> -np 1 Prog2
>>> 
>>> _______________________________________________
>>> ptp-user mailing list
>>> 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
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top