百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

ParMETIS

> 编程语言
开源

ParMETIS - 并行图分割和减少填充的矩阵排序

179 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

ParMETIS - 并行图分割和减少填充的矩阵排序

ParMETIS

ParMETIS is an MPI-based library for partitioning graphs, partitioning finite element meshes, and producing fill reducing orderings for sparse matrices. The algorithms implemented in ParMETIS are based on the multilevel recursive-bisection, multilevel k-way, and multi-constraint partitioning schemes developed in our lab.

Downloading ParMETIS

You can download ParMETIS by simply cloning it using the command:

bash
git clone https://github.com/KarypisLab/ParMETIS.git

Building the ParMETIS library

To build ParMETIS you can follow the instructions below:

Dependencies

General dependencies for building ParMETIS are: gcc, cmake, build-essential, and an MPI library. In Ubuntu systems these can be obtained from the apt package manager (e.g., apt-get install cmake, mpich, etc)

bash
sudo apt-get install build-essential
sudo apt-get install cmake

In addition, you need to download and install GKlib and METIS by following the instructions there.

Building and installing ParMETIS

ParMETIS is primarily configured by passing options to make config. For example:

make config cc=mpicc prefix=~/local
make install

will configure ParMETIS to be built using mpicc and then install the binaries, header files, and libraries at

~/local/bin
~/local/include
~/local/lib

directories, respectively.

Common configuration options are:

cc=[compiler]     - The C compiler to use [default is determined by CMake]
shared=1          - Build a shared library instead of a static one [off by default]
prefix=[PATH]     - Set the installation prefix [~/local by default]
gklib_path=[PATH] - Set the prefix path where GKlib has been installed. You can skip
                    this if GKlib's installation prefix is the same as that of ParMETIS.
metis_path=[PATH] - Set the prefix path where METIS has been installed. You can skip
                    this if METIS' installation prefix is the same as that of ParMETIS.

Advanced debugging related options:

gdb=1           - Build with support for GDB [off by default]
debug=1         - Enable debugging support [off by default]
assert=1        - Enable asserts [off by default]
assert2=1       - Enable very expensive asserts [off by default]

Other make commands

make uninstall
     Removes all files installed by 'make install'.

make clean
     Removes all object files but retains the configuration options.

make distclean
     Performs clean and completely removes the build directory.

Definitions of supported data types

ParMETIS uses the same data types for integers and floating point numbers (32/64 bit integers and single/double precision floating point numbers) as used when configuring and building METIS.

Copyright & License Notice

Copyright 1998-2020, Regents of the University of Minnesota

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言