MPI-parallel regular grids
Project description
µGrid
µGrid is a C++ library for discrete representation of fields on structured grids, with Python bindings. It provides efficient data structures and algorithms for solving partial differential equations on regular grids, with support for MPI parallelization and GPU acceleration.
Features
- Field collections: Manage scalar, vector, and tensor fields on structured grids with flexible memory layouts
- FFT engine: Built-in Fast Fourier Transform with MPI-parallel support using pencil decomposition
- Convolution operators: Discrete differential operators including Laplacian and FEM gradient operators for spectral methods
- Domain decomposition: Cartesian decomposition with ghost cell communication for stencil operations
- GPU support: Optional CUDA and HIP backends for GPU-accelerated computation
- NetCDF I/O: Serial and parallel file I/O for checkpointing and analysis
µGrid is written in C++17 and has language bindings for Python via pybind11.
This README contains only a small quick start guide. Please refer to the full documentation for more help.
Quick start
To install µGrid, run
pip install muGrid
Note that on most platforms this will install a binary wheel, that was compiled with a minimal configuration. To compile for your specific platform use
pip install -v --no-binary muGrid muGrid
which will compile the code. µGrid will autodetect MPI. For I/O, it will try to use Unidata NetCDF for serial builds and PnetCDF for MPI-parallel builds. Monitor output to see which of these options were automatically detected.
Funding
This development has received funding from the Swiss National Science Foundation within an Ambizione Project and by the European Research Council within Starting Grant 757343.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mugrid-0.101.0.tar.gz.
File metadata
- Download URL: mugrid-0.101.0.tar.gz
- Upload date:
- Size: 590.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
704520ddde3d85a1c74879d5d23654cca8f600636c1d737e68c51c07c641c30b
|
|
| MD5 |
2f4434ef8c9d47a780225c79feeabdf6
|
|
| BLAKE2b-256 |
c83d27814285da089086972f73394b1fe7f3185e60125b5912c22f0904a45642
|
File details
Details for the file mugrid-0.101.0-cp314-cp314-win_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp314-cp314-win_arm64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.14, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08de66c5414eb552211ff44169c250bed261f0743d7e44fa23007a4b5603ee45
|
|
| MD5 |
301880d1d5edc594ed983ac3796f6eb4
|
|
| BLAKE2b-256 |
583321347995af8b433f0c9183b995532da28fe690d2ab5628890d4552bfc625
|
File details
Details for the file mugrid-0.101.0-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 4.5 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b862575b96d9193b7a6be3e795f93c9a2849624aa4469b0db813bb3d52ac6e36
|
|
| MD5 |
f59f4ae9524e562746fdf9a9bf1e9414
|
|
| BLAKE2b-256 |
fd1f9c39521fb827f7e549266b0b1fcf9bebb53e334abce6b19b676376b94579
|
File details
Details for the file mugrid-0.101.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.14, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d05333ea0112cef1ede5edf4548a3ddfc437ca646159e5080a2f02c27ee73ee
|
|
| MD5 |
93900b91f9a9c2a9dc182978e3341c5f
|
|
| BLAKE2b-256 |
b88ccece9f324b80cdbf13a3126b90f2826213ecaf8b75fc634aace49c389a95
|
File details
Details for the file mugrid-0.101.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.14, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7082a0e49035e83ee3ac9943c8aa9f4d45604e804b7d546b61ca3166441bc4e3
|
|
| MD5 |
326c664bb527881e35fa97611c8af584
|
|
| BLAKE2b-256 |
a78a9c836e2bc4ee297ec72518ce04dee82a9ce807596949eb615bbf56235bd3
|
File details
Details for the file mugrid-0.101.0-cp314-cp314-macosx_14_0_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp314-cp314-macosx_14_0_arm64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.14, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8177808d00da862abed382fd3913fbfe4405837ac0c5d0770dc31c0a9ac055c0
|
|
| MD5 |
ca28347521593dfcbaab73e1a0061746
|
|
| BLAKE2b-256 |
b141f0e755e36c44683eaa7fb325360fe5a2fca7899b268f4f56a6758fb455b4
|
File details
Details for the file mugrid-0.101.0-cp313-cp313-win_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp313-cp313-win_arm64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.13, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99083fe5fd53f136b4b6abea768db061081948d06be991590146cd2db1c964b2
|
|
| MD5 |
9f877501db10ebf03ba8180cdc953dd7
|
|
| BLAKE2b-256 |
b86a59bb1cc72f1974db9fbb99574fa16de228738de37e4f34ea4371c75b59d9
|
File details
Details for the file mugrid-0.101.0-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc85055077ef26b08d11eda0477ca12e174a900dce5a78991ca02141d13cab42
|
|
| MD5 |
1122ea466387ed3ca334a57001134a0f
|
|
| BLAKE2b-256 |
37c6838560e97a8eee9e2dacdf8c9203c2acafdc9e88fac3e0b00a56b937c644
|
File details
Details for the file mugrid-0.101.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.13, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54cfe6702aeeb3714cf00518804696bcd6bdc4c1bc9176e120d8665f7d4cba10
|
|
| MD5 |
30d092d48eba3b4fcfa59e75f6f80100
|
|
| BLAKE2b-256 |
e745115affbda2030791c2656b872ee5755b5c23d7199aa463bf6853780162cb
|
File details
Details for the file mugrid-0.101.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp313-cp313-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.13, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebb4dfbcb212fef30ad80f37eeb7c88a8cffc5dad706d08858131b3e8492a81e
|
|
| MD5 |
65f8fdf28bff49ebde5bf4a6269e9d87
|
|
| BLAKE2b-256 |
017c3610bbc5431ec7c55dbb38305a7d1e913bc38bc920e46390a20b316d56ed
|
File details
Details for the file mugrid-0.101.0-cp313-cp313-macosx_14_0_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afa0fd5f112987c35aac05d076a4b3d4d6bc0be8cc63adeed5c80461bab4f287
|
|
| MD5 |
0f60db241e81c5e090baa62a0f00637e
|
|
| BLAKE2b-256 |
faf18d7bec57bbe9ff0768c4500cef0d4eb6f24ffc422c4916eedb9978c797ff
|
File details
Details for the file mugrid-0.101.0-cp312-cp312-win_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp312-cp312-win_arm64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.12, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
918bf82602190ddcdac72eddccf7ad0bb279c6b8d0f416528f2a998854abe25b
|
|
| MD5 |
c1d7cfd8453a887463bc34074b2a9997
|
|
| BLAKE2b-256 |
7326fa2e2e32c846565598d4471dc73573e04cb75a2549e51023ec8b7d220f4a
|
File details
Details for the file mugrid-0.101.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fd54806deedfd1929c2e76d5bf43b318be06b77afe7f1736138c63a1e5aef15
|
|
| MD5 |
ed492bd252257fe73bbbe2fcb05c6a64
|
|
| BLAKE2b-256 |
8227c1a3841ad7aa507bbba16febcf05dcaff7a21f858350d735a2e41023841e
|
File details
Details for the file mugrid-0.101.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46dbebcf31096850f5e1d47aa4c3ce5466daa38a5f057f6cef90a1657350b764
|
|
| MD5 |
e24904b1c674808393fc08d9eddd712a
|
|
| BLAKE2b-256 |
8ffba230a28a081fa2d4e76b2eb039725bc7fca9a32298750b442f01325750a0
|
File details
Details for the file mugrid-0.101.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp312-cp312-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.12, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
78d246c42406ff86b67d7b922f12afafdd5c3cd71a3f75abbfdfdce6953323cd
|
|
| MD5 |
67a1d5b8d8e0e1166a4ae52a96f3f10a
|
|
| BLAKE2b-256 |
0c24434fffeeea126837729d168d9af423b33c1f50ec355e62bef37a8ceea710
|
File details
Details for the file mugrid-0.101.0-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ee913fa9a3d88dc6d54d47c9378842761642d659dc0ff83ddf3d770356b54a5
|
|
| MD5 |
f49637c2c06221dda6782f113c744d37
|
|
| BLAKE2b-256 |
7640472a7dc43b024a16363069a883a08b7f30d7bff7db797f9b8e79d74b356c
|
File details
Details for the file mugrid-0.101.0-cp311-cp311-win_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp311-cp311-win_arm64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.11, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
873aa1b75d9587f6aac3493cd5897184991757453bb4217d1e336ca8f17af1f9
|
|
| MD5 |
6fc31714a3229bb237588279d374113c
|
|
| BLAKE2b-256 |
e32209b8ff6f38e8ae2fdc0e5a7054ea3668c79dd40b8fbde4a4a13a05adee6a
|
File details
Details for the file mugrid-0.101.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a32927b3dcbdcc463d257ef6c776005839c3311b1de4fd636eb83d016123416
|
|
| MD5 |
c5e693240c0429a162358bbf26aaba72
|
|
| BLAKE2b-256 |
1d75f74efb956f328518e4fa76271bdc1725cae8dac14a65e8949590a15e6e9f
|
File details
Details for the file mugrid-0.101.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bb1c7a4e20fb9204ae92cf7edfdfdff96f619a710431d924a1f0ed18f1e3487
|
|
| MD5 |
7bb85a8afd079781eae61eb7fc1c4bba
|
|
| BLAKE2b-256 |
0fa94063bd095016f70169a5edb020503bbca832fc3d8cba336fe73430827ce1
|
File details
Details for the file mugrid-0.101.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp311-cp311-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8aa930de82ba64561e9bb2c3dcb96ecd7444f999b4856e5ce40ced2f816b4897
|
|
| MD5 |
ac22bc99b0425b083775b47640b63299
|
|
| BLAKE2b-256 |
b0fefb53f6022ba0537a0b998c8d512088a1c32bfbdbe7e7e689871b8d3c1c6a
|
File details
Details for the file mugrid-0.101.0-cp311-cp311-macosx_14_0_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ad90f9fd08ff5073c3278a7159adcb4bc2cc2fde5e2f74ca1c15dfff9ab6411
|
|
| MD5 |
cd085007d47bee556a9002ed1b5a2205
|
|
| BLAKE2b-256 |
2a7be24339ac83aee93d8bef56e8c236658e907205e6c211bc67838cf84bb182
|
File details
Details for the file mugrid-0.101.0-cp310-cp310-win_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp310-cp310-win_arm64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.10, Windows ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfc41d89b2abaf2040cb2fd70a7b1706de4d8d8c12d4693f246bfc4f06316940
|
|
| MD5 |
515ba4bc5cf0774611fa7ae4f74e6999
|
|
| BLAKE2b-256 |
e8ff99e45377d6153dd1287a01e6067fdcfb4df3d3a301412c91e7936997541f
|
File details
Details for the file mugrid-0.101.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 4.4 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91f0834ecf2f6b87239f144ca67711a452a31f8d23c19ea4db6c8cf4abc91e69
|
|
| MD5 |
a80d1cccc5a4ed00b8efe53bf258786d
|
|
| BLAKE2b-256 |
d0395c87630da98758bf7b813a5542f81d1d7a508629ccc5562225696671207c
|
File details
Details for the file mugrid-0.101.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.27+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb833d11afbf3bbe581984a17b20d157194712c626240bd2eb4cbc55ea56df7d
|
|
| MD5 |
60afa66af37ad2e3029fbcc9dcb10284
|
|
| BLAKE2b-256 |
0b47c26e21780a8ee3bd9e824d895a4859272ae7755a6772aac58122d832ee3c
|
File details
Details for the file mugrid-0.101.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp310-cp310-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
- Upload date:
- Size: 4.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.26+ ARM64, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e29451717a357948d2fffb5337b0bf81050df9e59b5d974d3efdfd03324e8ed
|
|
| MD5 |
1449ee7f94070bb4c30770ce52798dcf
|
|
| BLAKE2b-256 |
e4c6c484831a848919f94003767591ffea07132a6abb2857874a87613782dbfb
|
File details
Details for the file mugrid-0.101.0-cp310-cp310-macosx_14_0_arm64.whl.
File metadata
- Download URL: mugrid-0.101.0-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56b3f2920b3e0b2c5f13cfb05a337090b59046ffeac07e6f4b700ad39764f8c6
|
|
| MD5 |
833cbbe37acc3c643151a102cee537c6
|
|
| BLAKE2b-256 |
9f118e0d0261b4344b92309d49569fc7e24efd311e9b783f7c05c451797034b2
|