源码编译 METIS 以及 GKlib 在Linux ubuntu上

1. GKlib 构建



$ git clone --recursive [email protected]:Kleenelan/GKlib.git
$ cd GKlib/
$ make config cc=gcc openmp=set
$ make
$ make install


源码构建了 GKlib 的 openmp 版本,以便充分使用多核的算力;

make config cc=gcc openmp=set 的效果图:

源码编译 METIS 以及 GKlib 在Linux ubuntu上_第1张图片

测试GKlib的方式是编译 METIS;

2. METIS 构建

$ git clone --recursive [email protected]:Kleenelan/METIS.git
$ cd METIS
$ make config shared=1 openmp=1 cc=gcc prefix=~/local
$ make install

执行配置是的效果图:

源码编译 METIS 以及 GKlib 在Linux ubuntu上_第2张图片

查看安装目录:

源码编译 METIS 以及 GKlib 在Linux ubuntu上_第3张图片

找不到动态库时,设置一下环境变量:

export LD_LIBRARY_PATH=~/local/lib

METIS 的手册:

https://github.com/Kleenelan/METIS/tree/master/manual

你可能感兴趣的:(有限元,高性能计算,hpc)