amrex

AMReX: Software Framework for Block Structured AMR

Latest version: 26.10

Add to xmake.lua

add_requires("amrex 26.10")

Learn how to add and link packages with Xmake →

Information

License
BSD-3-Clause
Recipe updated
2026-11-01T06:57:27.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • msys: i386, x86_64
  • mingw: i386, x86_64, arm, arm64
  • bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
  • windows: x86, x64, arm, arm64, arm64ec
  • macosx: x86_64, arm64

Options

cuda
Enable CUDA · Type: boolean · Default: false
fortran
Enable fortran · Type: boolean · Default: false
hdf5
Enable HDF5-based I/O · Type: boolean · Default: false
mpi
Enable MPI · Type: boolean · Default: false
openmp
Enable OpenMP · Type: boolean · Default: false
tools
Build tools · Type: boolean · Default: false

Versions

  • 24.09
  • 24.12
  • 25.02
  • 25.03
  • 25.04
  • 25.05
  • 25.06
  • 25.08
  • 25.09
  • 25.11
  • 26.01
  • 26.02
  • 26.03
  • 26.05
  • 26.08
  • 26.09
  • 26.10

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "amrex 26.10"

show info

xrepo info "amrex"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("amrex 26.10")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("amrex")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "amrex 26.10" shell