Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] SDM seems unable to start GDB

Hi Greg,

I tried it again with a freshly installed eclipse 3.4.2 with PTP 2.1.3 and 
OpenMPI 1.3.1 with the same results.
ps -ef | grep sdm output is:
ck       13507 12778  0 14:55 pts/2    00:00:00 
/home/ck/libraries/Intel/openmpi/bin/mpirun -mca orte_show_resolved_nodenames 
1 -xml -display-map -np 4 -host localhost -x OMP_NUM_THREADS 
/home/ck/eclipse/eclipse-
c++/plugins/org.eclipse.ptp.debug.sdm_2.1.3.200906200852/sdm --port=34218 --
host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb   
ck       13532 13531  0 14:55 ?        00:00:00 /home/ck/eclipse/eclipse-
c++/plugins/org.eclipse.ptp.debug.sdm_2.1.3.200906200852/sdm --port=34218 --
host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb                                                      
ck       13536 13531  0 14:55 ?        00:00:00 /home/ck/eclipse/eclipse-
c++/plugins/org.eclipse.ptp.debug.sdm_2.1.3.200906200852/sdm --port=34218 --
host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb
ck       13539 13531  0 14:55 ?        00:00:00 /home/ck/eclipse/eclipse-
c++/plugins/org.eclipse.ptp.debug.sdm_2.1.3.200906200852/sdm --port=34218 --
host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb
ck       13541 13531  0 14:55 ?        00:00:00 /home/ck/eclipse/eclipse-
c++/plugins/org.eclipse.ptp.debug.sdm_2.1.3.200906200852/sdm --port=34218 --
host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb

So sdm is started four times, but no gdb instances or instances of the MPI 
programm are running. When I manually start sdm in a shell with :
/home/ck/libraries/Intel/openmpi/bin/mpirun -mca orte_show_resolved_nodenames 
1 -xml -display-map -np 4 -host localhost -x OMP_NUM_THREADS 
/home/ck/eclipse/eclipse-
c++/plugins/org.eclipse.ptp.debug.sdm_2.1.3.200906200852/sdm --port=34218 --
host=localhost --debugger=gdb-mi --debugger_path=/usr/bin/gdb
I get the following output:
<map>
        <host name="ralroost" slots="1" max_slots="0">
                <noderesolve resolved="localhost"/>
                <process rank="0"/>
                <process rank="1"/>
                <process rank="2"/>
                <process rank="3"/>
        </host>
</map>

What I don't understand is why the actual command line for the MPI program is 
nowhere to be seen. Adding it to the end of the sdm command line has no effect, 
although the same command line without the sdm part runs the mpi job just fine. 
How does eclipse actually tell sdm which program to run with what parameters 
(of course I have entered the binary and parameters in the debug 
configuration)?
Regards

Christoph


Back to the top