天河-1A下编译安装 HDF5 和 CGNS - 悲催的科学匠人 - 冷水's blog

天河-1A下编译安装 HDF5 和 CGNS

冷水 posted @ 2014年11月26日 22:05 in linux , 4457 阅读

天河-1A下编译安装 HDF5 和 CGNS

天河的开发环境太单薄了,很多库都没有,只能自己编译,没法像ubuntu那样apt-get一下就ok了


在hdf5的页面下载 zlib  szip,配置方式为
./configure  -prefix /home/jack/lib
然后 make;make install

配置 hdf5
./configure --prefix=/vol-th/home/jack/lib --with-zlib=/vol-th/home/jack/lib --with-szlib=/vol-th/home/jack/lib --enable-fortran --enable-cxx
然后 make;make install

配置 CGNS
cgns的安装配置有点古怪,需要我们自己把zlib的库文件(*.a)和头文件(*.h)拷贝到/vol-th/home/jack/lib下

 ./configure  --prefix=/vol-th/home/jack/lib --enable-64bit  --with-hdf5=/vol-th/home/jack/lib --with-zlib=/vol-th/home/jack/lib  --with-szip=/vol-th/home/jack/lib/szip-2.1/szip/lib/libsz.a

这里 --enable-64bit 得看实际需要来确定是否加上


然后需要修改make.defs中的两个设置。原始文件没有-ldl,这里必须自己加上
CLIBS   = -lm  -ldl
FLIBS  = -ldl
然后 make;make install

  • 无匹配
  • 无匹配
Avatar_small
cleaning services ab 说:
2019年9月17日 02:46

Everyone recommend which has a professional housecleaning services company however it is not to be different 100% on the services. Doing a portion of the house cleanings alone could save you money, improve your present health, and establish a great culture throughout the family paid members.

Avatar_small
XE88 说:
2021年8月28日 07:56

I might suggest solely beneficial in addition to trusted facts, and so find it:

Avatar_small
full time maids in d 说:
2021年9月05日 21:47

Well cleaning windows and removing hard water stains or spots has a special product you won't find everyday in your local hardware or grocery store. The glass restoration products I take advantage of can be ordered online at a variety of supply stores. In this article I will list some reputable places where you can order hard water stain removal products and give you some general information about how to remove hard water spots with a mini try it for yourself hard water stain removal tutorial.

Avatar_small
maid services dubai 说:
2021年9月19日 20:23

The pioneer impression should certainly make impression. When a professional enters the domestic office, always make an attempt to keep his/her to begin with impression suitable and fantastic. In addition to that particular, you must not keep any type of unpleasant signs at the front chair. For rich cleaning objectives, obviously, you are likely to book some cleaning system. Being gurus, they discover which information will swimsuit which covering.

Avatar_small
Satta king 说:
2021年9月24日 06:59

I should say only that its awesome! The blog is informational and always produce amazing things.

Avatar_small
ssali 说:
2022年5月22日 00:36

Great stuff. i am going to bookmark it, if you are looking for lyca beltegoed, lebara beltegoed, lyca bundel xs, samsung a52, samsung a51, samsung a72, iphone 13 pro max in Netherlands, get in touch with us.

 


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee