pnetcdf port to nag/6.0

Jim Edwards jedwards at ucar.edu
Sat Sep 5 08:03:28 CDT 2015


Yes and so is _8 - I couldn't find an f77 way to do it, this is a nag way
to do it and I tested with pgi to make sure that a true f77 compiler still
works.   I'm open to better solutions.

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

> Hi, Jim,
>
> Isn't using the call selected_int_kind() a Fortran 90+ feature?
>
> Wei-keng
>
> On Sep 4, 2015, at 5:27 PM, Jim Edwards wrote:
>
> > 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
> > <pnetcdf2089.nagpatch>
>
>


-- 
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/20150905/2ee13dae/attachment-0001.html>


More information about the parallel-netcdf mailing list