PencilFFTs
Fast Fourier transforms of MPI-distributed Julia arrays
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.9%) to scientific vocabulary
Keywords
Keywords from Contributors
Repository
Fast Fourier transforms of MPI-distributed Julia arrays
Basic Info
- Host: GitHub
- Owner: jipolanco
- License: mit
- Language: Julia
- Default Branch: master
- Homepage: https://jipolanco.github.io/PencilFFTs.jl/dev/
- Size: 15.1 MB
Statistics
- Stars: 80
- Watchers: 6
- Forks: 7
- Open Issues: 13
- Releases: 44
Topics
Metadata Files
README.md
PencilFFTs
Fast Fourier transforms of MPI-distributed Julia arrays.
This package provides multidimensional FFTs and related transforms on MPI-distributed Julia arrays via the PencilArrays package.
The name of this package originates from the decomposition of 3D domains along two out of three dimensions, sometimes called pencil decomposition. This is illustrated by the figure below, where each coloured block is managed by a different MPI process. Typically, one wants to compute FFTs on a scalar or vector field along the three spatial dimensions. In the case of a pencil decomposition, 3D FFTs are performed one dimension at a time (along the non-decomposed direction, using a serial FFT implementation). Global data transpositions are then needed to switch from one pencil configuration to the other and perform FFTs along the other dimensions.
Features
distributed
N-dimensional FFTs of MPI-distributed Julia arrays, using the PencilArrays package;FFTs and related transforms (e.g. DCTs / Chebyshev transforms) may be arbitrarily combined along different dimensions;
in-place and out-of-place transforms;
high scalability up to (at least) tens of thousands of MPI processes.
Installation
PencilFFTs can be installed using the Julia package manager:
julia> ] add PencilFFTs
Quick start
The following example shows how to apply a 3D FFT of real data over 12 MPI
processes distributed on a 3 × 4 grid (same distribution as in the figure
above).
```julia using MPI using PencilFFTs using Random
MPI.Init()
dims = (16, 32, 64) # input data dimensions transform = Transforms.RFFT() # apply a 3D real-to-complex FFT
Distribute 12 processes on a 3 × 4 grid.
comm = MPI.COMMWORLD # we assume MPI.Commsize(comm) == 12 proc_dims = (3, 4)
Create plan
plan = PencilFFTPlan(dims, transform, proc_dims, comm)
Allocate and initialise input data, and apply transform.
u = allocate_input(plan) rand!(u) uF = plan * u
Apply backwards transform. Note that the result is normalised.
v = plan \ uF @assert u ≈ v ```
For more details see the tutorial.
Performance
The performance of PencilFFTs is comparable to that of widely adopted MPI-based FFT libraries implemented in lower-level languages. As seen below, with its default settings, PencilFFTs generally outperforms the Fortran P3DFFT libraries.
See the benchmarks section of the docs for details.
Owner
- Name: Juan Ignacio Polanco
- Login: jipolanco
- Kind: user
- Location: Grenoble, France
- Website: https://jipolanco.gitlab.io
- Repositories: 6
- Profile: https://github.com/jipolanco
CNRS researcher
Citation (CITATION.cff)
cff-version: 1.1.0
message: "If you use this software, please cite it as below."
authors:
- family-names: Polanco
given-names: Juan Ignacio
affiliation: Univ Lyon, CNRS, École Centrale de Lyon, LMFA
orcid: https://orcid.org/0000-0001-7705-753X
website: https://jipolanco.gitlab.io
title: "PencilFFTs.jl: FFTs of MPI-distributed Julia arrays"
version: 0.12.4
doi: 10.5281/zenodo.3618781
date-released: 2021-07-30
repository-code: https://github.com/jipolanco/PencilFFTs.jl
license: MIT
GitHub Events
Total
- Create event: 3
- Commit comment event: 2
- Release event: 1
- Watch event: 3
- Delete event: 1
- Issue comment event: 4
- Push event: 6
- Pull request event: 2
Last Year
- Create event: 3
- Commit comment event: 2
- Release event: 1
- Watch event: 3
- Delete event: 1
- Issue comment event: 4
- Push event: 6
- Pull request event: 2
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Juan Ignacio Polanco | j****c@g****m | 701 |
| github-actions[bot] | 4****] | 6 |
| dependabot[bot] | 4****] | 4 |
| Gregory L. Wagner | g****r@g****m | 3 |
| Juan Ignacio Polanco | j****o@o****u | 3 |
| François Bignonnet | 1****t | 2 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 25
- Total pull requests: 50
- Average time to close issues: 2 months
- Average time to close pull requests: 7 days
- Total issue authors: 11
- Total pull request authors: 7
- Average comments per issue: 5.56
- Average comments per pull request: 0.88
- Merged pull requests: 47
- Bot issues: 0
- Bot pull requests: 11
Past Year
- Issues: 0
- Pull requests: 2
- Average time to close issues: N/A
- Average time to close pull requests: about 5 hours
- Issue authors: 0
- Pull request authors: 2
- Average comments per issue: 0
- Average comments per pull request: 2.0
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
- Lightup1 (7)
- jipolanco (5)
- glwagner (4)
- ahojukka5 (2)
- zhenyuanwang-cosmos (1)
- ali-ramadhan (1)
- erny123 (1)
- f-fathurrahman (1)
- dforero0896 (1)
- musoke (1)
- JuliaTagBot (1)
- AdwardAllan (1)
Pull Request Authors
- jipolanco (32)
- dependabot[bot] (8)
- github-actions[bot] (7)
- glwagner (3)
- fbignonnet (3)
- matinraayai (1)
- corentin-dev (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- julia 26 total
- Total dependent packages: 2
- Total dependent repositories: 0
- Total versions: 44
juliahub.com: PencilFFTs
Fast Fourier transforms of MPI-distributed Julia arrays
- Homepage: https://jipolanco.github.io/PencilFFTs.jl/dev/
- Documentation: https://docs.juliahub.com/General/PencilFFTs/stable/
- License: MIT
-
Latest release: 0.15.3
published 7 months ago
Rankings
Dependencies
- julia-actions/setup-julia latest composite
- JuliaRegistries/TagBot v1 composite
- actions/checkout v3 composite
- codecov/codecov-action v3 composite
- julia-actions/cache v1 composite
- julia-actions/julia-buildpkg v1 composite
- julia-actions/julia-processcoverage v1 composite
- julia-actions/julia-runtest v1 composite
- julia-actions/setup-julia v1 composite
- julia-actions/setup-julia latest composite