Brian -
Sorry for the slow reply, I've been on vacation for a while and am still
digging out from all the back e-mail.
Anyway, that makes sense. Open MPI's default build mode is to dlopen()
the driver components needed for things like the various interconnects
and process starters we support.
Brian,
I think I have figured this one out. By default ctypes calls dlopen
with mode = RTLD_LOCAL (except on Mac OS 10.3). When I instruct
ctypes to set mode = RTLD_GLOBAL it works fine on 10.4. Based on the
dlopen man page:
RTLD_GLOBAL Symbols exported from this image (dynamic
Thanks for the information. I've filed a bug in our bug tracker on this
issue. It appears that for some reason, when libmpi is dlopened() by
python, that objects it then dlopens are not able to find symbols in the
libmpi. It will probably take me a bit of time to track this issue
down, but you
This is quite strange, and we're having some trouble figuring out
exactly why the opening is failing. Do you have a (somewhat?) easy list
of instructions so that I can try to reproduce this?
Thanks,
Brian
On Tue, 2006-08-22 at 20:58 -0600, Brian Granger wrote:
> HI,
>
> I am trying to
HI,
I am trying to dynamically load mpi.dylib on Mac OS X (using ctypes in
python). It seems to
load fine, but when I call MPI_Init(), I get the error shown below. I
can call other functions just fine (like MPI_Initialized).
Also, my mpi install is seeing all the needed components and I can