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.
>From: Dusan Odstrcil <address@hidden> >Subject: problems on hp-ux >Organization: NOAA >Keywords: 200010260029.e9Q0Ta408618 netCDF 3.5 HP-UX 10.20 Dusan, > there is some progress but there are new errors. I attache > the *.log files. Oops, sorry, when I said: > 1. Go to the top-level source directory. > > 2. Perform steps 3 through 5 near the end of the INSTALL file. > > 3. Ensure that the environment variable FFLAGS contains the strings > "-O 3" and "-D_HPUX_SOURCE". > > 4. Perform steps 6 through 9 near the end of the INSTALL file. step 3 *should* have been 3. Ensure that the environment variable CPPFLAGS contains the string "-D_HPUX_SOURCE" and that the environment variable FFLAGS contains the string "-O 3". Incidentally, a setting for environment variables that works for HPUX 10 is in the INSTALL file that comes with the netCDF source distribution: HP-UX robin B.10.20 E 9000/715 2010262449 8-user license Note: Subtle problems that may be difficult to diagnose reportedly result if a C application compiled without the "+a" C flag is linked against the library compiled with the "+a" C flag. CC=/bin/c89 CPPFLAGS="-D_HPUX_SOURCE -DNDEBUG" CFLAGS=-O FC=/opt/fortran/bin/fort77 # might be /usr/bin/fort77 instead FFLAGS="-O3 -w" CXX=/usr/bin/CC Sorry again for getting the fix wrong, I just copied it from a previous reply that was evidently wrong. --Russ _____________________________________________________________________ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu