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的更多相关文章

  1. install kubernetes cluster k8s集群安装

    一,安装docker-ce 17.031,下载rpm包 Wget -P /tmp https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/ ...

  2. CentOS 7 install slurm cluster

    //slurm install //CentOS 7 system //192.168.159.141 node01 //192.168.159.142 node02 systemctl stop f ...

  3. centos install zookeeper cluster

    1.apache官方下载, 2.新版本需要jdk环境,然后配置好jdk环境 3.解压zookeeper,进入解压后的conf,新建zoo.cfg (删掉自带的cfg)内容如下 tickTime=200 ...

  4. How to install Hadoop Cluster

    https://dwbi.org/etl/bigdata/183-setup-hadoop-cluster https://www.linode.com/docs/databases/hadoop/h ...

  5. RAC的QA

    RAC: Frequently Asked Questions [ID 220970.1]   修改时间 13-JAN-2011     类型 FAQ     状态 PUBLISHED   Appli ...

  6. 《Getting Started with Storm》译文 Homepage

    拿到这本书感觉还挺薄,所以当下就想赶紧读完,然后尝试着翻译下,并加上一些自己的理解,作学习交流之用,非盈利性质 这段时间在做一个  分布式的.支持大吞吐的.实时的日志系统 ,主要用到的开源方案有Kaf ...

  7. 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 ...

  8. 快速搭建MongoDB分布式集群

    目录Outline 1. prerequisites 2. steps to follow3. configuring the cluster4. a little test to see 1. Pr ...

  9. ML: 聚类算法R包-模糊聚类

    1965年美国加州大学柏克莱分校的扎德教授第一次提出了'集合'的概念.经过十多年的发展,模糊集合理论渐渐被应用到各个实际应用方面.为克服非此即彼的分类缺点,出现了以模糊集合论为数学基础的聚类分析.用模 ...

随机推荐

  1. the Agiles Scrum Meeting 2

    会议时间:2020.4.10 21:00 1.每个人的工作 今天已完成的工作 yjy:debug:班级创建了个人项目不能访问班级:教师窗口的前端bug. issues:Bug:教师创建博客时显示项目为 ...

  2. 模拟赛18 T1 施工 题解

    前言: 真的是不容易啊.这个题在考场上想到了最关键的性质,但是没写出来. 后来写出来,一直调,小错不断. 没想到改的最后一个错误是两个int 乘起来爆了int 其实最后我还是觉得复杂度很假.\(n^2 ...

  3. 洛谷 P2680 [NOIP2015 提高组] 运输计划

    链接:P2680 题意: 在树上把一条边边权变为0使得最长给定路径最短 分析: 最大值最小可以想到二分答案,对于每一个mid,寻找所有大于mid的路径,再寻找是否存在一条边使得删去它后大于mid的路径 ...

  4. 『学了就忘』Linux基础 — 6、VMware虚拟机安装Linux系统(超详细)

    目录 1.打开VMware虚拟机软件 2.选择Linux系统的ISO安装镜像 3.开启虚拟机安装系统 (1)进入Linux系统安装界面 (2)硬件检测 (3)检测光盘 (4)欢迎界面 (5)选择语言 ...

  5. 树的子结构 牛客网 剑指Offer

    树的子结构 牛客网 剑指Offer 题目描述 输入两棵二叉树A,B,判断B是不是A的子结构.(ps:我们约定空树不是任意一个树的子结构) # class TreeNode: # def __init_ ...

  6. 黑客是如何利用DNS域传送漏洞进行渗透与攻击的?

    一.DNS域传送 DNS :Domain Name System 一个保存IP地址和域名相互映射关系的分布式数据库,重要的互联网基础设施,默认使用的TCP/UDP端口号是53 常见DNS记录类型: 1 ...

  7. List<String>转List<Integer>

    List<Integer> intList = strList.stream().map(Integer::parseInt).collect(Collectors.toList()); ...

  8. 服务端渲染技术NUXT

    什么是服务端渲染 ​ 服务端渲染又称SSR (Server Side Render),是在服务端完成页面的内容,而不是在客户端通过AJAX获取数据. 服务器端渲染(SSR)的优势主要在于:更好的 SE ...

  9. 电脑变WIFI:建立虚拟共享WIFI热点可查看WIFI密码windows中使用bat批处理命令提示符cmd创建教程含工具

    台式机也可支持移动热点,Win10却提示"我们无法设置移动热点",今天我们就另辟蹊径来调教它. ​​建立和开启虚拟WIFI共享网络 Windows 7操作系统及以后支持承载网络,可 ...

  10. dart系列之:dart语言中的特殊操作符

    dart系列之:dart语言中的特殊操作符 目录 简介 普通操作符 类型测试操作符 条件运算符 级联符号 类中的自定义操作符 总结 简介 有运算就有操作符,dart中除了普通的算术运算的操作符之外,还 ...