Skip to Content.
Sympa Menu

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

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

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


Chronological Thread 
  • From: Jeff Hammond <jeff.science AT gmail.com>
  • To: Sam White <samt.white AT gmail.com>
  • Cc: "Bohm, Eric J" <ebohm AT illinois.edu>, "charm AT lists.cs.illinois.edu" <charm AT lists.cs.illinois.edu>
  • Subject: Re: [charm] Adaptive MPI needs MPI_WIN_BASE (and other attributes)
  • Date: Tue, 12 Jan 2016 16:48:51 -0800

What's missing for MPI 2.2 support?  I can't find a list in the documentation...

If it is just spawn, there's a way to be compliant with a no-op implementation (see https://trac.mpich.org/projects/mpich/ticket/1699 for details).

Jeff

On Tue, Jan 12, 2016 at 3:15 PM, Sam White <samt.white AT gmail.com> wrote:
I'll update you once this change has been merged. I'll also note that AMPI only officially supports MPI-1.3 (MPI_VERSION=1, MPI_SUBVERSION=3).

-Sam

On Tue, Jan 12, 2016 at 5:03 PM, Bohm, Eric J <ebohm AT illinois.edu> wrote:
Thanks Jeff,

I have submitted this to our Redmine Issue tracker.

https://charm.cs.illinois.edu/redmine/issues/942


On 01/12/2016 04:41 PM, Jeff Hammond wrote:
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 Hammond
jeff.science AT gmail.com
http://jeffhammond.github.io/



Archive powered by MHonArc 2.6.16.

Top of Page