Skip to content
⌘K

AMReX

AMReX: Software Framework for Block Structured AMR.

health 93contrib 76833

Overview & architecture

C++ standard
–
Build systems
cmake
Languages
C++
Last release
26.11 · Nov 2, 2026

Repository activity

snapshot Nov 22, 2026
GitHub stars
latest
833▲ 16
Merged PRs (30d)
latest
140▲ 101
Contributors (90d)
latest
21▲ 13
Issue first response p50
–
No snapshots yet.
76 open issues58 open PRs11 releases / year140 commits (30d)0 good first issues6 help wanted

Recent notable activity

  • Merged PR
    Array4 and BoxIndexer: 32-bit indexing within a box on GPUs

    In GPU builds, Array4 computes the offset within a component with 32-bit integers and has int j and k strides (the component stride stays Long), so Array4 shrinks from 64 to 56 bytes. sm_80: the MLABecLaplacian red-black smoother goes from…

    WeiqunZhang#6225 · by WeiqunZhang
  • Merged PR
    Redistribute: 2-3x Faster For a Single Box

    Summary On a single process with a single level, box and tile, no particle can move to another box. Redistribute() then works in place, in one pass over the particles: it shifts particles periodically and removes those that left the…

    ax3l#6159 · by ax3l
  • Release
    AMReX 26.11

    What's Changed MLEBNodeFDLaplacian: coarsen without the EB factory by @WeiqunZhang in ParmParse: keep text after a closing parenthesis in the same token by @WeiqunZhang in SUNDIALS MRI: set fixed fast step in advance() by @WeiqunZhang in EB least squares: align grad_eb 2D/3D stencil selection by @WeiqunZhang in EB 2D:…

    WeiqunZhang26.11
  • Merged PR
    Vectorize the CPU reductions

    The CPU paths of ParReduce, ReduceOps::eval on a Box or a 1D range, and Reduce::Sum/Min/Max/MinMax reduced every element into one accumulator, a dependency chain GCC does not vectorize. They now keep 8 partial accumulators; the 1D…

    WeiqunZhang#6105 · by WeiqunZhang
  • Merged PR
    Select the GPU before MPI_Init

    Cray MPICH and Open MPI set up GPU-aware MPI on the current GPU in MPI_Init. AMReX used to switch GPUs afterwards when several GPUs are visible, which on Perlmutter made multi-node FillBoundary 2-3.4x slower. Add…

    WeiqunZhang#6079 · by WeiqunZhang
  • Merged PR
    Parser: Speed up evaluation

    Port amrex-parser bc695eb. Keep the top of the evaluation stack in a register, store the operator() arguments with scalar stores, and use threaded dispatch on the host with GCC/Clang for bytecode longer than 48 bytes. Add fused push…

    WeiqunZhang#6050 · by WeiqunZhang
  • Merged PR
    Use Warp-aggregated atomics in amrex::DenseBins

    In the counting pass of the GPU build, each item atomically increments the counter of its bin. When the items are sorted or nearly sorted by bin, as is common for particles, adjacent threads increment the same counter and the atomics…

    atmyers#6031 · by atmyers
  • Merged PR
    Use -fno-math-errno in non-debug builds

    AMReX does not use errno from math functions. Without errno, math functions like sqrt are faster. Results are unchanged, but with FPE trapping clang may now trap in guarded code like x > 0 ? sqrt(x) : 0, as GCC already can. CMake: new…

    WeiqunZhang#5990 · by WeiqunZhang
  • Release
    AMReX 26.10

    What's Changed MLEBNodeFDLaplacian::compGrad: make it safe for WarpX auto-tuner by @WeiqunZhang in Make the Stochastic Heat Equation CI test shorter by @atmyers in Implement MLEBNodeFDLaplacian::fillIJMatrix and fillRHS by @roelof-groenewald in Fix ParmParse Leaks Tables Between Init/Finalize Cycles by @ax3l in…

    WeiqunZhang26.10
  • Release
    AMReX 26.09

    What's Changed CMake: Remove hipcc deprecation warning by @BenWibking in TinyProfiler: stdout/stderr keywords for tiny_profiler.output_file by @ax3l in fcompare: fix wrong variable name in "NaN present in B" report by @WeiqunZhang in MLTensorOp/MLEBTensorOp: fix scalar bulk viscosity setters by @WeiqunZhang in CI: use…

    WeiqunZhang26.09
  • Release
    AMReX 26.08

    What's Changed Remove BlockMutex by @WeiqunZhang in fix bug in MLEBNodeFDLaplacian when all cells are regular by @RevathiJambunathan in Fortran Interfaces: Add support for RK and FillPatcher by @WeiqunZhang in Make memory management safer in Fortran APIs by @WeiqunZhang in Fortran: Add amrex_write_hdf5plotfile by…

    WeiqunZhang26.08
  • Release
    AMReX 26.07

    What's Changed Clang-Tidy: modernize-use-constraints by @WeiqunZhang in OpenMP: tolerate invalid amrex.omp_threads values by @WeiqunZhang in Fix radial origin in volumeWeightedSum by @WeiqunZhang in added general divergence preserving interpolation of face centered fields by @jbbel in Fix missing k-index in 2D…

    WeiqunZhang26.07

Stories

Major changeFor you

AMReX: Redistribute: 2-3x Faster For a Single Box

Summary On a single process with a single level, box and tile, no particle can move to another box. Redistribute() then works in place, in one pass over the particles: it shifts particles periodically and removes those that left the…

Why it matters: AMReX is in HPC & Scientific (one of your focus areas).

ReleaseFor you

AMReX 26.11 released

What's Changed MLEBNodeFDLaplacian: coarsen without the EB factory by @WeiqunZhang in ParmParse: keep text after a closing parenthesis in the same token by @WeiqunZhang in SUNDIALS MRI: set fixed fast step in advance() by @WeiqunZhang in EB least squares: align grad_eb 2D/3D stencil selection by…

Why it matters: AMReX is in HPC & Scientific (one of your focus areas).

Major changeFor you

AMReX: Use -fno-math-errno in non-debug builds

AMReX does not use errno from math functions. Without errno, math functions like sqrt are faster. Results are unchanged, but with FPE trapping clang may now trap in guarded code like x > 0 ? sqrt(x) : 0, as GCC already can. CMake: new…

Why it matters: AMReX is in HPC & Scientific (one of your focus areas).

Maintainers & organizations

every claim links to its source

Maintainers

No maintainers recorded yet.

Top contributors

Releases & changelog

  • AMReX 26.11major

    What's Changed MLEBNodeFDLaplacian: coarsen without the EB factory by @WeiqunZhang in ParmParse: keep text after a closing parenthesis in the same token by @WeiqunZhang in SUNDIALS MRI: set fixed fast step in advance() by @WeiqunZhang in EB least squares: align grad_eb 2D/3D stencil selection by @WeiqunZhang in EB 2D:…

  • AMReX 26.10major

    What's Changed MLEBNodeFDLaplacian::compGrad: make it safe for WarpX auto-tuner by @WeiqunZhang in Make the Stochastic Heat Equation CI test shorter by @atmyers in Implement MLEBNodeFDLaplacian::fillIJMatrix and fillRHS by @roelof-groenewald in Fix ParmParse Leaks Tables Between Init/Finalize Cycles by @ax3l in…

  • AMReX 26.09major

    What's Changed CMake: Remove hipcc deprecation warning by @BenWibking in TinyProfiler: stdout/stderr keywords for tiny_profiler.output_file by @ax3l in fcompare: fix wrong variable name in "NaN present in B" report by @WeiqunZhang in MLTensorOp/MLEBTensorOp: fix scalar bulk viscosity setters by @WeiqunZhang in CI: use…

  • AMReX 26.08major

    What's Changed Remove BlockMutex by @WeiqunZhang in fix bug in MLEBNodeFDLaplacian when all cells are regular by @RevathiJambunathan in Fortran Interfaces: Add support for RK and FillPatcher by @WeiqunZhang in Make memory management safer in Fortran APIs by @WeiqunZhang in Fortran: Add amrex_write_hdf5plotfile by…

  • AMReX 26.07major

    What's Changed Clang-Tidy: modernize-use-constraints by @WeiqunZhang in OpenMP: tolerate invalid amrex.omp_threads values by @WeiqunZhang in Fix radial origin in volumeWeightedSum by @WeiqunZhang in added general divergence preserving interpolation of face centered fields by @jbbel in Fix missing k-index in 2D…

  • AMReX 26.06major

    What's Changed FFT Open BC Solver: Add assertion by @WeiqunZhang in MLNodeLaplacian: route mknewu through anisotropic sigma path by @drummerdoc in GNU Make documentation on MPI wrapper by @WeiqunZhang in DistributionMapping: add early return to avoid undefined behavior by @WeiqunZhang in AMRErrorTag: Fix comments and…

  • AMReX 26.05major

    What's Changed Fix DistributionMapping::SFC_Threshold by @WeiqunZhang in DistributionMapping: Fix comments by @WeiqunZhang in ParallelAdd: Buffer unpacking should respect the deterministic flag by @WeiqunZhang in FabArray::copyTo(FAB): Fix a memory leak by @WeiqunZhang in SumBoundary: Add assertion on number of…

  • AMReX 26.04major

    What's Changed Hypre: Remove unused code in HypreABecLap3 by @WeiqunZhang in PETSc: Fix potential memory leak by @WeiqunZhang in PETSc: Remove unused code by @WeiqunZhang in PETSc: Use PetscInt by @WeiqunZhang in FFT::Clear: Clear the map after the stored plans are destroyed by @WeiqunZhang in Doxygen PETSc by…

  • AMReX 26.03major

    What's Changed Fix access specifier with HDF5 enabled by @gardner48 in ParmParse: Add support for AMREX_USE_GPU macro by @WeiqunZhang in Added multi-array version of EBData by @ankithadas in CI: Enable MPI in CUDA test on Windows by @WeiqunZhang in Reducer: New wrapper class for ReduceOps and ReduceData by…

  • AMReX 26.02major

    What's Changed Correct verbose output with SUNDIALS MRI methods by @gardner48 in Use PolymorphicArenaAllocator in the SOAParticle test by @atmyers in FFTW: Always initialize FFTW for users when OMP is on by @WeiqunZhang in Linear solver documentation: Add curl-curl, open bc and gmres by @WeiqunZhang in Doxygen: Remove…

  • AMReX 26.01major

    What's Changed Add amrex::Gpu::freeAsync by @AlexanderSinn in Hypre iterative ILU features by @itopcuoglu in Fix comparison with zero warning by @atmyers in Workaround for MPICH MPIX_Query_cuda_support assertion error by @WeiqunZhang in FFT::PoissonHybrid: Fix cases with nx or ny being 1 by @WeiqunZhang in Update…

Contribution opportunities

0 published

No published opportunities

Cards are published only for real, open, unassigned issues with maintainer engagement.
4 more candidates below the publish threshold
Help wanteduntouchedstaleMatches your profileSimulation & Solvers

GPU Collectives via NCCL/RCCL

AMReX has a few central, latency-intensity and time-intensive collective routines, e.g., for halo exchange of field and particles. These are ideal places to use device-initiated collectives in NCCL/RCCL to improve performance. Examples: MPI Note NCCL/RCCL are shipped with the usual CUDA Toolkit / ROCm stack, so add no further hard-to-ship dependency. MPI is very stagnant when it comes to GPU support (as of MPI-5.0, the only section that mentions GPUs at all is the one that has the GPU-aware pointers), and there is (as of SC25) no mid-term, foreseeable device-initiated comm coming to MPI. At…

43score
cudadocsperformance
  • Demand 25% × 0.30 = 80 reactions, 1 comments; labelled as performance/regression/priority
  • Technical fit 30% × 0.61 = 18AMReX is in HPC & Scientific (a focus area); issue needs performance, which you listed
  • Maintainer engagement 25% × 0.20 = 5comments not checked; filed by a maintainer
  • Feasibility 20% × 0.60 = 12newcomer label; clear scope; project onboarding 50%
Evidence
  • #4821 GPU Collectives via NCCL/RCCLissue
    AMReX has a few central, latency-intensity and time-intensive collective routines, e.g., for halo exchange of field and particles. These are ideal places to use device-initiated collectives in NCCL/RCCL to improve performance. Examples: MPI Note NCCL/RCCL are shipped with the…
Suggested first step

Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.

Rule-generated · updated Oct 16, 2026
LabelleduntouchedstaleMatches your profileSimulation & Solvers

C++20 Features To Prioritize For AMReX

Summary Adopt C++20 features that improve template constraints, diagnostics, and low-level utility code without fighting AMReX's GPU model or replacing existing core abstractions like Array4, GpuArray, MFIter, and particle tile views. The best practical-now priorities are: concepts / requires std::span in host-side APIs only utilities such as std::bit_cast, std::popcount, std::has_single_bit, std::bit_ceil constinit for global/static state that must never be dynamically initialized selective use of std::ranges, std::erase_if, std::ssize, and std::cmp_* [[no_unique_address]] for small…

38score
cpp20cudatemplates
  • Demand 25% × 0.25 = 63 reactions, 0 comments
  • Technical fit 30% × 0.61 = 18AMReX is in HPC & Scientific (a focus area); issue needs cpp20, which you listed
  • Maintainer engagement 25% × 0.45 = 11comments not checked; filed by a maintainer; project responsiveness 100%
  • Feasibility 20% × 0.10 = 2project onboarding 50%
Evidence
  • #5375 C++20 Features To Prioritize For AMReXissue
    Summary Adopt C++20 features that improve template constraints, diagnostics, and low-level utility code without fighting AMReX's GPU model or replacing existing core abstractions like Array4, GpuArray, MFIter, and particle tile views. The best practical-now priorities are…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated Oct 9, 2026
Help wanteduntouchedcandidateMatches your profileSimulation & Solvers

document TinyProfileParser

There is a Python script to convert TinyProfiler output into JSON format: It is not documented in the AMReX docs.

35score
docs
  • Demand 25% × 0.00 = 00 reactions, 1 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12AMReX is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.60 = 12newcomer label; clear scope; project onboarding 50%
Evidence
Suggested first step

Read the code the issue refers to, draft the documentation change, and open a small PR that references the issue.

Rule-generated · updated 22d ago
LabelledcandidateMatches your profileSimulation & Solvers

Using tensor copy instructions on Hopper+ and MI400+

Next-gen GPU systems will have tensor data copy instructions that move multidimensional arrays from HBM (global memory) into SRAM (shared memory or LDS). NVIDIA has its Tensor Memory Accelerator (TMA) instructions for Hopper (sm_90) and newer. AMD has introduced its Tensor Data Mover (TDM) instructions for gfx1250 and newer. This is expected to correspond to MI400-series GPUs. Note that there are extra alignment requirements for memory allocations in HBM to use these instructions. This should increase the memory bandwidth available to applications, but using these instructions currently…

28score
cudamemory
  • Demand 25% × 0.00 = 00 reactions, 3 comments (not counted alone)
  • Technical fit 30% × 0.40 = 12AMReX is in HPC & Scientific (a focus area)
  • Maintainer engagement 25% × 0.45 = 11comments not checked; labelled (triaged); project responsiveness 100%
  • Feasibility 20% × 0.25 = 5clear scope; project onboarding 50%
Evidence
  • #5279 Using tensor copy instructions on Hopper+ and MI400+issue
    Next-gen GPU systems will have tensor data copy instructions that move multidimensional arrays from HBM (global memory) into SRAM (shared memory or LDS). NVIDIA has its Tensor Memory Accelerator (TMA) instructions for Hopper (sm_90) and newer. AMD has introduced its Tensor Data…
Suggested first step

Comment on the issue with a short design sketch and ask a maintainer to confirm the approach before writing code.

Rule-generated · updated 22d ago

Why this score

Health 93Contribution friendliness 76computed 20h ago
  • Activity1.00
    140 merged PRs in 30 days (full marks at 20); 140 commits in 30 days (full marks at 60)health
  • Onboarding0.50
    has mainstream build (CMake/Bazel/Meson), CI; missing contributing guide, docs sitecontrib
  • Entry points0.75
    5 open, unassigned good-first-issue/help-wanted issues without a PR (full marks at 10)contrib
  • Maintainer responsiveness1.00
    median PR merge time 8 h (full marks within 72 h, zero after 60 days)healthcontrib
  • Release cadence1.00
    last release 20 days ago (full marks within 90, zero after 730); 11 releases in 365 days (full marks at 4)health
  • Backlog pressure0.56
    46% of 28 scanned open issues are older than a year (full marks at <= 20%, zero at >= 80%)health
  • Contributor breadth0.88
    21 unique contributors in 90 days (full marks at 25); top contributor has 44% of commits; stars count for at most 5% of this signalhealth

Each signal is normalized to 0–1 with fixed thresholds; scores are weighted sums × 100. Stars are not an input.