I think the problem it has is it only deal with the old framework because
it will intercept MPI calls and do some profiling. Here is the library:
https://github.com/LLNL/Adagio

I checked the openmpi changelog. From openmpi 1.3, it began to switch to a
new framework, and openmpi 1.4+ has different one too. This library only
works under openmpi 1.2.
Thank you for your advise, I will try it. My current problem is this
library seems to try to patch mpi.h file, but it fails during the patching
process for new version openmpi. I don't know the reason yet, and will
check it soon. Thank you.

Kaiming Ouyang, Research Assistant.
Department of Computer Science and Engineering
University of California, Riverside
900 University Avenue, Riverside, CA 92521


On Tue, Mar 20, 2018 at 4:35 AM, Jeff Squyres (jsquyres) <jsquy...@cisco.com
> wrote:

> On Mar 19, 2018, at 11:32 PM, Kaiming Ouyang <kouya...@ucr.edu> wrote:
> >
> > Thank you.
> > I am using newest version HPL.
> > I forgot to say I can run HPL with openmpi-3.0 under infiniband. The
> reason I want to use old version is I need to compile a library that only
> supports old version openmpi, so I am trying to do this tricky job.
>
> Gotcha.
>
> Is there something in particular about the old library that requires Open
> MPI v1.2.x?
>
> More specifically: is there a particular error you get when you try to use
> Open MPI v3.0.0 with that library?
>
> I ask because if the app supports the MPI API in Open MPI v1.2.9, then it
> also supports the MPI API in Open MPI v3.0.0.  We *have* changed lots of
> other things under the covers in that time, such as:
>
> - how those MPI API's are implemented
> - mpirun (and friends) command line parameters
> - MCA parameters
> - compilation flags
>
> But many of those things might actually be mostly -- if not entirely --
> hidden from a library that uses MPI.
>
> My point: it may be easier to get your library to use a newer version of
> Open MPI than you think.  For example, if the library has some hard-coded
> flags in their configure/Makefile to build with Open MPI, just replace
> those flags with `mpicc --showme:BLAH` variants (see `mpicc --showme:help`
> for a full listing).  This will have Open MPI tell you exactly what flags
> it needs to compile, link, etc.
>
> --
> Jeff Squyres
> jsquy...@cisco.com
>
> _______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to