niedziela, 24 października 2010

MacBook Pro 2010 + OpenMPI + o2 stick

One of the first thing after switching to MacOSX was to install all developer tools I use in my work -- having Vim already installed, I had to set up my localhost cluster with OpenMPI and HDF5. Well, standard compilation (after installing gcc4.6 with iso_c_bindings in Fortran) was not a problem. The problem was running it when connected to the Internet with my o2 stick. I searched a little Uncle G. for (openmpi + ppp0), found this thread: http://www.open-mpi.org/community/lists/users/2007/05/3306.php. OpenMPI simply freezes (or hangs) when connected to modem, I don't why, right now I don't have time to do more research on this topic. But I applied a solution: In openmpi-mca-params.conf (system-wide or user's) type:

oob_tcp_exclude="ppp0"

cross fingers and...

Welcome from Node 0
Welcome from Node 1
Welcome from Node 2
Welcome from Node 3