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] insertInitial
- Date: Tue, 24 Jan 2017 13:14:00 -0700
Hi folks,
It used to be CkArrMgr::insertInitial( int, ... ) which now takes const CkArrayIndex &idx as its first argument. I see in the online documentation that I could pass CkArrayIndex2D(x,y). I used to pass an int 'e'. What is the simplest conversion to CkArrayIndex? Looking at the constructors, I have tried CkArrayIndex(e) and CkArrayIndex1D(e), but I trigger this assertion with multiple PEs:
[2] Assertion "CkMyPe() == 0" failed in file ckarray.C line 780.
How should I convert using an int to a CkArrayIndex passed to insertInitial()?
Thanks,
Jozsef
- [charm] insertInitial, Jozsef Bakosi, 01/24/2017
- Re: [charm] insertInitial, Jozsef Bakosi, 01/26/2017
Archive powered by MHonArc 2.6.19.