[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-dev] About sdm and mpi jobs
|
Hi,
Integration with resource mangers is something we're working on right
now, but is not currently available in PTP. At the moment, you have
to do the allocation request manually before you launch the job
(possibly even before you launch Eclipse if environment variables are
used.)
In any case, the allocation you need to make for debugging an MPI job
with the SDM will depend on your resource management system. The SDM
itself requires an allocation of n+1 processes (where n is the number
of processes in the job being debugged). It will then fork/exec n
copies of gdb (one per process being debugged) and n copies of the
program being debugged. If your resource manager somehow manages the
allocation of forked processes, you may potentially need to request
an allocation of 3n+1 processes to debug the job. The usual way to
deal with this would be to provide a debug or interactive queue that
these types of jobs can be submitted to.
Threading support has been in gdb for a while, but I'm not sure if it
was available before version 6. Also, it depends on threading support
being available on your machine architecture and operating system.
What version of gdb to do you have (gdb -v), and what type of system
is it?
Regards,
Greg
On May 23, 2006, at 9:11 AM, yang ke wrote:
Hi,all.
I notice that sdm is implemented as an MPI program. I am curious
about its art. If I launch an MPI application under sdm control
using a resource management system like slurm, how can two MPI
jobs be mapped onto the same nodes( I mean sdm servers and
corrisponding application tasks )?
Also, the newly developed MIThreadCommand.c contains some thread
related functions, but I wrote a small test program and found my
gdb seemed not support "-thread-info" gdb-mi command . Do I have
to upgrade gdb to a higher version? which version? Or do I have to
write some scripts for gdb initializing( Say, .initgdb)? Thanks
very much.
Blab-away for as little as 1ยข/min. Make PC-to-Phone Calls using
Yahoo! Messenger with Voice.
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev