← Back to team overview

dolfin team mailing list archive

Re: Buildbot status

 

[snip]

 
> I successfully got Dorsal to build 'petsc' on OS X yesterday, although
> I had to install OpenMPI from MacPorts, which resulted in a lot of
> other packages that had to be rebuilt. This was all successful and
> DOLFIN built fine, however the tests failed to run on the buildbot:
> 
>  
> http://fenicsproject.org:8090/builders/dolfin-osx-10.6/builds/79/steps/dol
> fin%20check/logs/stdio
> 
> I found that the problem lies in
> site-packages/dolfin/importhandler/dynamicloadmpi.py, where we force
> load libmpi.0.dylib, the system installed OpenMPI library, and not the
> one installed by MacPorts, which is libmpi.1.dylib. There are symlinks
> to these in /usr/lib and /opt/local/lib, respectively, so in theory we
> should be able to replace libmpi.0.dylib with libmpi.dylib in
> dynamicloadmpi.py. However, it turns out that the stuff in
> dynamicloadmpi.py is not needed on OS X. In fact, it has never been
> used on Lion since Lion doesn't come with any OpenMPI compilers and
> there is therefore no libmpi.0.dylib available (only libmpi.1.dylib
> from MacPorts).
> 
> I have tested this on both of the OS X buildbots and I suggest we
> replace the code in dynamicloadmpi.py with this:
> 
>   import ctypes
>   ctypes.CDLL('libmpi.so', ctypes.RTLD_GLOBAL)
> 
> Doing so should result in one more green buildbot (osx-10.6). Any
> objections before I push?

Sounds good. Maybe you can add some:

  # NOTE: Bla bla

about this to that file?

Johan


Follow ups

References