Skip to Content.
Sympa Menu

charm - Re: [charm] [ppl] AMPI Application + MPI-based load balancer

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] [ppl] AMPI Application + MPI-based load balancer


Chronological Thread 
  • From: François Tessier <francois.tessier AT inria.fr>
  • To: "Totoni, Ehsan" <totoni2 AT illinois.edu>
  • Cc: "charm AT cs.uiuc.edu" <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] [ppl] AMPI Application + MPI-based load balancer
  • Date: Mon, 08 Dec 2014 23:30:58 +0100
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm/>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

There is a MPI_Init() at the beginning of the main function in the
application's code. Is it enough to use MPI in my load balancer ?
There is no MPI_Finalize() during the execution. The only one is at the
end of the main function.

++

François

--
___________________
François TESSIER
PhD Student at University of Bordeaux
Inria - Runtime Team
Tel : 0033.5.24.57.41.52
francois.tessier AT inria.fr
http://runtime.bordeaux.inria.fr/ftessier/
PGP 0x8096B5FA

On 08/12/2014 22:53, Totoni, Ehsan wrote:
> Do you have any Cmi or MPI calls before MPI_Init?
>
> -Ehsan
>
> On 12/8/14, 2:11 PM, "Francois Tessier"
> <francois.tessier AT inria.fr>
> wrote:
>
>> HI Ehsan,
>>
>> No it's a C code. I also have calls to many "cmi" functions. Maybe it
>> could come from that ?
>>
>> ++
>>
>> François
>>
>> ----- Mail original -----
>>> De: "Ehsan Totoni"
>>> <totoni2 AT illinois.edu>
>>> À: "François Tessier"
>>> <francois.tessier AT inria.fr>,
>>>
>>> charm AT cs.uiuc.edu
>>> Envoyé: Lundi 8 Décembre 2014 18:49:46
>>> Objet: Re: [ppl] [charm] AMPI Application + MPI-based load balancer
>>>
>>> Hi François,
>>>
>>> Is Ondes3D a fortran code? If so, have you replaced ³program Š² with
>>> "subroutine mpi_main² in the source code?
>>>
>>>
>>> -Ehsan
>>>
>>> On 12/8/14, 9:49 AM, "François Tessier"
>>> <francois.tessier AT inria.fr>
>>> wrote:
>>>
>>>> Hello,
>>>>
>>>> I'm trying the AMPI version of Ondes3D on Blue Waters with my load
>>>> balancer. This load balancer calls many MPI functions, particularly
>>>> because of the use of LibTopoMap. To carry out this experiment, I built
>>>> AMPI in a new Charm++ checkout (so I didn't build charm++) like that :
>>>> ./build AMPI mpi-crayxe. Ondes3D is compiled with these options :
>>>> "-language ampi -module CommonLBs -module TreeMatchLB -thread context".
>>>> With the other load balancers, I'm able to run the application. But
>>> with
>>>> mine, I get this error : "Cannot call MPI routines before AMPI is
>>>> initialized.". Is there something special to do to use MPI functions in
>>>> a load balancer with AMPI ?
>>>>
>>>> Thanks for your help
>>>>
>>>> François
>>>>
>>>> --
>>>> François TESSIER
>>>> PhD Student at University of Bordeaux
>>>> Inria - Runtime Team
>>>> Tel : 0033524574152
>>>> francois.tessier AT inria.fr
>>>> http://runtime.bordeaux.inria.fr/ftessier/
>>>> PGP 0x8096B5FA
>>>>
>>>>
>>>


Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.16.

Top of Page