Re: [OMPI users] Dynamic loading of libmpi.dylib on Mac OS X

2006-09-22 Thread Brian Barrett
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.

Re: [OMPI users] Dynamic loading of libmpi.dylib on Mac OS X

2006-09-08 Thread Brian E Granger
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

Re: [OMPI users] Dynamic loading of libmpi.dylib on Mac OS X

2006-09-06 Thread Brian Barrett
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

Re: [OMPI users] Dynamic loading of libmpi.dylib on Mac OS X

2006-08-31 Thread Brian Barrett
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

[OMPI users] Dynamic loading of libmpi.dylib on Mac OS X

2006-08-22 Thread Brian Granger
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