charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- 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
- [charm] Array placement using map objects, Jozsef Bakosi, 04/30/2016
- Message not available
- Message not available
- Re: [charm] Array placement using map objects, Phil Miller, 04/30/2016
- Re: [charm] Array placement using map objects, Jozsef Bakosi, 04/30/2016
- Re: [charm] Array placement using map objects, Phil Miller, 04/30/2016
- Message not available
- Message not available
Archive powered by MHonArc 2.6.16.