yaozhixiong的个人博客分享 http://blog.sciencenet.cn/u/yaozhixiong

博文

install netcdf hdf5 antlr udunits in linux

已有 6660 次阅读 2012-11-30 10:50 |个人分类:linux|系统分类:科研笔记|关键词:学者| HDF5, install, NetCDF, antlr, udunits

在集群上面安装软件netcdf hdf5 antlr udunits

****************************************

Install hdf  (hdf5-1.8.10)

./configure --prefix=/public/userspace/yaozhixiong/program/hdf --enable-shared --enable-hl
make
make install

 ****************************************



Install netcdf (netcdf-4.2.1)

LDFLAGS=-L/public/userspace/yaozhixiong/program/hdf/lib CPPFLAGS=-I/public/userspace/yaozhixiong/program/hdf/include 
./configure --enable-netcdf-4 --enable-dap --enable-shared --prefix=/public/userspace/yaozhixiong/program/netcdf

make
make install

 ****************************************



Install antlr   (antlr2.7.7)

参考http://blog.wamaker.net/post/antlr-installation

./configure –with-cxx=g++ –with-java –enable-cxx –prefix=/public/userspace/yaozhixiong/program/antlr

make

make install

  ****************************************



install udunits (udunits-2.1.24)

参考 http://bla.sphemo.us/2011/03/18/compile-and-install-nco-netcdf-operators-on-linux/

CC=gcc CXX=' ' F77=gfortran

./configure --prefix=/public/userspace/yaozhixiong/program/udunits

make

make install

 



https://m.sciencenet.cn/blog-419857-637724.html

上一篇:xp office2007 单窗口多标签,文件
下一篇:matlab 同一张图多个子图共用一个colorbar

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-23 19:23

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部