Skip to main content

Metis Application

The Metis application provides an interface to the METIS graph partitioning library, used within Kratos Multiphysics to generate mesh partitions for MPI runs.

The applicaiton is organized in a series of processes, each one of them providing an interface to a different partitioning algorithm. The algorithm most commonly used for finite elements is metis_divide_heterogeneous_input_process.h, which generates a partition of the mesh based on the nodal graph and can be used for meshes combining multiple element types.

Build instructions

Direct GNU/Linux install

Building the MetisApplication requires METIS libraries and their dependencies already installed on the system. The easiest way to get them is by the package manager of the GNU/Linux distribution. For example, in Ubuntu GNU/Linux:

sudo apt install libmetis-dev

However, there may be situations where downloading the packages may not be possible. In this case, other (potentially trickier) option is to download the source code and build the libraries. For more detailed and updated instructions for compiling METIS, GKlib, and other necessary packages, refer to Compiling Kratos with MPI support in the wiki.

Assuming that the dependencies are installed, the following steps are:

  1. Add the MetisApplication to the list of applications to be compiled in the building script for Kratos, as described in the install instructions.
export KRATOS_APPLICATIONS=
...
add_app ${KRATOS_APP_DIR}/MetisApplication
  1. Tell CMake where are located the libraries and headers of METIS, if CMake does not find them automatically. For example:
cmake -H"${KRATOS_SOURCE}" -B"${KRATOS_BUILD}" \
...
-DMETIS_ROOT_DIR="${HOME}/Projects/METIS/build"

Spack

Spack is a multi-platform package manager that builds and installs multiple versions and configurations of software. It works on GNU/Linux, macOS, and many supercomputers. Spack is non-destructive: installing a new version of a package does not break existing installations, so many configurations of the same package can coexist.

To install Spack you just need to run the following command:

git clone -c feature.manyFiles=true https://github.com/spack/spack.git

To use it you will need to add the corresponding environment variables (or call spack_location/spack/bin/spack):

. spack_location/spack/share/spack/setup-env.sh

Then in order to install METIS:

spack install parmetis

If you want that the libraries are added automatically to LD_LIBRARY_PATH to run the following commands before loading the modules:

spack config add modules:prefix_inspections:lib64:[LD_LIBRARY_PATH]
spack config add modules:prefix_inspections:lib:[LD_LIBRARY_PATH]

Now you just need to load METIS:

spack load parmetis

Once to compile MetisApplication just remember to add the application to the cofigure bash script:

export KRATOS_APPLICATIONS=
...
add_app ${KRATOS_APP_DIR}/MetisApplication

Metadata

Release files for KratosMetisApplication 10.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for KratosMetisApplication 10.4.4
File
kratosmetisapplication-10.4.4-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details
kratosmetisapplication-10.4.4-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details
kratosmetisapplication-10.4.4-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details
kratosmetisapplication-10.4.4-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details
kratosmetisapplication-10.4.4-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details
kratosmetisapplication-10.4.4-cp39-cp39-manylinux_2_28_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ x86-64 Details
kratosmetisapplication-10.4.4-cp38-cp38-manylinux_2_28_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.28+ x86-64 Details

Total release size: 12.0 MB

Release files / kratosmetisapplication-10.4.4-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL kratosmetisapplication-10.4.4-cp314-cp314-manylinux_2_28_x86_64.whl
Size 1.7 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
084135dfe419646353d21a0bb5488a31cf00199534feb95a149d9232c4aae749
BLAKE2b-256 checksum
How to use checksums
d85490bd44027439456d4988437f803a44bf789ecbc7ad056aef732f9f486d2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / kratosmetisapplication-10.4.4-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL kratosmetisapplication-10.4.4-cp313-cp313-manylinux_2_28_x86_64.whl
Size 1.7 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4e100c4e764d3e07a021ea5e790812b7ae6120ebf5ba6499d668778625670a1c
BLAKE2b-256 checksum
How to use checksums
527813fae3b1d1bfefc4d85e59a034cd1b0ae6f67629d859b454ea576884468a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / kratosmetisapplication-10.4.4-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL kratosmetisapplication-10.4.4-cp312-cp312-manylinux_2_28_x86_64.whl
Size 1.7 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
bc2f320c5c72171fc9c062421d71d0603e14806ce3cd61f80cec9054b5f4fd6b
BLAKE2b-256 checksum
How to use checksums
685ff237b78fac397f508cc691c166b6b574a2788723ec0c88ee90d37bacfc93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / kratosmetisapplication-10.4.4-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL kratosmetisapplication-10.4.4-cp311-cp311-manylinux_2_28_x86_64.whl
Size 1.7 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3c949a864a65f38b4ce750a36d5b049ecef5345b581ae7df9dd8e22211dfdbcc
BLAKE2b-256 checksum
How to use checksums
60abb60b146a306fdebfc3435053a5d63563f17176c047c5f668b9f136d595af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / kratosmetisapplication-10.4.4-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL kratosmetisapplication-10.4.4-cp310-cp310-manylinux_2_28_x86_64.whl
Size 1.7 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
70d8e8af45e342d97bf0ef5fdf208992cfc56b578a53590102785df97c8ef7e6
BLAKE2b-256 checksum
How to use checksums
4fd0a2f90821d88d7f88869f76f9b256fe63e0261b7c7e760a7ade5d71f423dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / kratosmetisapplication-10.4.4-cp39-cp39-manylinux_2_28_x86_64.whl

Download URL kratosmetisapplication-10.4.4-cp39-cp39-manylinux_2_28_x86_64.whl
Size 1.7 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cbe35024307ae65556f2145895cc86b2966539a17aab1cd76fd0e7342b590783
BLAKE2b-256 checksum
How to use checksums
705b33b2b901e43a057ccdd2c61361f1039f89169a699eaf7d59ab0b858395c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / kratosmetisapplication-10.4.4-cp38-cp38-manylinux_2_28_x86_64.whl

Download URL kratosmetisapplication-10.4.4-cp38-cp38-manylinux_2_28_x86_64.whl
Size 1.7 MB
Tags CPython 3.8 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fd1d23ed9ae136c1b09aa4b554f3644b66a434c86b2516caa108b9ca602f58a1
BLAKE2b-256 checksum
How to use checksums
917a39110414f29abf7129c4f0d4f3b950747cf1ff5a2986df750dfd76b0a7da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

10.4.4 This release

7 release files

10.3.1

7 release files

10.3.0

7 release files

10.2.3

6 release files

10.2.2

6 release files

10.2.1

5 release files

10.2.0

5 release files

10.1.0

5 release files

10.0.0

5 release files

9.5.2

5 release files

9.5.1

5 release files

9.5

5 release files

9.4.5

4 release files

9.4.4

4 release files

9.4.3

4 release files

9.4.2

4 release files

9.4.1

4 release files

9.4

4 release files

9.3.2

4 release files

9.3.1

4 release files

9.3

4 release files

9.2.1

5 release files

9.2.0

5 release files

9.1.4

5 release files

9.1.2

5 release files

9.1.0

5 release files

9.0.3

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page