Re: [OMPI users] How to Free Memory Allocated with MPI_Win_allocate()?

2017-04-24 Thread Nathan Hjelm
You don't. The memory is freed when the window is freed by MPI_Win_free (). See MPI-3.1 § 11.2.5 -Nathan On Apr 24, 2017, at 11:41 AM, Benjamin Brock wrote: How are we meant to free memory allocated with MPI_Win_allocate()?  The following crashes for me with OpenMPI 

[OMPI users] How to Free Memory Allocated with MPI_Win_allocate()?

2017-04-24 Thread Benjamin Brock
How are we meant to free memory allocated with MPI_Win_allocate()? The following crashes for me with OpenMPI 1.10.6: #include #include #include int main(int argc, char **argv) { MPI_Init(, ); int n = 1000; int *a; MPI_Win win; MPI_Win_allocate(n*sizeof(int), sizeof(int),

Re: [OMPI users] scheduling to real cores, not using hyperthreading (openmpi-2.1.0)

2017-04-24 Thread r...@open-mpi.org
I’m afraid none of the current options is going to do that right now. I’ll put a note on my to-do list to look at this, but I can’t promise when I’ll get to it. > On Apr 24, 2017, at 3:13 AM, Heinz-Ado Arnolds > wrote: > > Dear Ralph, > > thanks for this new

Re: [OMPI users] scheduling to real cores, not using hyperthreading (openmpi-2.1.0)

2017-04-24 Thread Heinz-Ado Arnolds
Dear Ralph, thanks for this new hint. Unfortunately I don't see how that would fulfill all my requirements: I like to have 8 OpenMPI jobs for 2 nodes -> 4 OpenMPI jobs per node -> 2 per socket, each executing one OpenMP job with 5 threads mpirun -np 8 --map-by ppr:4:node:pe=5 ... How can