Skip to main content

KRATOS Multiphysics ("Kratos") is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

kratosmetisapplication-10.4.2-cp314-cp314-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-cp313-cp313-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-cp312-cp312-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-cp311-cp311-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-cp310-cp310-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-cp39-cp39-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-cp38-cp38-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-1-cp314-cp314-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-1-cp313-cp313-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-1-cp312-cp312-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-1-cp311-cp311-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-1-cp310-cp310-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-1-cp39-cp39-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

kratosmetisapplication-10.4.2-1-cp38-cp38-manylinux_2_28_x86_64.whl (1.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

File details

Details for the file kratosmetisapplication-10.4.2-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c52c02c9f25ecb626a9eb09b683446d2777e12155d6536307bba7b0ba3d8632
MD5 3dab28530fa31f8888bfc9c3b9a58ec4
BLAKE2b-256 f76749f5b190251be9c2816f2c97e2373f63d47aabe4f708b2578fcc08c2311e

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7354d9a31032aca53311126400eab6a6673faad3ac5448b709b15bc563ca4194
MD5 d009be7fe06925c13592393376a13457
BLAKE2b-256 2e761b05edd56d64186d88fae93941ff4924079e4cc63e18c9ce540a844f5966

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 439a2b5563a290759b3995baf6c8453d0bfd0c70768903f956152e9ce1d87cc1
MD5 d362409188ef2875f9ab7cfc58b7fc87
BLAKE2b-256 bee1ca0752916580297091744f6768e09a0362ee6f2c7d84148b5d4ad5bd2180

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cc7eeda8687bc0a2cb387cf2a2a6d988b2c808d7d2234f9cebb6e28f2327cf38
MD5 1a3dc3fb91a78c9fb8dfebe4060d8d33
BLAKE2b-256 b9c2cc81f6a30da8faedea23990f635737c021192b0b88741543453089710913

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 80583501375726b7dc0b61cad79dc1452189874304678f10e3bc6a6769f78791
MD5 6162c2a9c797c0129432e45b329ef4ba
BLAKE2b-256 b84893d027fe9a5fca564fee516b08ab849160d0325057d3455693f62f50227d

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 da689247e320fbe700fdde3464260cc38d6ba4100b498801e5f7e39cc9151209
MD5 6b9bbef455c6224d6e4eafbec922cc40
BLAKE2b-256 857c5ee79fa96418f43a7cab3d7c28da02fbedc5d2e3b41539b24161025a8155

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f95e6d819d49e309becec6a764b73b36f14b961130e5728a6b2d67765a0cb3af
MD5 4417c1dd03fff0ad7f7652beababa7c9
BLAKE2b-256 90631d4ebde3dee01c43f7b8e7ab33ae65d451929105fdb3ae4d2beeb3101c05

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-1-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-1-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9461f367f675d2cf781b44c59a77ff057ea42d7f91af0b6a098d287257c394bf
MD5 e55054883c4943022107bc6a011ee0fe
BLAKE2b-256 bbac624e13e9acec55b92d92f27550be72db6c99e320d3e6d0b48449ca09e5dd

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2a6bf5fbecfa247eea173f0eb78cb366d8cdfcafc9e25ec9f33265a2f91e0902
MD5 f94e6cfa1f4fc61601c35156fb50c00d
BLAKE2b-256 d02abecf8c433c12fa7d1feff4de2df4410656caafb8cfc820810ab3ab1acb65

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1f7e6867c349e8f43d785e7cf3ac41ef386067c946c546621bd5496ed31ac0d9
MD5 173d8fafd343a0ab916ae1b4bebc1fcc
BLAKE2b-256 3b8e3d16bd3fa5cea7a6d4559f4001e263fbbd4580f09fe689f5bf97a7cb4f95

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd26b9adae1596fdde84ce71eaf5cd52269f61156034034f4c35d4f4f4efb680
MD5 32380e3749b706e744cfcaca9aeac3ce
BLAKE2b-256 ff4469c5bc4ad11c2a1a5087a8cd4db5545fad96a1481b4a45ac6dcbfa63b41a

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4437c240fd3062f0b941f6ddd8df4f9e6b5a1f856d16d80b8c90f08c27b40376
MD5 6d2fa8eb5669af26791957ff8fd6a8c3
BLAKE2b-256 66e47b6a3a7cc512ce1ac75210c8689b3e0666c7888c90027d2cd99fe3a4e9dc

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-1-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-1-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 157606eceb692a7f3e07ad144c386c32f0e1032666bf57c4d63eaebed6805aa8
MD5 f5155848cc2112f4b46b60a669e5a7a3
BLAKE2b-256 7d7189063c2a5e6e696d2dc0645878572a6a14dbb67aecf1d55dd1ade857e49e

See more details on using hashes here.

File details

Details for the file kratosmetisapplication-10.4.2-1-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosmetisapplication-10.4.2-1-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc1ba80b37dda4c90c5a90f8a109b7a57648c72f48128dc1d5316ff1336cadc5
MD5 73c8c07bb5dfea269399d16e56738c10
BLAKE2b-256 456e5b4fda3f81ac399ebbd3a1d38be3d84276cb28526805818efa8071d3e212

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page