fluidity install on Cluster
fluidity install on Cluster
1.编译器安装 gcc4.6 openmpi python
HOME_PATH= /hpcdata1/xiaozhong/
1.1.gmp & mpc & mpfr
1.1.1.gmp-6.0.0
$ tar -xvf gmp-6.0.0a.tar.bz2
$ cd gmp-6.0.0
./configure --prefix=/hpcdata1/xiaozhong/public/gmp-6.0.0 \
--enable-cxx
make -j4
make install
1.1.2.mpfr-3.1.2
$ tar -xvf mpfr-3.1.2.tar.bz2
$ cd mpfr-3.1.2
./configure --prefix=/hpcdata1/xiaozhong/public/mpfr-3.1.2 \
--with-gmp=/hpcdata1/xiaozhong/public/gmp-6.0.0
make -j4
make install
1.1.3.mpc
$ tar -xvf mpc-1.0.2.tar.gz
$ cd mpc-1.0.2
./configure --prefix=/hpcdata1/xiaozhong/public/mpc-1.0.2 \
--with-gmp=/hpcdata1/xiaozhong/public/gmp-6.0.0 \
--with-mpfr=/hpcdata1/xiaozhong/public/mpfr-3.1.2
make -j4
make install
1.1.4.set environment path
$ vi ~/.bashrc
edit .bashrc
export LD_LIBRARY_PATH=/hpcdata1/xiaozhong/public/mpc-1.0.2/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/hpcdata1/xiaozhong/public/gmp-6.0.0/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/hpcdata1/xiaozhong/public/mpfr-3.1.2/lib:$LD_LIBRARY_PATH
1.2.gcc-4.6
$ tar -xvf gcc-4.6.4.tar
$ cd gcc-4.6.4
./configure \
--prefix=/hpcdata1/xiaozhong/public/gcc-4.6.4 \
--with-mpc=/hpcdata1/xiaozhong/public/mpc-1.0.2 \
--with-mpfr=/hpcdata1/xiaozhong/public/mpfr-3.1.2 \
--with-gmp=/hpcdata1/xiaozhong/public/gmp-6.0.0 \
--enable-languages=c,c++,fortran
make -j4
make install
set environment path
要将动态链接库位置添加到 LD_LIBRARY_PATH 内,否则编译好程序无法运行
export PATH=/hpcdata1/xiaozhong/public/gcc-4.6.4/bin:$PATH
export LD_LIBRARY_PATH=/hpcdata1/xiaozhong/public/gcc-4.6.4/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/hpcdata1/xiaozhong/public/gcc-4.6.4/lib64:$LD_LIBRARY_PATH
1.3.openmpi-1.8.3
$ tar -xvf openmpi-1.8.3.tar
$ cd openmpi-1.8.3
./configure \
--prefix=/hpcdata1/xiaozhong/public/openmpi-1.8.3 \
CC=gcc \
CXX=g++ \
FC=gfortran \
CFLAGS=-fgnu89-inline
make -j4
make install
edit .bashrc
export PATH=/hpcdata1/xiaozhong/public/openmpi-1.8.3/bin:$PATH
export LD_LIBRARY_PATH=/hpcdata1/xiaozhong/public/openmpi-1.8.3/lib:$LD_LIBRARY_PATH
1.4.python
1.4.1.python 2.7
$ wget --no-check-certificate http://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz2
$ tar -xvf Python-2.7.3.tar.bz2
$ make
the system print:
Python build finished, but the necessary bits to build these modules were not found:
_tkinter bsddb185 dl
imageop sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.
无视,继续
$ make install
1.4.2.setuptools
$ tar -xvf setuptools-12.0.5.tar.gz
$ cd setuptools-12.0.5
$ su
python setup.py install --prefix=/hpcdata1/xiaozhong/public
此时在/hpcdata1/xiaozhong/public
目录下生成lib/python2.7/site-packages
目录,运行里面setuptools-12.0.5-py2.7.egg
脚本,便在/usr/local/bin/
目录下生成easy_install程序。
sudo sh ./setuptools-12.0.5-py2.7.egg
测试
easy_install numpy
Searching for numpy
Reading https://pypi.python.org/simple/numpy/
Download error on https://pypi.python.org/simple/numpy/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
Couldn't find index page for 'numpy' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some packages may not be found!
No local packages or download links found for numpy
error: Could not find suitable distribution for Requirement.parse('numpy')
curl的证书太老了需要下载最新的证书
下载最新的证书文件
$ wget http://curl.haxx.se/ca/cacert.pem
更名为ca-bundle.crt放置到默认目录
$ mv cacert.pem ca-bundle.crt
$ mv ca-bundle.crt /etc/pki/tls/certs
还是不能用!!!
1.4.3.numpy 源程序安装
首先添加安装位置到PYTHONPATH环境变量中,edit .bashrc
export PYTHONPATH=/hpcdata1/xiaozhong/public/lib/python2.7/site-packages/:$PYTHONPATH
$ tar -xvf numpy-1.9.2.tar.gz
$ cd setuptools-12.0.5
$ python setup.py install --prefix=/hpcdata1/xiaozhong/public
不成功?
fluidity install on Cluster的更多相关文章
- install kubernetes cluster k8s集群安装
一,安装docker-ce 17.031,下载rpm包 Wget -P /tmp https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/ ...
- CentOS 7 install slurm cluster
//slurm install //CentOS 7 system //192.168.159.141 node01 //192.168.159.142 node02 systemctl stop f ...
- centos install zookeeper cluster
1.apache官方下载, 2.新版本需要jdk环境,然后配置好jdk环境 3.解压zookeeper,进入解压后的conf,新建zoo.cfg (删掉自带的cfg)内容如下 tickTime=200 ...
- How to install Hadoop Cluster
https://dwbi.org/etl/bigdata/183-setup-hadoop-cluster https://www.linode.com/docs/databases/hadoop/h ...
- RAC的QA
RAC: Frequently Asked Questions [ID 220970.1] 修改时间 13-JAN-2011 类型 FAQ 状态 PUBLISHED Appli ...
- 《Getting Started with Storm》译文 Homepage
拿到这本书感觉还挺薄,所以当下就想赶紧读完,然后尝试着翻译下,并加上一些自己的理解,作学习交流之用,非盈利性质 这段时间在做一个 分布式的.支持大吞吐的.实时的日志系统 ,主要用到的开源方案有Kaf ...
- how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx
BEFORE STARTING IT IS IMPORTANT TO KNOW THAT THIS ENVIRONMENT IS NOT SUPPORTED BY MICROSOFT. USE IT ...
- 快速搭建MongoDB分布式集群
目录Outline 1. prerequisites 2. steps to follow3. configuring the cluster4. a little test to see 1. Pr ...
- ML: 聚类算法R包-模糊聚类
1965年美国加州大学柏克莱分校的扎德教授第一次提出了'集合'的概念.经过十多年的发展,模糊集合理论渐渐被应用到各个实际应用方面.为克服非此即彼的分类缺点,出现了以模糊集合论为数学基础的聚类分析.用模 ...
随机推荐
- 【UE4 插件】UnrealEnginePython 源码版编译、项目打包注意事项
源码下载 git clone git clone https://github.com/20tab/UnrealEnginePython 直接下载zip https://github.com/20ta ...
- C/C++ 数据类型 表示最大 最小数值 探讨
C/C++中存储数字格式有整型和浮点型 字符型数据本质上也是以整型存储 整型 对于整型数据,最大值最小值很好计算 先确定对应数据型在本地所占用的字节数,同一数据型由于系统或者编译器的不同,所占字节不同 ...
- 易维巡APP技术支持
亲爱的用户 如果您在使用我们的产品时遇到任何问题,请随时与我们联系,我们将全力全意为您解决! 请发邮件与我们联系,我们将24小时为您服务! 电话:18251927768 邮箱地址:xshm999@16 ...
- 【二食堂】Alpha - Scrum Meeting 7
Scrum Meeting 7 例会时间:4.17 11:40 - 12:00 进度情况 组员 昨日进度 今日任务 李健 1. 继续文本区域的开发,先完成目前简陋的添加方式,再区实现勾选功能issue ...
- Linux C 数据结构 ->单向链表
之前看到一篇单向链表的博文,代码也看着很舒服,于是乎记录下来,留给自己~,循序渐进,慢慢 延伸到真正的内核链表~(敢问路在何方?路在脚下~) 1. 简介 链表是Linux 内核中最简单,最普通的数据结 ...
- 你一定不知道的Unsafe用法
Unsafe是什么 首先我们说Unsafe类位于rt.jar里面sun.misc包下面,Unsafe翻译过来是不安全的,这倒不是说这个类是不安全的,而是说开发人员使用Unsafe是不安全的,也就是不推 ...
- P2774 方格取数问题(最小割)
P2774 方格取数问题 一看题目便知是网络流,但由于无法建图.... 题目直说禁止那些条件,这导致我们直接建图做不到,既然如此,我们这是就要逆向思维,他禁止那些边,我们就连那些边. 我们将棋盘染色, ...
- 深入了解Mybatis架构设计
架构设计 我们可以把Mybatis的功能架构分为三层: API接口层:提供给外部使用的接口API,开发人员通过这些本地API来操纵数据库.接口层一接收到调用请求就会调用数据处理层来完成具体的数据处理. ...
- Centos 7 局域网 yum 源搭建
一.需求及实现方式介绍: 需求:现在各个软件版本更新迭代很快,在我们部署一套集群(比如:openstack)后,如果过一段时间想扩展集群时发现软件版本早已迭代更新,安装后导致和现有环境或多或少不兼容, ...
- xmind 文件 打开后会在当前目录生成 configuration,p2和workspace目录,artifacts.xml文件 解决
在xmind安装目录下的xmind.ini修改如下配置,为绝对路径