Skip to Content.
Sympa Menu

charm - [charm] Adaptive MPI needs MPI_WIN_BASE (and other attributes)

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Adaptive MPI needs MPI_WIN_BASE (and other attributes)


Chronological Thread 
  • From: Jeff Hammond <jeff.science AT gmail.com>
  • To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: [charm] Adaptive MPI needs MPI_WIN_BASE (and other attributes)
  • Date: Tue, 12 Jan 2016 14:41:06 -0800

I am using Charm++ 6.7.0 for testing of the PRK.  I recently added code that fetches the MPI_WIN_BASE attribute on RMA windows.  This attribute was introduced in MPI 2.0, so it is not new.

Adaptive MPI does not define MPI_WIN_BASE, as demonstrate in https://travis-ci.org/jeffhammond/PRK/jobs/101958477.  I've already pushed a workaround (https://github.com/jeffhammond/PRK/commit/a511033a10995594bb8c90a6b0cdce6077bd3347), but it leads to a memory leak (this doesn't really matter, since the program terminates almost immediately thereafter, but it is shameful programming to do such things intentionally).

In short, all your MPI_WIN_BASE do not belong to us :-) <groan>

And if Adaptive MPI is setting MPI_VERSION=3 (I have not looked), then it needs the window attributes added in MPI 3.0.

I don't think these are too hard to add, and I imagine that I could contribute a patch, but I don't have any free cycles at the moment.  Sorry.

Thanks,

Jeff

--



Archive powered by MHonArc 2.6.16.

Top of Page