When I try to open the debugger of ICS 2011 using the command
mpiexec -idb -genv MPIEXEC_DEBUG 1 -n 2 -host dragon ./vat_2d_69_debug
I got the following warning message:
mpiexec:1219: RuntimeWarning: Python C API version mismatch for module mtv: This Python has API version 1013, module mtv has version 1012.
followed by the message
and then the debugger hangs, not opening the gui or returning the command line prompt. The installed version of Python is 2.6.5-3.3.1-x86_64. Any help will be appreciated.
Dmitry Kuzmin (Intel) wrote:
Looks like Python has got new API version. It means that either mtv.so need to be recompiled with new python.h or you can try to use old version of the python. At least python 2.4.3 has API version 1012 (didn't check other versions).
Could you also try to use '-gdb' instead of '-idb'. Since gdb uses another mechanism to start the debugger it may work, but I'm not sure.
I'm having the same issue as Roboto in ICS 2012 but I'd like to continue using the Python version I've installed (2.6.x). How can I recompile mtv.so with the newly installed Python?
At this point, we do not support using idb for MPI. Please use -gdb instead to debug with GDB.
Technical Consulting Engineer
Intel® Cluster Tools