error in pnetcdf.inc
Jim Edwards
jedwards at ucar.edu
Tue Jun 2 12:25:05 CDT 2015
Sorry - I was wrong _I8 still gives an error. The problem is that you are
compiling an f90 test with f77 :
/usr/mpi/pgi/mvapich2-1.8.1-qlc/bin/mpif77 -c -g -I../../src/lib
-I../../src/libf -I../../src/libf90 pnf_test.f
PGFTN-S-0034-Syntax error at or near identifier _8
(../../src/libf/pnetcdf.inc: 79)
PGFTN-S-0034-Syntax error at or near identifier _8
(../../src/libf/pnetcdf.inc: 80)
PGFTN-S-0034-Syntax error at or near ( (pnf_test.f: 51)
PGFTN-S-0034-Syntax error at or near ( (pnf_test.f: 64)
PGFTN-S-0034-Syntax error at or near ( (pnf_test.f: 65)
PGFTN-S-0034-Syntax error at or near ( (pnf_test.f: 69)
switching this to use f90 solves the problem.
On Tue, Jun 2, 2015 at 10:28 AM, Jim Edwards <jedwards at ucar.edu> wrote:
> Building pnetcdf1.6.1 using the pgi 15.1 compiler gives an error at lines
> 54 and 55 of pnetcdf.inc. The compiler did not like:
> parameter (nf_fill_uint = 4294967295_8)
> parameter (nf_fill_int64 = -9223372036854775806_8)
>
> I changed it to:
>
> parameter (nf_fill_uint = 4294967295_I8)
> parameter (nf_fill_int64 = -9223372036854775806_I8)
>
>
>
>
>
> --
> 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/20150602/7c41506b/attachment.html>
More information about the parallel-netcdf
mailing list