Wow, I haven’t encountered Forth in over 20 years! Though I confess I used to 
program in it myself back in my control days.

IIRC, you would need to write a wrapper to let Forth access C-based functions, 
yes? You could configure and build OMPI as a 32-bit library, and libmpi.so is 
C, so that isn’t an issue.

What compiler are you planning to use (as the cmd line options may vary a bit)?


> On Jun 22, 2016, at 6: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

Reply via email to