Hi Dan, > I am a systems administrator for CISL and I have a request to install > NetCDF. Can you point me to the instructions for general installs on a > Mac? Are there any special instructions for after building such as > adding something to the environment path? Installing the netCDF-C library works the same on OSX as any other platform. You can use either the configure script or cmake: http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html You have to install HDF5 first. Installing netCDF-Fortran on OSX is a little trickier, because the OSX developer tools don't come with a Fortran compiler, so you have to first install one comaptible with the C compiler you'll be using. If you use MacPorts, I think you can just use "port netcdf-fortran" and it will handle all the dependencies. Some people have also reported success with HomeBrew. For building netCDF-Fortran from source yourself, follow these instructions: http://www.unidata.ucar.edu/netcdf/docs/building_netcdf_fortran.html They mention using DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH for OSX builds. --Russ > -- > Dan Rosen > Computational & Information Systems Laboratory - WSST > The National Center for Atmospheric Research > 303.497.2003 > > Schedule Spring 2014 > Monday: 8am-2pm > Wednesday: 8am -2pm > Friday: 8am - 5pm > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: TFE-190602 Department: Support netCDF Priority: Normal Status: Closed
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.