[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #YBC-350032]: two different version of netcdf



> Good day, could you help me how to install two different versions of netcdf
> in the same computer on linux plataform?
> 
> Version 3.6.3 and 4.1.1

you would have to install the different versions in different root directories,
using different --prefix=... options when configuring the software as the first
step in building it.

For example, you might use

  ./configure --prefix=/usr/netcdf3 other-options ...

for the 3.6.3 version and

  ./configure --prefix=/usr/netcdf4 other-options ...

for the 4.1.1 version.

But netCDF-4 is compatible with netCDF-3.  It supports the netCDF-3 formats for
both reading and writing, and includes all the netCDF-3 function calls in a
backward-compatible way.  So nay program that works with netCDF-3 should work in
exactly the same way (except for some fixed bugs) using netCDF-4.  So you should
not have to install two different versions of the library.  

Is there a reason you need both the old version and the new version that 
compatibly 
extends the old version?

--Russ

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: YBC-350032
Department: Support netCDF
Priority: Normal
Status: Closed