As of yesterday, when I was re-compiling stuff, I have a * 64-bit machine with 64-bit Ubuntu 8.10: works fine. I compile openmpi-1.3.?. (I'm running stuff, and not in a position right now to try the Ubuntu package.) * 64-but machines with 32-bit Ubuntu 8.04: No good, even if I recompile openmpi-1.3.? But the Ubuntu openmpi-dev package is installed too. * 32-bit machine with 32-bit Debian with Debian openmpi-dev package and python-numpy: Works with Debian openmpi-dev package. * 32-bit machine with 32-bit Ubuntu 8.04: fail. Ubuntu openmpi package installed. * 64-bit machine with old 64-bit SUSE linux: Works. (I compile openmpi)
Now, I'd forgotten that the Ubuntu package was also installed on some of these machines. One could imagine that there is some mess-up in the LD_LIBRARY_PATH or PYTHONPATH or something. I'll look into that. But all the compiles, both openmpi and numpy are pretty straightforward. Open the box, ./configure --prefix=$HOME/local; make install or python setup.py install --prefix=$HOME/local , as appropriate. python by itself has no problem with numpy. It is only pyMPI. OOOH! Look at this. The problem isn't numpy after all. It shows up with other things: chilli:~$ pyMPI libibverbs: Fatal: couldn't read uverbs ABI version. -------------------------------------------------------------------------- [0,0,0]: OpenIB on host chilli was unable to find any HCAs. Another transport will be used instead, although this may result in lower performance. -------------------------------------------------------------------------- Python 2.5.2 (pyMPI 2.5b0) on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import math Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /home/gpk/local/lib/python2.5/lib-dynload/math.so: undefined symbol: Py_InitModule4 [20074 refs] >>> Finally, I haven't seen this on the pyMPI sites (via google search), but pyMPI isn't a really big community. And, nobody in their right mind would use a 32-bit operating system on a 64-bit machine if they want to do serious computing with MPI. (So why do am *I* doing it? IT support that likes uniformity, that's why...) -- Crash with pyMPI that doesn't happen with latest upstream https://bugs.launchpad.net/bugs/307901 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs