[mvapich-discuss] Spawned Process cannot access shared memory
Hari Subramoni
subramoni.1 at osu.edu
Wed Mar 29 10:39:49 EDT 2017
Hello Jannek,
Sorry to hear that you're facing issues. Let us take a look at your program
and get back to you.
Regards,
Hari.
On Wed, Mar 29, 2017 at 10:22 AM, Jannek Squar <
squar at informatik.uni-hamburg.de> wrote:
> Hello everybody,
>
> I encountered a problem regarding MVAPICH2 2.2 and gcc 6.3.0 while using
> MPI-3 shared memory with dynamically spawned processes in Fortran on a
> single node with shared memory. See simplified example files attached.
>
> My master-process spawns one slave-process and both try to create shared
> memory. Since the slave shall access the shared memory created by the
> master it calls mpi_win_shared_query, but cPtr, which should hold the
> process-local address, has not been associated. Therefore the execution
> fails with "Program received signal SIGSEGV: Segmentation fault - invalid
> memory reference".
>
> If I build those files with IntelMPI2017 everything runs fine. Since I'm
> still new to MPI-3 I hope that I did not only introduce some bug into the
> example code.
>
>
> Greetings
> Jannek
>
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mailman.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cse.ohio-state.edu/pipermail/mvapich-discuss/attachments/20170329/2c742c21/attachment-0001.html>
More information about the mvapich-discuss
mailing list