<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr">I reproduced this with PGI 17.4 community edition on Linux with your Fortran test and an equivalent C one.<br><br>GDB indicates the SEGV happens here:<br><br>Program received signal SIGSEGV, Segmentation fault.<br>MPID_nem_init (pg_rank=0, pg_p=0x60fce0, has_parent=8388607) at ../src/mpid/ch3/channels/nemesis/src/mpid_nem_init.c:305<br>305 MPID_nem_queue_enqueue(MPID_nem_mem_region.FreeQ[pg_rank], &(MPID_nem_mem_region.Elements[idx]));<div><div><br>Jeff<br><br>On Tue, Jul 11, 2017 at 1:19 AM, Andrew Wood <<a href="mailto:andrew@fluidgravity.co.uk">andrew@fluidgravity.co.uk</a>> wrote:<br>><br>> > It's hard not to conclude this is a PGI 17 bug from your description. Have you<br>> > reported this to PGI? I would hate for the MPICH team to take support work away<br>> > from the people PGI pays to do this.<br>><br>> Indeed, and I have done so.<br>><br>> However, in my experience, it tends to be somewhat unpredictable whether<br>> incorrect code causes a segmentation fault or not. So I thought it worth<br>> checking here too.<br>><br>> Regards,<br>> Andy.<br>><br>> On 10/07/17 21:17, Jeff Hammond wrote:<br>> > "This occurs with PGI versions 17.1 and 17.5, but not with versions 16.1, 16.5 or<br>> > 16.7, nor with the current Intel or gcc compilers."<br>> ><br>> > It's hard not to conclude this is a PGI 17 bug from your description. Have you<br>> > reported this to PGI? I would hate for the MPICH team to take support work away<br>> > from the people PGI pays to do this.<br>> ><br>> > Jeff<br>> ><br>> ><br>> > On Mon, Jul 10, 2017 at 6:48 AM Andrew Wood <<a href="mailto:andrew@fluidgravity.co.uk">andrew@fluidgravity.co.uk</a><br>> > <mailto:<a href="mailto:andrew@fluidgravity.co.uk">andrew@fluidgravity.co.uk</a>>> wrote:<br>> ><br>> > Hi,<br>> ><br>> > I'm getting a segmentation fault in MPI_INIT, when MPICH is compiled with the<br>> > current version of the Portland compilers:<br>> ><br>> > > mpif90 code.f90 && ./a.out<br>> > Segmentation fault<br>> ><br>> > code.f90 is in the attached .tar.gz file, along with the .log files generated by<br>> > configuring and building MPICH.<br>> ><br>> > This occurs with PGI versions 17.1 and 17.5, but not with versions 16.1, 16.5 or<br>> > 16.7, nor with the current Intel or gcc compilers. It occurs with MPICH versions<br>> > 3.1.4, 3.2 and the current master branch in the github repository.<br>> ><br>> > The problem does not occur if MPICH is configured with the option<br>> > '--disable-fast'.<br>> ><br>> > Is this a bug in MPICH or PGI, or have I done something else wrong?<br>> ><br>> > Thanks,<br>> > Andy.<br>> ><br>> > --<br>> > Dr Andrew Wood<br>> > Fluid Gravity Engineering Ltd.<br>> > 83 Market Street<br>> > St Andrews<br>> > Fife KY16 9NX<br>> > Tel: +44 (0)1334 460805<br>> > Fax: +44 (0)1334 460813<br>> ><br>> > Fluid Gravity Engineering Ltd is registered in the UK with registration number<br>> > 1674369. The registered address is Fluid Gravity Engineering Ltd, Unit 1, The<br>> > Old Coach House, 1 West Street, Emsworth, Hampshire, PO10 7DX.<br>> > _______________________________________________<br>> > discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a> <mailto:<a href="mailto:discuss@mpich.org">discuss@mpich.org</a>><br>> > To manage subscription options or unsubscribe:<br>> > <a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a><br>> ><br>> > --<br>> > Jeff Hammond<br>> > <a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a> <mailto:<a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a>><br>> > <a href="http://jeffhammond.github.io/">http://jeffhammond.github.io/</a><br>><br>><br>> --<br>> Dr Andrew Wood<br>> Fluid Gravity Engineering Ltd.<br>> 83 Market Street<br>> St Andrews<br>> Fife KY16 9NX<br>> Tel: +44 (0)1334 460805<br>> Fax: +44 (0)1334 460813<br>><br>> Fluid Gravity Engineering Ltd is registered in the UK with registration number<br>> 1674369. The registered address is Fluid Gravity Engineering Ltd, Unit 1, The<br>> Old Coach House, 1 West Street, Emsworth, Hampshire, PO10 7DX.<br>> _______________________________________________<br>> discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>> To manage subscription options or unsubscribe:<br>> <a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a><br><br><br><br><br>--<br>Jeff Hammond<br><a href="mailto:jeff.science@gmail.com">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/">http://jeffhammond.github.io/</a><div class="gmail_extra">
</div></div></div></div>