> Thank you for your answer. Could you please send me the link that iÂget the > Ubuntu package with netcdf-fortran already built? I don't know what version of netcdf-fortran this uses, but it may be what you're looking for: http://packages.ubuntu.com/hardy/libnetcdf-dev --Russ > --- On Mon, 1/14/13, Unidata netCDF Support <address@hidden> wrote: > > > From: Unidata netCDF Support <address@hidden> > Subject: [netCDF #FMU-973850]: installing netcdff.la or netcdf.a > To: address@hidden > Cc: address@hidden > Date: Monday, January 14, 2013, 7:56 PM > > > Hi Keyvan. > > > I installed netcdf-4.2.1 and > > netcdf-3.6.2 on ubuntu with ifort. I want to read nc data by fortran > > code. I checked the lib and noticed that it doesn't have netcdff.a or > > netcdff.la !!!!!!!!!!!!! How can I install netcdf with netcdfff.a or > > netcdff.la files. > > You should only install one version of the library, preferably the most > recent, which for Ubuntu would be netcdf-4.2.1.Â (We have a later version > 188.8.131.52 available in a source release.) > > To read netCDF data from Fortran, you also need to get and install the > netcdf-fortran software, which has been separate from the netCDF-C > library since the 4.1.3 release.Â After you have installed the netCDF C > library, the netCDF-fortran library can be built and installed following > these instructions: > > Â http://www.unidata.ucar.edu/netcdf/docs/netcdf-fortran-install.html > > It's also possible that there is an Ubuntu package with netcdf-fortran > already built, which would make this step a little bit easier. > > --Russ > > Russ RewÂ Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ÂÂÂUCAR > Unidata Program > address@hidden Â Â Â Â Â Â Â Â Â Â http://www.unidata.ucar.edu > > > > Ticket Details > =================== > Ticket ID: FMU-973850 > Department: Support netCDF > Priority: Normal > Status: Closed > > > Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: FMU-973850 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.