[prev in list] [next in list] [prev in thread] [next in thread] 

List:       beowulf
Subject:    RE: [Beowulf] MPI Persistent Comm Question
From:       Mark Hahn <hahn () mcmaster ! ca>
Date:       2010-06-28 19:40:26
Message-ID: Pine.LNX.4.64.1006281532450.2934 () coffee ! psychology ! mcmaster ! ca
[Download RAW message or body]

> Uhmmm, what is "MPI_Free()"?

he probably meant MPI_Request_free

> (1)
> Call this subroutines 1000 times
> =============================
> call MPI_RECV_Init()
> call MPI_Send_Init()
> call MPI_Startall()
> call MPI_Free()
> =============================
> 
> (2)
> Call this subroutines 1000 times
> ===========================
> call MPI_RECV_Init()
> call MPI_Send_Init()
> call MPI_Startall()
> ==========================
> call MPI_Free()  --------- call it only once at the end.

I've never even seen these MPI_Start-related interfaces in use, 
but MPI_Request_free appears to be callable once per MPI_*_Init.
that would argue for pairing as in the first sequence.

afaikt, the point of the interface is actually init/start+/free - 
that is, you set up a persistent send and kick it into action 
many times.  but only free it once.
_______________________________________________
Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing
To change your subscription (digest mode or unsubscribe) visit \
http://www.beowulf.org/mailman/listinfo/beowulf


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic