This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Michael, >Date: Sat, 19 Jul 2003 12:54:10 +0200 >From: Michael Arndt <address@hidden> >Organization: Bereichsleiter IT-Services >To: Steve Emmerson <address@hidden> >Subject: Re: 20030718: netcdf f90 module on HP UX 11 The above message contained the following: > Hello Steve > > thanks for your fast help. > > Here my feedback: > > 1. all mkdir commands in rules.make changed to mkdir -p , dito in configure > -test -d $@ || mkdir -p $@ Odd. This shouldn't have been necessary. > 2. change lex = flex to lex = lex in Makefile in ncgen > (not made correct by configure) > 3. in f90 > either it was NETCDF.mod and netcdf.mod is awaited or vice versa Odd. The rules in file "f90/Makefile" should accomodate both spellings. > With 32 Bit and 64 Bit: > > /usr/bin/cc -c +O2 -I. -DNDEBUG ncx.c > cc: "ncx.c", line 1231: warning 602: Float constant exceeds its storage. > cc: "ncx.c", line 1231: warning 602: Float constant exceeds its storage. > cc: "ncx.c", line 1243: warning 602: Float constant exceeds its storage. > cc: "ncx.c", line 1243: warning 602: Float constant exceeds its storage. > cc: "ncx.c", line 1265: warning 602: Float constant exceeds its storage. > cc: "ncx.c", line 1265: warning 602: Float constant exceeds its storage. > /usr/bin/cc -c +O2 -I. -DNDEBUG putget.c The above can be safely ignored. > Warnings: > > Warning: ncgentab.c is out-of-date with respect to ncgen.y > Warning: It should be recreated via yacc on an OSF/1 system > /usr/bin/cc -o ncgen +O2 main.o load.o ncgentab.o escapes.o > getfill.o init.o genlib.o ../libsrc/libnetcdf.a > > /opt/aCC/bin/aCC -c -D_HPUX_SOURCE +O2 -I../libsrc -I. -DNDEBUG > nctst.cpp > Error (future) 370: "netcdfcpp.h", line 157 # The friend declaration is not > in the correct form for either a function or a class. Perhaps > you meant 'friend class NcFile;'. > friend NcFile; > ^^^^^^^^^^^^^^ > Error (future) 370: "netcdfcpp.h", line 360 # The friend declaration is not > in the correct form for either a function or a class. Perhaps > you meant 'friend class NcFile;'. > friend NcFile; > ^^^^^^^^^^^^^^ > Error (future) 370: "netcdfcpp.h", line 391 # The friend declaration is not > in the correct form for either a function or a class. Perhaps > you meant 'friend class NcFile;'. > friend NcFile; > ^^^^^^^^^^^^^^ > Warning: 3 future errors were detected and ignored. Add a '+p' option > to detect and fix them before they become fatal errors in a future release. > Behavior of this ill-formed program is not guaranteed to match that of a > well-formed program The above have been fixed in the latest version. Regards, Steve Emmerson