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.
Unidata Support <address@hidden> writes: > ------- Forwarded Message > >>To: address@hidden >>From: "Sylvia Navarro" <address@hidden> >>Subject: netCDF Fortran (77 + 90) - Compile using Pathscale >>Organization: Harris Corp. >>Keywords: 200505121504.j4CF4iTM015133 netCDF > > Institution: Harris Corp > Package Version: 3.5.1 > Operating System: RedHat EL 3.0 AS > Hardware Information: HP Opteron server x86_64 > Inquiry: I am in the process of trying to compile Fortran (77 & 90), C & C++ > code using Pathscale and netCDF version 3.5.1. > > I have visited the NetCDF Builds page, and noted there is a patch for > compiling netcdf3.5.1 with Pathscale. My question is this: Do I copy this > patch code into the cfortran.h file or replace the file with this patch? > > Also, is there a noted CPPFLAGS environment variable available - I have not > been able to find this on any page? > > Thank you, > Sylvia Navarro > > > > -- > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publicly available > through the web. If you do not want to have your interactions made > available in this way, you must let us know in each email you send to us. > > ------- End of Forwarded Message > > Patch files are applied with the patch tool. Do "man patch" on your system. Is there some reason you want to use 3.5.1? The latest versions is 3.6.0p1, and significant functionality has been added. If you do get the latest version, see: http://my.unidata.ucar.edu/content/software/netcdf/docs/other-builds.html#pathscale-auth for the environment variables to set. Good luck! Ed -- Ed Hartnett -- address@hidden