METIS
1.0.0
METIS是一组串行程序,用于分区图,分区有限元网格以及为稀疏矩阵生成填充订单。 METIS实施的算法基于我们实验室中开发的多层次递归三个分配,多级K道和多构造分区方案。
您可以通过使用命令将METIS下载:
git clone https://github.com/KarypisLab/METIS.git
要构建METIS,您可以按照以下说明进行操作:
建筑METIS的一般依赖性为:GCC,CMAKE,Build-Essential。在Ubuntu系统中,这些可以从APT软件包管理器(例如,APT-GET安装Cmake等)获得。
sudo apt-get install build-essential
sudo apt-get install cmake
此外,您需要按照在那里的说明下载和安装Gklib。
METIS主要是通过传递选项进行配置来配置的。例如:
make config shared=1 cc=gcc prefix=~/local
make install
将配置METIS使用GCC构建为共享库,然后将二进制文件,标头文件和库安装在
~/local/bin
~/local/include
~/local/lib
目录分别。
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 METIS.
i64=1 - Sets to 64 bits the width of the datatype that will store information
about the vertices and their adjacency lists.
r64=1 - Sets to 64 bits the width of the datatype that will store information
about floating point numbers.
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]
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.
版权1998 - 2020年,明尼苏达大学摄政
根据Apache许可证(版本2.0(“许可”)获得许可;除了符合许可外,您不得使用此文件。您可以在
http://www.apache.org/licenses/license-2.0
除非适用法律要求或以书面形式同意,否则根据许可证分配的软件是按照“原样”分发的,没有任何明示或暗示的任何形式的保证或条件。请参阅许可证,以获取执行许可条款和限制的特定语言。