Greetings Richard.

Yes, that certainly is unusual.  :-)

Here's my advice:

- Configure Open MPI with the --disable-dlopen flag.  This will slurp in all of 
Open MPI's plugins into the main library, and make things considerably simpler 
for you.

- Build Open MPI in a 32 bit mode -- e.g., supply CFLAGS=-m32 on the configure 
command line (or whatever flags are relevant for your compiler).

Both of these taken together:

  ./configure CFLAGS=-m32 --disable-dlopen ...

- Then you should be able to dlopen libmpi.so and dlsym the symbols that you 
expect (e.g., MPI_Init and friends).


> On Jun 22, 2016, at 9:34 PM, Richard C. Wagner <drsav...@q.com> wrote:
> 
> Hi Everyone:
> 
> I'm trying to employ MPI in an unconventional programming language, Forth, 
> running over Debian Linux.  The Forth I have can import a Linux shared 
> library in the .so file format and then compile in the executable functions 
> as externals.  The question: how to do it?  I'm looking to access MPI_Init, 
> MPI_Finalize, MPI_Comm_size, MPI_Comm_rank, MPI_Waitany, MPI_Isend, MPI_Irecv 
> plus other functions as needed.  The Forth is a 32-bit executable, so I need 
> to include functions from a 32-bit library.  Is there a single 32-bit MPI 
> library where I can find these functions?  Or would it make sense to create 
> my own, 32-bit library using C?
> 
> Any ideas?
> 
> 
> Regards,
> 
> Rich Wagner
> Aerospace Engineer
> Graduate Student
> Fort Collins, CO, USA 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
> Link to this post: 
> http://www.open-mpi.org/community/lists/users/2016/06/29522.php


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/

Reply via email to