pnetcdf port to nag/6.0

Jim Edwards jedwards at ucar.edu
Fri Sep 4 17:27:24 CDT 2015


No it doesn't like _8  either  - here is a patch that fixes that problem -
I also tested it with pgi.

Now I have another error but it'll wait until next week, have a great
weekend.

(here is the other error, haven't looked into it at all yet...)

Error: mcoll_testf77.f, line 497: Inconsistent structure for arg 2 in call
to MPI_ALLREDUCE

Error: mcoll_testf77.f, line 499: Inconsistent structure for arg 2 in call
to MPI_ALLREDUCE


On Fri, Sep 4, 2015 at 4:20 PM, Wei-keng Liao <wkliao at eecs.northwestern.edu>
wrote:

> Hi, Jim,
>
> Is NAG compiler OK with _8 modifier?
> Could you try manually change 4294967295 to 4294967295_8 and see if it
> compiles?
>
> Wei-keng
>
> On Sep 4, 2015, at 3:12 PM, Jim Edwards wrote:
>
> > Actually I still have a problem and I'm not sure how it should be
> resolved...
> >
> > Error: ../../src/libf/pnetcdf.inc, line 79: Integer literal 4294967295
> too large for default KIND
> >
> > Error: ../../src/libf/pnetcdf.inc, line 80: Integer literal
> 9223372036854775806 too large for default KIND
> >
> > Warning: mcoll_testf77.f, line 30: Unused PARAMETER NREADS
> >
> > Errors in declarations, no further processing for MCOLL_TESTF
> >
> > Error: ../../src/libf/pnetcdf.inc, line 79: Integer literal 4294967295
> too large for default KIND
> >
> > Error: ../../src/libf/pnetcdf.inc, line 80: Integer literal
> 9223372036854775806 too large for default KIND
> >
> > I'm not sure of an F77 conformant way to define these constants - are
> you?
> >
> > On Fri, Sep 4, 2015 at 1:39 PM, Wei-keng Liao <
> wkliao at eecs.northwestern.edu> wrote:
> > Thanks, Jim. I have applied your patch.
> >
> > I do not have an access to a NAG compiler.
> > Please check it builds and tests fine.
> >
> > Wei-keng
> >
> > On Sep 4, 2015, at 11:49 AM, Jim Edwards wrote:
> >
> > > Here is a patch for pnetcdf R2088 to the nag/6.0 compiler.   I also
> needed a compiler flag           -mismatch_all to turn errors about data
> type mismatches into warnings.
> > >
> > >
> > >
> > > --
> > > Jim Edwards
> > >
> > > CESM Software Engineer
> > > National Center for Atmospheric Research
> > > Boulder, CO
> > > <pnetcdfR2088.nag6port>
> >
> >
> >
> >
> > --
> > Jim Edwards
> >
> > CESM Software Engineer
> > National Center for Atmospheric Research
> > Boulder, CO
>
>


-- 
Jim Edwards

CESM Software Engineer
National Center for Atmospheric Research
Boulder, CO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20150904/bd623b2b/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pnetcdf2089.nagpatch
Type: application/octet-stream
Size: 2505 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20150904/bd623b2b/attachment.obj>


More information about the parallel-netcdf mailing list