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.
Ravi, You've done everything necessary to install netCDF Fortran and C software. --Russ > Thanks for the reply. I followed instructions to install netCDF 'C' on this > page (after installing zlib & HDF5): > http://www.unidata.ucar.edu/software/netcdf/docs/build_default.html > And it said "Congratulations! You have successfully installed netCDF! " > > I installed HDF5, zlib & the target install directory all in a separate > directory called '~/work/local'. > Then I followed instructions for installing FORTRAN netCDF, pointing to the > same directory '~/work/local'. > It said "Congratulations! You have successfully installed the netCDF Fortran > libraries." > > I did a 'make check' in my netCDF Fortran4.2 directory (not the > '~/work/local') and it says "All 8 tests passed'. > > Does this mean I installed netCDF Fortran and 'C' properly ? Is there > anything else I need to do ? > Thanks > Ravi > > > > > > On Jun 3, 2013, at 11:39 PM, "Unidata netCDF Support" <address@hidden> wrote: > > > Hi Ravi, > > > >> I installed netCDF 'C' library and I do not see a 'lib' directory in the > >> install. Instead, I see several directories that are: > >> ******** > >> [ruk15@lionxf netcdf-4.3.0]$ ls lib* > >> libcdmr/ libdispatch/ liblib/ libsrc/ libtool > >> libdap2/ lib_flags.am librpc/ libsrc4/ > >> [ruk15@lionxf netcdf-4.3.0]$ > >> ********* > >> > >> I need 'lib' directory to set the ${LD_LIBRARY_PATH} variable so that I > >> can install netCDF Fortran. So can you tell me why there is no 'lib' > >> directory in the installation for C? > > > > What you're looking at is not a binary installation, but a source > > distribution of > > the netCDF C library, version 4.3.0. In order to convert that into an > > installation, > > you have to configure it, specifying where it should be installed, then > > build it with > > a C compiler, then install it, as described here: > > > > http://www.unidata.ucar.edu/netcdf/docs/building.html > > > > After the C library is installed, you can install netCDF Fortran by > > following these > > instructions: > > > > http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html > > > > If instead you want a binary installation, they're available for some > > platforms > > through package management systems such as dpkg, yum, macports, etc. > > > > --Russ > > > > Russ Rew UCAR Unidata Program > > address@hidden http://www.unidata.ucar.edu > > > > > > > > Ticket Details > > =================== > > Ticket ID: NTL-246975 > > Department: Support netCDF > > Priority: Normal > > Status: Closed > > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: NTL-246975 Department: Support netCDF Priority: Normal Status: Closed