[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #DUJ-653621]: netcdf installation
- Subject: [netCDF #DUJ-653621]: netcdf installation
- Date: Wed, 11 Jun 2014 14:59:42 -0600
Hi Sneha,
> I am a newbie so I request you to kindly ignore the silly question if it is
> and humble request to give the reply for the same. I am new to HYCOM model
> and trying to install it into my CentOS 6.5 Version with gfortran
> architecture machine. Recently I came to know that for converting the files
> into netcdf files in hycom I will require a version of netcdf, PGI fortran
> compiler. Can you please help me out with which version of netcdf I should
> install and on which location in my system and how should i install in
> order to make my files work with compatibility of hycom.
> Also kindly state what files I will require to install netcdf.
We don't develop or maintain HYCOM, but I looked at some output files, and they
all appear to be netCDF-3 64-bit offset files, so I can make a recommendation
based on that.
You don't need support for netCDF-4 files now, but if HYCOM begins to use some
of the features of netCDF-4, such as compression, you may have to upgrade.
Get the current netCDF source code release here, then use tar to expand it into
a source directory where you will build and test it:
https://github.com/Unidata/netcdf-c/archive/v4.3.2.tar.gz
Follow the instructions here:
http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html#build_classic
to build a the netCDF C library that supports access to netCDF-3 data.
If you also need the netCDF Fortran library, you will need to install it
*after* you have built and installed the C library. Get the netCDF-Fortran
source distribution here:
https://github.com/Unidata/netcdf-fortran/archive/netcdf-fortran-4.2.tar.gz
and follow the instructions for building here:
http://www.unidata.ucar.edu/software/netcdf/docs/building_netcdf_fortran.html
Good luck, and let us know if you have any problems.
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: DUJ-653621
Department: Support netCDF
Priority: Normal
Status: Closed