Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] Compiling for portability to non-mpi systems.
From: Ali Copey (alicopey158_at_[hidden])
Date: 2008-09-25 07:26:30


We have created a piece of software that is designed to work under a variety of conditions, one of which is using MPI.

This application will preferably us a single executable and then load the mpi communications interface as a library at runtime, however adding this functionality by compiling using the mpi compile wrappers creates an executable that will not run on a system without mpi installed.

Is it possible to have the main executable not dependent upon the presence of mpi but still able to load the mpi dependent library if mpi is required, and how would this be achieved?

Thank you,