Hello all.
I have a problem on a server: launching a job with mpirun fails if I
request all 32 CPUs (threads, since HT is enabled) but succeeds if I
only request 30.
The test code is really minimal:
-8<--
#include "mpi.h"
#include
#include
#define MASTER 0
int main (int argc, char *ar
That's odd. What version of Open MPI are you using?
> On Oct 13, 2020, at 6:34 AM, Diego Zuccato via users
> wrote:
>
> Hello all.
>
> I have a problem on a server: launching a job with mpirun fails if I
> request all 32 CPUs (threads, since HT is enabled) but succeeds if I
> only request 30
Can you use taskid after MPI_Finalize?
Isn't it undefined/deallocated at that point?
Just a question (... or two) ...
Gus Correa
> MPI_Finalize();
>
> printf("END OF CODE from task %d\n", taskid);
On Tue, Oct 13, 2020 at 10:34 AM Jeff Squyres (jsquyres) via users <
users@lists.open-mpi.org
On Oct 13, 2020, at 10:43 AM, Gus Correa via users
wrote:
>
> Can you use taskid after MPI_Finalize?
Yes. It's a variable, just like any other.
> Isn't it undefined/deallocated at that point?
No. MPI filled it in during MPI_Comm_rank() and then never touched it again.
So even though MPI ma