7XNNFKOUEK2MQEI67B3U3ZLGLTTVZPAEJWFHAE6JGMMRT2B7WKBAC
FTG7TU6KYULUMZCXYRHEBOPEPOOZSMKWWTMZ73ETBJXGT45DRDJQC
CGO4LIMPBLBRXAO6S627JLGJVKF5TCJTSRFNUEHE3KQQSMZROI3QC
A4BKMSY2E3EBLIJRIBJJVCTWFUMJRE4XK7TQEEYAMXNZ3OJAPWQAC
RZOODNAYNAGAXHNLGMDDPYVIBNFJBDYMWO6I3C3J5LEZCMAQUZRAC
NGD6QWRDHWBMQXL2YXZVF3BFQALSII3LH6BMIOFL7VFMGPLHCZEQC
ULG227G2VMOOSDSKHY36QQQGEABGXZIX2B3JA4YIBS6HCVDVJ7IAC
GLSGWVXRSIWTKLLTKJTSTDL6IISOKX77Z23MQRJUZ5TCSMA7MF6AC
HNQLJR6ZWME6VBJ2Y7PSENLJPXC7INSS7NC2CKIWQAC776CQ74TQC
apt-get -y --no-install-recommends install apt-utils build-essential ca-certificates g++ git gfortran libopenmpi-dev perl pkg-config python rsync subversion wget && \
apt-get --yes --no-install-recommends install \
apt-utils \
build-essential \
ca-certificates \
g++ \
gfortran \
git \
libopenmpi-dev \
perl \
pkg-config \
python \
python3 \
rsync \
subversion \
wget \
&& \
# Build AMReX
# Install NSIMD
# Note: This assumes that the system has x86_64 CPUs with AVX2 and FMA
RUN git clone -b eschnett/storeu_masked https://github.com/eschnett/nsimd.git && \
cd nsimd && \
python3 egg/hatch.py --archis --base-apis --cxx-api --friendly-but-not-optimized --src --tests --force --simd=avx2 --disable-clang-format && \
mkdir build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DSIMD=AVX2 -DSIMD_OPTIONALS=FMA -DCMAKE_INSTALL_PREFIX=/cactus/nsimd .. && \
make -j2 && \
make -j2 tests && \
ctest . -V && \
cmake --install . && \
cd ../.. && \
rm -rf nsimd
# Install AMReX