Problems with PGI and 1.1.1
Rob Latham
robl at mcs.anl.gov
Tue May 18 09:11:01 CDT 2010
On Tue, May 18, 2010 at 08:22:12AM -0400, David Robertson wrote:
> Hi Gerry and Rob,
>
> On 5/17/2010 3:00 PM, Rob Latham wrote:
> >On Mon, May 17, 2010 at 01:36:33PM -0400, David Robertson wrote:
> >>I have tried to run nc_test in the totalview debugger. With MPICH
> >>and PGI 10.5, the segfault occurs at line 638 of src/lib/var.c:
> >>
> >>(void) strncpy(name, varp->name->cp, varp->name->nchars);
> >
> >ah, i thought that looked familiar. Can you try with the attached
> >patch? It's also r805 and r807 in SVN.
>
> The patch worked perfectly. Thanks! Is there any reason to recompile
> parallel-netcdf with my other compiler (ifort and gfortran) and MPI
> implementations that compiled and tested successfully before the
> patch?
Glad to hear it did the trick. I don't think you'll need to recompile
anything else: the patch just removes some casting. PGI compilers do
something funny in the error cases, when casting a negative number to
a type of a different size.
==rob
--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
More information about the parallel-netcdf
mailing list