charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Nicolas Bock <nicolasbock AT gmail.com>
- To: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
- Subject: [charm] segfault upon migration
- Date: Fri, 16 Aug 2013 17:02:43 -0600
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
Hi,
please have a look at the attached code. The code consists of two chare arrays, one holding some data, one doing some work. The main code calls a reduction on the Work array which gets information from the Data array to do something. When I run this (make run) on more than one PE with the GreedyCommLB load balancer the code segfaults at random points when the load balancer kicks in. I think what's going on is that the Data::info() call in Work::doSomething() suspends the chare and it just so happens that it sometimes is migrated while being suspended. If I comment out the code block that calls Data::info() the program executes just fine.
Is what I am thinking correct, or is there another problem in the code that I have overlooked?
Thanks already,
nick
Attachment:
migration.tar.bz2
Description: BZip2 compressed data
- [charm] segfault upon migration, Nicolas Bock, 08/16/2013
- Re: [charm] segfault upon migration, Jonathan Lifflander, 08/16/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/19/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/20/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/21/2013
- Re: [charm] segfault upon migration, Phil Miller, 08/21/2013
- Re: [charm] segfault upon migration, Jonathan Lifflander, 08/21/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/22/2013
- Re: [charm] segfault upon migration, Phil Miller, 08/22/2013
- Re: [charm] segfault upon migration, Jonathan Lifflander, 08/22/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/22/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/21/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/20/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/19/2013
- Re: [charm] segfault upon migration, Nicolas Bock, 08/19/2013
- Re: [charm] segfault upon migration, Jonathan Lifflander, 08/16/2013
Archive powered by MHonArc 2.6.16.