Skip to Content.
Sympa Menu

charm - RE: [charm] Charm++ with netCDF, segfault/bus error

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

RE: [charm] Charm++ with netCDF, segfault/bus error


Chronological Thread 
  • From: "Choi, Jaemin" <jchoi157 AT illinois.edu>
  • To: Jurek Olden <jurek.olden AT in.tum.de>, "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: RE: [charm] Charm++ with netCDF, segfault/bus error
  • Date: Mon, 24 Sep 2018 21:54:49 +0000
  • Accept-language: en-US
  • Authentication-results: illinois.edu; spf=pass smtp.mailfrom=jchoi157 AT illinois.edu; dmarc=pass header.from=illinois.edu

Hi Jurek,

I'm not familiar with netCDF, but the problem could be that you are calling
nc_create() multiple times from 4 different processes.
The Charm++ scheduler will run as a separate process on each PE/core if you
have built Charm++ without SMP mode enabled (which is the default).



Jaemin Choi
Ph.D. Candidate in Computer Science
Research Assistant, Parallel Programming Laboratory
University of Illinois Urbana-Champaign
________________________________________
From: Jurek Olden
[jurek.olden AT in.tum.de]
Sent: Monday, September 24, 2018 10:22 AM
To:
charm AT cs.illinois.edu
Subject: [charm] Charm++ with netCDF, segfault/bus error

Hello,

i am currently getting runtime errors when i call nc_create() from
multiple chares in parallel.
An isolated example is this program (derived from the Hello World
example): https://gitlab.lrz.de/olden/charm-playground

When i run this with +p4 and 4 chares, it will always crash -
unfortunately i am so far unable to figure out why .. i am hoping this
is some simple oversight.

Thanks in advance for your time and help, kind regards,
Jurek Olden



Archive powered by MHonArc 2.6.19.

Top of Page