Skip to Content.
Sympa Menu

charm - [charm] Array placement using map objects

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Array placement using map objects


Chronological Thread 
  • From: Jozsef Bakosi <jbakosi AT gmail.com>
  • To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: [charm] Array placement using map objects
  • Date: Sat, 30 Apr 2016 14:22:14 -0600

Hi folks,

I've just updated to 6.7.1 and have some code for custom array element placement using map objects that now breaks and I'm not sure how to fix it.

I used to override CkArrayMap's populateInitial() with

void populateInitial( int, CkArrayIndex& idx, void *msg, CkArrMgr *mgr ) override;

which now breaks, because it expects CkArrayOptions& as its 2nd argument:

ck-core/cklocation.h, line 96:
virtual void populateInitial(int arrayHdl,CkArrayOptions& options,void *ctorMsg,CkArrMgr *mgr);

The documentation, however, now recommends using

virtual void populateInitial(int arrayHdl, int numInitial, void *msg, CkArrMgr *mgr)

but the only overload in CkArrayMap is the one accepting CkArrayOptions& as its 2nd argument above.

How should I get the number of initial elements in my override of populateInitial()?

Thanks,
Jozsef



Archive powered by MHonArc 2.6.16.

Top of Page