Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] SDM and synchronized projects (and poe)

Hi,

my synchronized setup looks like this -
local: Linux Ubuntu 64-bit + OpenMPI + GNU compiler
remote: RedHat Linux 64-bit + IBM PE + Intel compiler

parallel debugging with SDM on the local host works fine, at least it stops at 
a given break point and I can single step through the code.

If I try to do the same remotely, strange things happen.
1. The parallel debug view stays all greyed out, except for a single number - 
which happens to be the process ID of the POE process.
2. The debug window shows the POE process and one MPI rank suspended at the 
correct break point - but poe was started with 4 MPI ranks on the same node.
3. The source code view shows one tab with the correct source code hello_par.c 
marking the line 11 with the break point in green - and one tab with header
"1 main() hello_par.c:11 400803"
and window contents "source not found"

All processes with "hello" on this node are the following.
pospiech@i06n132:~$ ps -ef | grep hello
pospiech  7234  6384  0 16:32 pts/60   00:00:00 grep hello
pospiech 15266 25198  0 16:27 ?        00:00:00 /bin/bash -l -c echo "PID=$$ 
PIID=37" > /dev/pts/15; export "MP_CSS_INTERRUPT=no"; export 
"MP_RC_USE_LMC=no"; export "MP_LABELIO=no"; export "MP_PROCS=4"; export 
"MP_DBG_LAUNCH=no"; export "PTP_DEBUGGER_ID=org.eclipse.ptp.debug.sdm"; export 
"MP_STDINMODE=none"; export "MP_SHARED_MEMORY=yes"; export 
"MP_PE_AFFINITY=yes"; export "TEST_ENV_VAR=something"; export 
"PTP_LAUNCH_MODE=debug"; export "MP_BINDPROC=no"; export 
"MP_HINTS_FILTERED=no"; export 
"PTP_APP_EXEC_PATH=/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par"; 
export "MP_IO_ERRLOG=no"; export "MP_RESD=no"; export "MP_CC_SCRATCH_BUF=yes"; 
export "MP_FORCED_INTERRUPTS_ENABLED=no"; export "MP_PMDLOG=no"; export 
"MP_LOCKLESS=no"; export "MP_STDOUTMODE=unordered"; export 
"MP_SHMEM_PT2PT=yes"; export "MP_DBG_TASKINFO=yes"; export 
"MP_HOSTFILE=/gpfs/fs1/scratch/pospiech/host.list"; export 
"MP_USE_BULK_XFER=no"; export "MP_TASK_AFFINITY=core"; export 
"MP_PRIORITY_LOG=no"; export "MP_EUIDEVICE=sn_all"; export "MP_USE_MC=no"; 
export "MP_DEBUG_ATTACH=yes"; cd 
/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64 && 
perl /u/pospiech/.eclipsesettings/rms/PE/run_pe_app.pl 
/u/pospiech/sdm/org.eclipse.ptp.linux_7.0.1.201307022330/os/linux/x86_64/sdm 
--port\=40692 --host\=localhost --debugger\=gdb-mi
pospiech 15400 15399  0 16:27 ?        00:00:00 /usr/bin/poe 
/u/pospiech/sdm/org.eclipse.ptp.linux_7.0.1.201307022330/os/linux/x86_64/sdm 
--port=40692 --host=localhost --debugger=gdb-mi --
routing_file=/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/route.15399
pospiech 15420 15405  0 16:27 ?        00:00:00 
/u/pospiech/sdm/org.eclipse.ptp.linux_7.0.1.201307022330/os/linux/x86_64/sdm 
--port=40692 --host=localhost --debugger=gdb-mi --
routing_file=/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/route.15399
pospiech 15421 15405  0 16:27 ?        00:00:00 
/u/pospiech/sdm/org.eclipse.ptp.linux_7.0.1.201307022330/os/linux/x86_64/sdm 
--port=40692 --host=localhost --debugger=gdb-mi --
routing_file=/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/route.15399
pospiech 15422 15405  0 16:27 ?        00:00:00 
/u/pospiech/sdm/org.eclipse.ptp.linux_7.0.1.201307022330/os/linux/x86_64/sdm 
--port=40692 --host=localhost --debugger=gdb-mi --
routing_file=/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/route.15399
pospiech 15423 15405  0 16:27 ?        00:00:00 
/u/pospiech/sdm/org.eclipse.ptp.linux_7.0.1.201307022330/os/linux/x86_64/sdm 
--port=40692 --host=localhost --debugger=gdb-mi --
routing_file=/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/route.15399
pospiech 15447 15399  0 16:27 ?        00:00:00 
/u/pospiech/sdm/org.eclipse.ptp.linux_7.0.1.201307022330/os/linux/x86_64/sdm 
--master --port=40692 --host=localhost --debugger=gdb-mi --
routing_file=/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/route.15399
pospiech 15822 15420  0 16:27 ?        00:00:00 gdb -q -tty /dev/pts/6 -i mi 
/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par
pospiech 15823 15421  0 16:27 ?        00:00:00 gdb -q -tty /dev/pts/54 -i mi 
/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par
pospiech 15824 15423  0 16:27 ?        00:00:00 gdb -q -tty /dev/pts/58 -i mi 
/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par
pospiech 15828 15422  0 16:27 ?        00:00:00 gdb -q -tty /dev/pts/59 -i mi 
/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par
pospiech 15930 15822  0 16:27 pts/6    00:00:00 
/gpfs/fs1/scratch/pospiech/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par

Anyone any idea what is going wrong here ?
-- 

Mit freundlichen Grüßen / Kind regards

Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: christoph.pospiech@xxxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter 
Scholz, Gregor Pillen, Joachim Heel, Christian Noll
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
14562 / WEEE-Reg.-Nr. DE 99369940 



Back to the top