pnetcdf port to nag/6.0
Wei-keng Liao
wkliao at eecs.northwestern.edu
Thu Oct 8 12:46:21 CDT 2015
Hi, Jim
I have made a few changes and tested on an ANL machine using NAG Fortran 6.0 compiler.
I suggest to add the following environment variables at the configure command line
to avoid warning messages.
FCFLAGS="-w=all" FFLAGS="-w=all"
Please run an svn update and let me know if you still see errors.
Wei-keng
On Sep 5, 2015, at 8:03 AM, Jim Edwards wrote:
> 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
More information about the parallel-netcdf
mailing list