NetCDF: Difference between revisions

From CBLFS
Jump to navigationJump to search
Chipster19 (talk | contribs)
No edit summary
 
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 5: Line 5:
|}
|}


== Introduction to NetCDF ==
----


NetCDF is a format developed at Unidata that was inspired by the CDF format from NASA. NetCDF stands for "Network Common Data Form" and is a self-describing data format, commonly used in scientific and engineering applications.
{{Package-Introduction|NetCDF is a format developed at Unidata that was inspired by the CDF format from NASA. NetCDF stands for "Network Common Data Form" and is a self-describing data format, commonly used in scientific and engineering applications.|http://www.unidata.ucar.edu/software/netcdf/}}
 
<b>Homepage:</b> http://www.unidata.ucar.edu/software/netcdf/


== Dependencies ==
== Dependencies ==
Line 17: Line 15:
Compile the package:
Compile the package:


  ./configure --prefix=/usr &&
  CFLAGS="-fPIC" ./configure --prefix=/usr &&
  make
  make


Install the package:
Install the package:
  make install
  make install


Line 27: Line 26:
=== 32Bit ===
=== 32Bit ===


  To do ...
Compile the package:
 
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
CFLAGS="-fPIC" FC="gfortran ${BUILD32}" \
  ./configure --prefix=/usr &&
make
 
Install the package:
 
make install


=== N32 ===
=== N32 ===


  To do ...
Compile the package:
 
  sed -i "s:/lib:&32:" macros.make.in &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
CFLAGS="-fPIC" FC="gfortran ${BUILDN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make
 
Install the package:
 
make install


=== 64Bit ===
=== 64Bit ===


  To do ...
Compile the package:
 
  sed -i "s:/lib:&64:" macros.make.in &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
CFLAGS="-fPIC" FC="gfortran ${BUILD64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make
 
Install the package:
 
make install


== Contents ==
== Contents ==
Line 41: Line 69:
{| style="text-align: left;"
{| style="text-align: left;"
|-valign="top"
|-valign="top"
!Installed Directories:
!Installed Programs:
|None
|ncgen, ncdump
|-valign="top"
|-valign="top"
!Installed libraries:
!Installed libraries:
|libnetcdf.a, libnetcdf_c++.a
|libnetcdf.a, libnetcdf_c++.a
|-valign="top"
|-valign="top"
!Installed Programs:
!Installed Directories:
|ncgen, ncdump
|None
|}
|}
[[Category:Science_Engineering]]

Latest revision as of 09:40, 18 October 2009

Download Source: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.0.1.tar.gz

Introduction to NetCDF

NetCDF is a format developed at Unidata that was inspired by the CDF format from NASA. NetCDF stands for "Network Common Data Form" and is a self-describing data format, commonly used in scientific and engineering applications.

Project Homepage: http://www.unidata.ucar.edu/software/netcdf/

Dependencies

Non-Multilib

Compile the package:

CFLAGS="-fPIC" ./configure --prefix=/usr &&
make

Install the package:

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
CFLAGS="-fPIC" FC="gfortran ${BUILD32}" \
./configure --prefix=/usr &&
make

Install the package:

make install

N32

Compile the package:

sed -i "s:/lib:&32:" macros.make.in &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
CFLAGS="-fPIC" FC="gfortran ${BUILDN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package:

make install

64Bit

Compile the package:

sed -i "s:/lib:&64:" macros.make.in &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
CFLAGS="-fPIC" FC="gfortran ${BUILD64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package:

make install

Contents

Installed Programs: ncgen, ncdump
Installed libraries: libnetcdf.a, libnetcdf_c++.a
Installed Directories: None
Retrieved from "?title=NetCDF&oldid=19587"