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.
Charles, >Date: Fri, 21 Nov 2003 10:37:19 -0500 >From: "Charles F. Fisher" <address@hidden> >Organization: University of Kentucky >To: Steve Emmerson <address@hidden> >Subject: Re: 20031120: problem compiling netcdf-3.5.0 on hpux ia64 (Itanium 2) >machine The above message contained the following: > It worked in both 32-bit and 64-bit modes. I'm including the environment > for both. Note that the C compiler begin used is HP's ANSI C compiler. > > for 32 bit > > setenv CC cc > setenv CPPFLAGS "-D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -Dextname" > setenv FC f90 > setenv FFLAGS -w > setenv FLIBS -lU77 > setenv CXX aCC > > for 64 bit > > setenv CC cc > setenv CFLAGS +DD64 > setenv CPPFLAGS "-D_HPUX_SOURCE -D_FILE_OFFSET_BITS=64 -Dextname" > setenv FC f90 > setenv FFLAGS "-w +DD64" > setenv FLIBS -lU77 > setenv CXX aCC > setenv CXXFLAGS +DD64 > > Just so you have the right OS, etc. > > sdx0 172: uname -a > HP-UX sdx0 B.11.23 U ia64 1071763012 unlimited-user license Thanks. I'll put this information in our "other builds" webpage. Regards, Steve Emmerson