charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- 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
- [charm] Compiling Charm with Intel MPI, Robert Steinke, 10/20/2014
- Re: [charm] Compiling Charm with Intel MPI, Phil Miller, 10/20/2014
- Re: [charm] Compiling Charm with Intel MPI, Jeff Hammond, 10/21/2014
- Re: [charm] Compiling Charm with Intel MPI, Phil Miller, 10/21/2014
- Re: [charm] Compiling Charm with Intel MPI, Jeff Hammond, 10/21/2014
- Re: [charm] Compiling Charm with Intel MPI, Phil Miller, 10/21/2014
- Re: [charm] Compiling Charm with Intel MPI, Jeff Hammond, 10/21/2014
- Re: [charm] Compiling Charm with Intel MPI, Phil Miller, 10/20/2014
Archive powered by MHonArc 2.6.16.