码迷,mamicode.com
首页 > 其他好文 > 详细

METIS 安装过程

时间:2017-05-23 00:32:45      阅读:1096      评论:0      收藏:0      [点我收藏+]

标签:install   conf   vim   share   shared   pre   har   等于   官网   

官网下载包

yum -y instll gcc
yum -y install gcc*
yum -y install cmake

环境Python2.7.3
创建/home/Python/metis 权限777

1. tar zxvf 
2. cd metis
    修改一个include/××××。h的文件等于64 (文件名忘了)
3. sudo make config shared=1 cc=gcc prefix=/home/python/metis
4. make
5. make install
6. vim ~./bashrc  
    export METIS_DLL=/home/python/metis/lib/libmetis.so
7. 重启
8. pip install metis
success ok!!!

 

METIS 安装过程

标签:install   conf   vim   share   shared   pre   har   等于   官网   

原文地址:http://www.cnblogs.com/renfanzi/p/6891943.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!