Skip to Content.
Sympa Menu

charm - [charm] CmiFopen() and CmiFwrite() from C

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] CmiFopen() and CmiFwrite() from C


Chronological Thread 
  • From: Tom Quinn <trq AT astro.washington.edu>
  • To: "cosmology-ppl AT cs.uiuc.edu" <cosmology-ppl AT cs.uiuc.edu>
  • Cc: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: [charm] CmiFopen() and CmiFwrite() from C
  • Date: Thu, 27 Dec 2012 11:21:57 -0800 (PST)
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

What with Lustre becoming more common, and its habit of failing with "EINTR", could the CmiFopen, CmiFwrite, and CmiFclose (and there probably needs to be a CmiFread), which handle this case, be made available to "C" code as well as C++? I think all that needs to be done is add an 'extern "C"' in front of the declarations in converse.h and the definitions in util/pup_util.C.

If you don't think this is a good idea, please let me know and I'll just copy them into a ".c" file for ChaNGa.

Tom Quinn Astronomy, University of Washington
Internet:
trq AT astro.washington.edu
Phone: 206-685-9009





Archive powered by MHonArc 2.6.16.

Top of Page