On Dec 12, 2007, at 6:32 PM, Lisandro Dalcin wrote:
>> Yes, this is problematic; dlopen is fun on all the various OS's...
>>
>> FWIW: we use the Libtool DL library for this kind of portability;
>> OMPI
>> itself doesn't have all the logic for the different OS loaders.
>
> Do I have the libtool API calls available when linking against
> libmpi.so ?
You should, yes.
Also, see my later post: doesn't perl/python have some kind of
portable dlopen anyway? They're opening your module...?
>>> This should hypothetically allow you to do a simple putenv() before
>> calling MPI_INIT and then the Right magic should occur.
>
> Is there any another way of setting a MCA parameter? Or playing with
> the environment is the only available way?
See http://www.open-mpi.org/faq/?category=tuning#setting-mca-params.
--
Jeff Squyres
Cisco Systems
|