Hi Thomas,
Thank you for the interest to Intel products.
The command line looks very strange. It should look like:
"xterm -e idb -pid <pid_of_mpiexec> -mpi2 -parallel /usr/bin/python"
Also you should set environment variables:
IDB_HOME=<where_idb_is_located>
LD_LIBRARY_PATH=<where_idb_libraries_are_located>
IDB_PARALLEL_SHELL=<full_path_to_ssh> - you don't need this var if you use rsh connection.
Probably, MPIEXEC_DEBUG=1
I hope this helps.
Best wishes,
Dmitry
Hi Dmitry,
I finally got to trying that out, but setting the IDB_PARALLEL_SHELL and MPIEXEC_DEBUG as you said made things hang. When I have only IDB_HOME and LD_LIBRARY_PATH set, I can somehow start the debugger and it seems to try to attach somehow to the process (although I don't understand why the last argument is the python executable and not the actual program executable), but then it says:
Intel(R) Debugger for applications running on IA-32, Version 9.1-28, Build 20070305
Reading symbolic information from /opt/rocks/bin/python2.4...No debugging symbols found
Attached to process id 27609 ....
stopped at [<opaque> _dl_sysinfo_int80(...) 0x008ca7a2]
Symbol "MPIR_being_debugged" is not defined.
Symbol "MPIR_Breakpoint" is not defined.
Symbol "MPIR_Breakpoint" is not defined.
::MPIR_Breakpoint has no valid breakpoint address
Make breakpoint pending on future shared library load? (y or [n])
Warning: Breakpoint not set
and hangs, no matter whether I have chosen y or n in the breakpoint question.
So, as that failed, I was prompted to look back into my MPICH installation again and notice that for some reason, it says in the configure log:
configure: WARNING: unrecognized options: --enable-debuginfo
although according to the installation guide, this is the option I should give to "provide access to the message queues for debuggers". In the configure log, it also says later:
checking debugging support... no
although I'm not sure whether that refers to this kind of debugging or rather to the debugging options for MPICH2 developpers themselves (which would not be of interest for me).
So basically, I'm rather confused about the error messages and wonder if I have to build MPICH2 in a different way to make the Intel debugger work (and if so, how).
May the problem lie here already, and how do you build MPICH2 then?
Thomas