Skip to main content

Akantu Geomechanical Solver

Python package containing a geomechanical simulator based on the open-source FEM library Akantu

PyPI version Project Status GitLab License

See the package documentation on GitLab Pages

Installation

Serial

pip install (Linux-based systems only)

pip install akantu-geomechanical-solver[serial] --index-url https://gitlab.com/api/v4/projects/15663046/packages/pypi/simple

Parallel

To use the parallel version of Akantu for the geomechanical simulator, a Docker image can be pulled and used out of the box, or build Akantu from source.

Docker image (Linux-based systems and MacOS)

To use the Docker image including a parallel version of the geomechanical solver, follow these steps:

  1. Make sure you have Docker installed on your system.
  2. Pull the Docker image from the registry using the following command:
docker pull registry.gitlab.com/emil.gallyamov/akantu-geomechanical-solver/parallel-gms-images:main
  1. Once the image is pulled, you can run a container using the image with the following command:
docker run -it registry.gitlab.com/emil.gallyamov/akantu-geomechanical-solver/parallel-gms-images:main /bin/bash

This will start a container and give you an interactive bash shell inside it.

  1. You can now use the Docker image for your desired purposes.

Installation with Akantu built from source (Linux-based systems and MacOS)

Dependencies

In order to compile Akantu, some libraries are required:

  • CMake
  • Boost
  • LAPACK
  • BLAS
  • MPI
  • Scotch
  • MUMPS
  • Gmsh

Please note that the compilation from source will only work with a gcc version < 13

On .deb based systems

> sudo apt install cmake libboost-devl iblapack-dev libblas-dev zlib1g-dev  gmsh
> sudo apt install libopenmpi-dev openmpi-bin libscotch-dev libmumps-dev

Building from source

Clone the repository, for instance using

git clone git@gitlab.com:emil.gallyamov/akantu-geomechanical-solver.git

Use the installation.sh script to build the parallel version of hydromechanical coupling branch of Akantu used by the geomechanical solver on your machine. This will create an akantu subfolder in the akantu-geomechanical-solver folder. Once this is done, add three Akantu path to PYTHONPATH variable

export PYTHONPATH="${PYTHONPATH}:${PWD}/akantu/build/python:${PWD}/akantu/test:${PWD}/akantu/test/test_fe_engine"

You can then install the parallel version version of the geomechanical solver via pip.

pip install .[parallel]

Metadata

Release files for akantu-geomechanical-solver 0.3.0

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

Source distribution (sdist)

Source distribution for akantu-geomechanical-solver 0.3.0
File Size Uploaded Provenance Actions
akantu_geomechanical_solver-0.3.0.tar.gz 25.8 kB Without provenance Details for akantu_geomechanical_solver-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for akantu-geomechanical-solver 0.3.0
File Interpreter ABI Platform Actions
akantu_geomechanical_solver-0.3.0-py3-none-any.whl Python 3 none any Details for akantu_geomechanical_solver-0.3.0-py3-none-any.whl

Total release size: 51.2 kB

Release files / akantu_geomechanical_solver-0.3.0.tar.gz

Download URL akantu_geomechanical_solver-0.3.0.tar.gz
Size 25.8 kB
Tags Source
SHA-256 checksum
How to use checksums
1fae1fc5cf5a3e35154724b79649f6bdacd016adbfe6ef14ad247fefb153eaf4
BLAKE2b-256 checksum
How to use checksums
3d5fe7a3a818b366c81c8db3ffca8e64094771962605e8d10d5758c14f3592a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Release files / akantu_geomechanical_solver-0.3.0-py3-none-any.whl

Download URL akantu_geomechanical_solver-0.3.0-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f098c92e3a55da567b77b7e67fa54849451c6775ce5dc835e2a57f44edb18c5a
BLAKE2b-256 checksum
How to use checksums
bec34c5f1815bf5f3e35dc5497024be09a3c04411bd26ec41be5f7a054467d10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.13.0

Security for akantu-geomechanical-solver 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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