Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] Where to call MPI_Init or AMPI_Init

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] Where to call MPI_Init or AMPI_Init


Chronological Thread 
  • From: Aaron Becker <abecker3 AT illinois.edu>
  • To: Fernando Stump <fernando.stump AT gmail.com>
  • Cc: Charm Mailing List <charm AT cs.illinois.edu>
  • Subject: Re: [charm] [ppl] Where to call MPI_Init or AMPI_Init
  • Date: Fri, 9 Sep 2011 15:47:36 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Just from looking at the code you posted, I don't see an obvious
problem. It is not true that you can't call FEM_* or MPI_* functions
from within other nested functions, though--many of our applications
do this without a problem.

Aaron

On Fri, Sep 9, 2011 at 3:39 PM, Fernando Stump
<fernando.stump AT gmail.com>
wrote:
>
> //FEM_Add_ghost_layer(1,1);
>
> Now it is a MPI_*  so MPI_* calls work inside init() but not on nested
> functions
> So in this example, I get this error.  Any guess for were to look at?
> OUTPUT





Archive powered by MHonArc 2.6.16.

Top of Page