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.
Arindam, > To: Unidata Support <address@hidden> > From: Arindam Ghosh <address@hidden> > Subject: installing NetCDF-3.5.1 on RedHat Linux 9 > Organization: Indian Statistical Institute > Keywords: 200407151411.i6FEBIaW022745 The above message contained the following: > We'r trying to install NetCDF-3.5.1 on RH Linux 9 following the > installation guide at > > http://www.unidata.ucar.edu/packages/netcdf/INSTALL.html That's an old URL. The netCDF home-page is now http://my.unidata.ucar.edu/content/software/netcdf > we run the ./configure --prefix=.. at /root/netCDF/src/ then run 'make', > 'make test' and 'make install'. After that set the environment by > $ export CC=c89 > $ export CPPFLAGS="-O -DNDEBUG" > > there is no as such problem message during installation, but we'r little > bit confussed how to include the NetCDF header for a user at /home/user/. > do we need to set any path or something else? Actually I've very little > idea about the Linux and NetCDF. is there any 'help' or 'man' command for > NetCDF? The above URL contains much documentation on the netCDF package. You should be able to get the manual page on the netCDF library by executing the command man -M /root/netCDF/man 3 netcdf or by executing the command man 3 netcdf after adding the directory "/root/netCDF/man" to the environment variable MANPATH. To compile netCDF-using code, use a command like this: c89 -I/root/netCDF/include ... To link together a netCDF-using program, use a command like this: c89 ... -L/root/netCDF/lib -lnetcdf > Looking forward for your kind reply. > With regarsd, > > Arindam > > ---- > Arindam Ghosh > > Electronics and Communication Sciences Unit > Indian Statistical Institute,203, B.T. Road > Calcutta:700108,West Bengal, India Regards, Steve Emmerson > NOTE: All email exchanges with Unidata User Support are recorded in the > Unidata inquiry tracking system and then made publically 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.