Skip to Content.
Sympa Menu

charm - [charm] Compiling Charm with Intel MPI

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Compiling Charm with Intel MPI


Chronological Thread 
  • From: Robert Steinke <rsteinke AT uwyo.edu>
  • To: Charm Mailing List <charm AT cs.illinois.edu>
  • Subject: [charm] Compiling Charm with Intel MPI
  • Date: Mon, 20 Oct 2014 16:16:49 -0600
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

I'm compiling Charm-6.6.0 with Intel MPI, and it complains that Intel MPI wants mpi.h #included before stdio.h. The problem is in the file src/ck-core/mpi-interoperate.h included by src/ck-core/mpi-interoperate.C and src/ck-core/mpi-mainmodule.C. I worked around it by just adding #include <mpi.h> at the top of mpi-interoperate.C and mpi-mainmodule.C. That works for me because I am only compiling for MPI, but in mpi-interoperate.h the #include <mpi.h> is actually in a #if declaration.

I just wanted to let you know in case you feel like fixing this in the official source code. I don't need a fix. My workaround works for me.

Bob Steinke





Archive powered by MHonArc 2.6.16.

Top of Page