Wednesday, 3 August 2011

mpi4py and hector

Trying to compile mpi4py with gcc didn't get me anywhere, even after following what I was suggested at the mpi4py google group. I did manage after all to compile it with gcc after swapping several libraries. Now however, I'm stuck with this:

Traceback (most recent call last):
  File "mpitest.py", line 1, in <module>
    from mpi4py import MPI
ImportError: libgfortran.so.3: cannot open shared object file: No such file or directory

I've spent a whole day trying fix this and didn't get any further this error message. The library just isn't there and I'm not 100% sure that this is what mpi4py is trying to find. Why does it even need fortran's libraries? i'm stuck...

1 comment:

  1. Library is at:

    /opt/gcc/4.5.2/snos/lib

    adrianj

    ReplyDelete