You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I built Charm++, AMR lib, and Jacobi2D in order from this repo on Ubuntu 18.04 and the compilation works well.
The building command is ./build charm++ multicore-linux-x86_64.
However, executing ./charmrun ./jacobi under the example folder leads to the following error.
It seems that during initialization, the function CkLocMgr::addElement from src/ck-core/cklocation.C inserts an element and then immediately calls CkLocMgr::addElementToRec to update some record. However, the latter function found out the element has been added and terminated the program.
I tried to comment out the if statement in CkLocMgr::addElementToRec, which aborts the program. Jacobi can run but shortly hang up there with Error in sychronisation step messages.
Any help would be highly appreciated!
The text was updated successfully, but these errors were encountered:
Thanks for reporting this problem, I'm able to reproduce this issue on my side, as well. I think the problem here is that the custom array indexing we do for AMR isn't being hashed properly and different levels of the AMR tree collide if they have the same data in their index (the problem seems to stem from the fact that the index we use for AMR is actually a tuple of (data, number of bits) and the number of bits part is essentially getting lost in the runtime code).
@epmikida has most recently looked at the code, so assigning to him.
Hello! I built Charm++, AMR lib, and Jacobi2D in order from this repo on Ubuntu 18.04 and the compilation works well.
The building command is
./build charm++ multicore-linux-x86_64
.However, executing
./charmrun ./jacobi
under the example folder leads to the following error.It seems that during initialization, the function
CkLocMgr::addElement
fromsrc/ck-core/cklocation.C
inserts an element and then immediately callsCkLocMgr::addElementToRec
to update some record. However, the latter function found out the element has been added and terminated the program.I tried to comment out the if statement in
CkLocMgr::addElementToRec
, which aborts the program. Jacobi can run but shortly hang up there withError in sychronisation step
messages.Any help would be highly appreciated!
The text was updated successfully, but these errors were encountered: