Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
e9101ab
draft scikit build core wheel
shimwell Jul 19, 2024
e857f45
renamed executable
shimwell Jul 19, 2024
61b7035
linking libopenmc with openmc in cmakelists
jon-proximafusion Jul 19, 2024
12cb43d
Merge branch 'scikit_build_core_wheel' of github.com:shimwell/openmc …
jon-proximafusion Jul 19, 2024
2541d50
updated docs for pip install that compiles
jon-proximafusion Jul 19, 2024
f15e80f
pip install with cmake args in ci
jon-proximafusion Jul 23, 2024
3c98d8a
added missing ,
jon-proximafusion Jul 23, 2024
0aafd44
no need for manual creation of build dir
jon-proximafusion Jul 23, 2024
12b4221
[skip ci] merged develop
shimwell Jul 26, 2024
9ef3beb
[skip ci] adding apt packages for read the docs
shimwell Jul 26, 2024
40ceaad
[skip ci] trying ubuntu 22.04
shimwell Jul 26, 2024
2c8cf71
[skip ci] added missing s
shimwell Jul 26, 2024
4c0075f
adding gha actions
shimwell Jul 26, 2024
4de0d94
upper case ON for cmake args
shimwell Jul 26, 2024
688d688
added quotes to cmake args
shimwell Jul 26, 2024
07a4dcd
keeping same filename
shimwell Jul 26, 2024
9253977
running just pytest
shimwell Jul 26, 2024
1f01694
[skip ci] corrected cmake arg passing example
shimwell Jul 26, 2024
6850217
added diagnosis prints
shimwell Jul 27, 2024
a601de8
Merge branch 'scikit_build_core_wheel' of github.com:shimwell/openmc …
shimwell Jul 27, 2024
97a3f22
removed 2nd pip install which was overwritting
shimwell Jul 27, 2024
3ae207d
Merge branch 'develop' into scikit_build_core_wheel
shimwell Aug 14, 2024
e40cf3b
merge in develop
shimwell Aug 14, 2024
0213392
matching simulation results from ci
jon-proximafusion Aug 14, 2024
6e3e47e
using debug instead of on for DCMAKE_BUILD_TYPE
shimwell Sep 12, 2024
b4b4e3a
scikit-build-core added
ahnaf-tahmid-chowdhury Sep 17, 2024
79ae016
Add rpath
ahnaf-tahmid-chowdhury Sep 20, 2024
394b0f9
Install by scikit-build-core
ahnaf-tahmid-chowdhury Sep 24, 2024
12aec22
update python install doc
ahnaf-tahmid-chowdhury Sep 24, 2024
564cb5f
add support for dev mode
ahnaf-tahmid-chowdhury Sep 24, 2024
1f1faca
update dev doc with skbuild support
ahnaf-tahmid-chowdhury Sep 24, 2024
f4e0faa
Merge branch 'openmc-dev:develop' into scikit_build_core_wheel
shimwell Sep 24, 2024
f88e5ef
Merge branch 'scikit-build-core' into scikit_build_core_wheel
ahnaf-tahmid-chowdhury Sep 24, 2024
f114265
back to -j4 for make
jon-proximafusion Sep 25, 2024
c577d50
adding cmake args to pip install command
jon-proximafusion Sep 25, 2024
ec7e11f
[skip ci] cmake args actual openmc options
jon-proximafusion Sep 25, 2024
03a6744
add manylinux docker
ahnaf-tahmid-chowdhury Sep 30, 2024
556adbb
add gcc and mpi build
ahnaf-tahmid-chowdhury Sep 30, 2024
ef1ca2f
Add openmc options and add more docs
ahnaf-tahmid-chowdhury Sep 30, 2024
ead096d
install openmpi on openmpi stage
ahnaf-tahmid-chowdhury Sep 30, 2024
8a7362e
add /usr/local/lib64 to path
ahnaf-tahmid-chowdhury Sep 30, 2024
9985fab
add workflow
ahnaf-tahmid-chowdhury Sep 30, 2024
65ae22c
remove setup.py
ahnaf-tahmid-chowdhury Sep 30, 2024
ac5648c
remove test stage
ahnaf-tahmid-chowdhury Oct 1, 2024
db8265f
add pypi
ahnaf-tahmid-chowdhury Oct 1, 2024
a205ef7
move python deps to last
ahnaf-tahmid-chowdhury Oct 1, 2024
7036ec6
fix pytest-cov issue
ahnaf-tahmid-chowdhury Oct 2, 2024
1d8e951
fix pytest-cov issue
ahnaf-tahmid-chowdhury Oct 2, 2024
0043634
no need abi
ahnaf-tahmid-chowdhury Oct 2, 2024
9e65e4a
fix path
ahnaf-tahmid-chowdhury Oct 2, 2024
1985003
move openmc to src
ahnaf-tahmid-chowdhury Oct 3, 2024
303f596
no need to copy lib to openmc
ahnaf-tahmid-chowdhury Oct 3, 2024
1813d6e
remove BUILD_EXAMPLES
ahnaf-tahmid-chowdhury Oct 3, 2024
2cbce3b
python deps stage
ahnaf-tahmid-chowdhury Oct 3, 2024
a88e926
Merge remote-tracking branch 'upstream/develop' into scikit_build_cor…
ahnaf-tahmid-chowdhury Oct 3, 2024
d588670
pip install numpy
ahnaf-tahmid-chowdhury Oct 3, 2024
4b08da7
fail-fast: false
ahnaf-tahmid-chowdhury Oct 3, 2024
db2bb3f
sdist.include = ["src/openmc/**"]
ahnaf-tahmid-chowdhury Oct 3, 2024
63e1b26
set DATAROOTDIR
ahnaf-tahmid-chowdhury Oct 4, 2024
cbca837
add vendor packages
ahnaf-tahmid-chowdhury Oct 4, 2024
995c840
add more dirs
ahnaf-tahmid-chowdhury Oct 4, 2024
d68bac5
CMAKE_INSTALL_DATADIR
ahnaf-tahmid-chowdhury Oct 4, 2024
07126a0
no need OpenMCTargets for skbuild
ahnaf-tahmid-chowdhury Oct 5, 2024
bf0f400
install rpath if var is defined
ahnaf-tahmid-chowdhury Oct 5, 2024
12acf73
eval $(ncrystal-config --setup)
ahnaf-tahmid-chowdhury Oct 5, 2024
bf334ce
sdist include *.h5
ahnaf-tahmid-chowdhury Oct 8, 2024
e3398a4
Merge remote-tracking branch 'upstream/develop' into scikit_build_cor…
ahnaf-tahmid-chowdhury Oct 8, 2024
4e69397
setup openmc lib for skbuild
ahnaf-tahmid-chowdhury Oct 17, 2024
4a69b09
prepare for merge
ahnaf-tahmid-chowdhury Oct 17, 2024
3b80c4c
Merge remote-tracking branch 'upstream/develop' into scikit_build_cor…
ahnaf-tahmid-chowdhury Oct 17, 2024
d0740ce
move openmc to src again
ahnaf-tahmid-chowdhury Oct 17, 2024
fbda530
update lib paths
ahnaf-tahmid-chowdhury Oct 17, 2024
0d3f6f2
add include
ahnaf-tahmid-chowdhury Oct 18, 2024
15e34f9
Merge remote-tracking branch 'upstream/develop' into scikit_build_cor…
ahnaf-tahmid-chowdhury Oct 19, 2024
af0f1d5
add openmc.in
ahnaf-tahmid-chowdhury Oct 19, 2024
e2802f3
use OpenMC targets
ahnaf-tahmid-chowdhury Oct 19, 2024
db1d8d1
install source version
ahnaf-tahmid-chowdhury Oct 19, 2024
7a0a56d
add SKBUILDScripts.cmake
ahnaf-tahmid-chowdhury Oct 20, 2024
8dabae4
update get_core_path
ahnaf-tahmid-chowdhury Oct 20, 2024
b8f634c
add /usr/local/lib/ to lib path
ahnaf-tahmid-chowdhury Oct 20, 2024
73cd266
remove file openmc_exec
ahnaf-tahmid-chowdhury Oct 20, 2024
ea6fab9
remove openmc_exec
ahnaf-tahmid-chowdhury Oct 20, 2024
e519189
Allow CMAKE_INSTALL_RPATH_USE_LINK_PATH
ahnaf-tahmid-chowdhury Oct 20, 2024
32d96e2
renamed to GenerateScript.cmake
ahnaf-tahmid-chowdhury Oct 20, 2024
f52ff64
remove SKBUILDScripts
ahnaf-tahmid-chowdhury Oct 20, 2024
d1f8ae3
revert
ahnaf-tahmid-chowdhury Oct 22, 2024
ddb6c96
update to 1.8
ahnaf-tahmid-chowdhury Oct 22, 2024
c1bcb8c
reduced diff
jon-proximafusion Nov 8, 2024
f7441af
Merge branch 'develop' into scikit_build_core_wheel
jon-proximafusion Nov 8, 2024
6065c69
reducing diff
jon-proximafusion Nov 8, 2024
2217521
prepare for merge
ahnaf-tahmid-chowdhury Nov 27, 2024
26c0367
Merge remote-tracking branch 'upstream/develop' into scikit_build_cor…
ahnaf-tahmid-chowdhury Nov 27, 2024
48b0ee5
mv openmc to src
ahnaf-tahmid-chowdhury Nov 27, 2024
6e8d1af
do not ignore .h5
ahnaf-tahmid-chowdhury Nov 27, 2024
b2abffb
make test
ahnaf-tahmid-chowdhury Nov 30, 2024
3ede515
Exclude src/openmc
ahnaf-tahmid-chowdhury Dec 2, 2024
1806f76
move openmc to python dir
ahnaf-tahmid-chowdhury Dec 3, 2024
d80e7df
python/openmc -> openmc
ahnaf-tahmid-chowdhury Dec 12, 2024
c760abf
Merge remote-tracking branch 'upstream/develop' into scikit_build_cor…
ahnaf-tahmid-chowdhury Dec 12, 2024
79e789b
openmc -> python/openmc
ahnaf-tahmid-chowdhury Dec 12, 2024
97eec30
add load the library from the installed module
ahnaf-tahmid-chowdhury Dec 13, 2024
97b26d0
python/openmc -> openmc
ahnaf-tahmid-chowdhury Dec 13, 2024
aeef2d6
python/openmc -> openmc
ahnaf-tahmid-chowdhury Dec 13, 2024
b0995b8
add fallback
ahnaf-tahmid-chowdhury Dec 13, 2024
e4878ae
rm openmc
ahnaf-tahmid-chowdhury Dec 13, 2024
d1a06fe
Add OPENMC_CORE_BASE_PATH
ahnaf-tahmid-chowdhury Dec 13, 2024
024855a
remove extra check
ahnaf-tahmid-chowdhury Dec 13, 2024
cc1ccfc
run tests on temp dir
ahnaf-tahmid-chowdhury Dec 16, 2024
98698bd
mv openmc python/openmc
ahnaf-tahmid-chowdhury Dec 17, 2024
3317476
rename openmc
ahnaf-tahmid-chowdhury Dec 18, 2024
34a6396
Merge branch 'develop' into scikit_build_core_wheel
jon-proximafusion Jan 9, 2025
e7a8165
fix merge
ahnaf-tahmid-chowdhury Jan 12, 2025
2588411
Merge branch 'openmc-dev:develop' into scikit_build_core_wheel
shimwell Feb 3, 2025
d68c72d
Update .github/workflows/pypi.yml
ahnaf-tahmid-chowdhury Feb 6, 2025
97d1083
Update tools/ci/manylinux.dockerfile
ahnaf-tahmid-chowdhury Feb 6, 2025
f09af41
Update tools/ci/manylinux.dockerfile
ahnaf-tahmid-chowdhury Feb 6, 2025
7358680
Update docs/source/usersguide/install.rst
ahnaf-tahmid-chowdhury Feb 6, 2025
e28236a
Update tools/ci/manylinux.dockerfile
ahnaf-tahmid-chowdhury Feb 6, 2025
63fef8c
Merge branch 'develop' into scikit_build_core_wheel
jon-proximafusion Feb 11, 2025
49b0ee3
Merge remote-tracking branch 'upstream/develop' into scikit_build_cor…
ahnaf-tahmid-chowdhury Mar 6, 2025
20c292e
add apt packages
ahnaf-tahmid-chowdhury Mar 6, 2025
af3de3c
remove manylinux docker tools
ahnaf-tahmid-chowdhury Mar 6, 2025
ebf15a0
Merge branch 'openmc-dev:develop' into skbuild-minimal
ahnaf-tahmid-chowdhury Mar 7, 2025
735072a
Align cmake args
shimwell Mar 9, 2025
46e1df3
Merge remote-tracking branch 'upstream/develop' into skbuild-minimal
ahnaf-tahmid-chowdhury Apr 1, 2025
000b36f
Merge branch 'develop' into making-wheel-3
shimwell Apr 22, 2025
b456540
more standard location
shimwell Apr 22, 2025
2ceb715
Merge branch 'develop' into making-wheel-3
shimwell Apr 23, 2025
e09782a
[skip ci] failing at dd compile
shimwell Apr 23, 2025
f16e800
[skip ci] failing at dd compile
shimwell Apr 23, 2025
b9bab84
[skip ci] docker build appears to be working
shimwell Apr 23, 2025
14ab4d3
[skip ci] hardcode version
shimwell Apr 23, 2025
c753d1e
hardcode version
shimwell Apr 25, 2025
a970959
Merge branch 'making-wheel-3' of github.com:shimwell/openmc into maki…
shimwell Apr 25, 2025
d2bfdc9
added testing files
shimwell Apr 25, 2025
877bac8
Merge branch 'develop' into making-wheel-3
shimwell Jun 4, 2025
280f717
[skip ci] generic openmc version
shimwell Jun 4, 2025
77abef5
[skip ci] adding python dev
shimwell Jun 4, 2025
08fd19d
Merge branch 'develop' into making-wheel-3
shimwell Jun 13, 2025
4a9c6de
Merge branch 'develop' into making-wheel-3
shimwell Jun 18, 2025
9edcb47
Merge branch 'develop' into making-wheel-3
shimwell Jun 20, 2025
24ee68c
Merge branch 'develop' into making-wheel-3
shimwell Jun 26, 2025
87bf55a
Merge branch 'develop' into making-wheel-3
shimwell Jul 4, 2025
95b853c
Merge branch 'develop' into making-wheel-3
shimwell Jul 18, 2025
586a16c
returned to python 3.11+
shimwell Jul 18, 2025
3dc74ed
Merge branch 'develop' into making-wheel-3
shimwell Jul 31, 2025
6cf0eac
[skip ci] pkg now on pypi
shimwell Jul 31, 2025
3031e19
Revert "Fix Weight Window Infinite Loop Bug (#3457)"
shimwell Aug 5, 2025
65639bf
Merge pull request #76 from shimwell/making-wheel-4
shimwell Aug 5, 2025
3eec63e
no py 3.10
shimwell Aug 5, 2025
bc1c74a
added space
shimwell Aug 6, 2025
5dbff11
merge conflict
shimwell Oct 6, 2025
accba89
Merge branch 'develop' into making-wheel-3
shimwell Oct 21, 2025
b95aebf
added py 14
shimwell Oct 30, 2025
323fcb7
Merge branch 'develop' into making-wheel-3
shimwell Oct 30, 2025
8a6c727
removed vtk
shimwell Oct 31, 2025
7c47af7
Merge branch 'develop' into making-wheel-3
shimwell Nov 7, 2025
c7d8221
using vtkhdf
shimwell Nov 7, 2025
cea16d5
Merge branch 'develop' into making-wheel-3
shimwell Nov 19, 2025
a291953
Initial implementation of the XDG mesh
pshriwise Feb 3, 2026
d85fd1f
Accounting for XDGMesh when creating MeshFilters
pshriwise Feb 4, 2026
612c891
Updating call to XDG for element connectivity
pshriwise Feb 6, 2026
e860ea9
Adding XDG unstructured mesh tallies mirroring those of the current u…
pshriwise Feb 9, 2026
f3603fc
Use explicit name for kwarg for clarity
pshriwise Feb 10, 2026
36dc4ac
Report XDG availability in build info
pshriwise Mar 13, 2026
2ec0d47
Only set libmesh comms in XDG if it has libMesh enabled
pshriwise Mar 13, 2026
645c97f
Adding XDG to CI builds. MOAB and libMesh should be built if XDG is e…
pshriwise Mar 13, 2026
1b3a9a2
Adding init files for proper test discovery with pytest
pshriwise Mar 13, 2026
028a9ad
Update submodules when cloning XDG in CI
pshriwise Mar 13, 2026
380b81b
Add XDG to the OpenMC CMake config file
pshriwise Mar 15, 2026
ca5bd5a
Adding more test scenarios for XDG meshes
pshriwise Mar 15, 2026
8c178fd
More descriptive test labels
pshriwise Mar 15, 2026
ab9b610
Use existing vendor targets if they exist
pshriwise Mar 18, 2026
6cfde21
Returning const string ref for mesh filename
pshriwise Mar 18, 2026
1584b93
C++ style
pshriwise Mar 18, 2026
fe27f04
Apply suggestions from @nuclearkevin
pshriwise Mar 21, 2026
a10f167
Merge branch 'making-wheel-3' into making-wheel-with-xdg-try3
jon-proximafusion Apr 13, 2026
e30b7ce
added wheel building with xdg
jon-proximafusion Apr 13, 2026
6e56ff7
needed for docker build
jon-proximafusion Apr 13, 2026
abf268d
added wheel builder
jon-proximafusion Apr 13, 2026
53bd801
using docker image
jon-proximafusion Apr 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
**/__pycache__
*.pyc
build/
dist/
statepoint.*
summary.h5
mgxs.h5
vendor/xtensor
vendor/xtl
q
74 changes: 74 additions & 0 deletions .github/workflows/build-wheels-linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: Build Linux Wheels

on:
push:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 120
strategy:
matrix:
python-abi: ["cp312-cp312", "cp313-cp313", "cp314-cp314"]
include:
- python-abi: "cp312-cp312"
python-version: "3.12"
- python-abi: "cp313-cp313"
python-version: "3.13"
- python-abi: "cp314-cp314"
python-version: "3.14"

steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build wheel
run: |
docker build \
--build-arg Python_ABI=${{ matrix.python-abi }} \
--build-arg OPENMC_USE_DAGMC=ON \
--build-arg OPENMC_USE_XDG=ON \
-t openmc_wheel:python${{ matrix.python-version }} \
-f manylinux.Dockerfile .

- name: Extract wheel
run: |
mkdir -p wheelhouse
docker create --name wheel_container openmc_wheel:python${{ matrix.python-version }}
docker cp wheel_container:/root/openmc/dist/. wheelhouse
docker rm wheel_container
ls -la wheelhouse/*manylinux*.whl

- name: Upload wheels
uses: actions/upload-artifact@v4
with:
name: linux-wheel-${{ matrix.python-version }}
path: wheelhouse/*manylinux*.whl

test:
needs: build
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14"]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download wheel
uses: actions/download-artifact@v4
with:
name: linux-wheel-${{ matrix.python-version }}
path: wheelhouse

- name: Test wheel in Docker
run: |
docker build \
--progress=plain \
-f wheeltest.Dockerfile \
--build-arg python_version=${{ matrix.python-version }} \
.
114 changes: 114 additions & 0 deletions .github/workflows/build-wheels-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
name: Build macOS ARM Wheels

on:
push:
workflow_dispatch:

env:
MOAB_TAG: "5.6.0"
DAGMC_TAG: "v3.2.4"
DEP_PREFIX: /usr/local/openmc_deps

jobs:
build:
runs-on: macos-14
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14"]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install system dependencies
run: |
brew install hdf5 netcdf eigen zlib
pip install cmake

- name: Build MOAB
run: |
sudo mkdir -p ${{ env.DEP_PREFIX }}
git clone --depth 1 -b ${{ env.MOAB_TAG }} https://bitbucket.org/fathomteam/moab.git
cd moab
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=${{ env.DEP_PREFIX }} \
-DENABLE_MPI=OFF \
-DENABLE_FORTRAN=OFF \
-DENABLE_HDF5=ON \
-DHDF5_ROOT=$(brew --prefix hdf5) \
-DENABLE_NETCDF=OFF \
-DBUILD_SHARED_LIBS=ON \
-DENABLE_BLASLAPACK=OFF \
-DENABLE_PYMOAB=OFF
make -j$(sysctl -n hw.ncpu)
sudo make install

- name: Build DAGMC
run: |
git clone --depth 1 -b ${{ env.DAGMC_TAG }} https://github.com/svalinn/DAGMC.git
cd DAGMC
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=${{ env.DEP_PREFIX }} \
-DMOAB_DIR=${{ env.DEP_PREFIX }} \
-DDOUBLE_DOWN=OFF \
-DBUILD_TALLY=OFF \
-DBUILD_UWUW=OFF \
-DBUILD_STATIC_LIBS=OFF \
-DBUILD_RPATH=OFF \
-DCMAKE_PREFIX_PATH=$(brew --prefix zlib)
make -j$(sysctl -n hw.ncpu)
sudo make install

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install Python build tools
run: |
pip install build delocate

- name: Build wheel
run: |
export SKBUILD_CMAKE_ARGS="-DOPENMC_USE_DAGMC=ON;-DOPENMC_USE_LIBMESH=OFF;-DOPENMC_USE_MPI=OFF;-DOPENMC_USE_OPENMP=OFF;-DHDF5_ROOT=$(brew --prefix hdf5);-DCMAKE_PREFIX_PATH=${{ env.DEP_PREFIX }}"
python -m build . -w

- name: Repair wheel
run: |
delocate-wheel -w wheelhouse dist/openmc-*.whl
ls -la wheelhouse/

- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: macos-arm-wheel-${{ matrix.python-version }}
path: wheelhouse/*.whl

test:
needs: build
runs-on: macos-14
strategy:
matrix:
python-version: ["3.12", "3.13", "3.14"]

steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Download wheel
uses: actions/download-artifact@v4
with:
name: macos-arm-wheel-${{ matrix.python-version }}
path: wheelhouse

- name: Test wheel
run: |
python -m venv test_env
source test_env/bin/activate
pip install wheelhouse/openmc-*.whl
python -c "import openmc.lib; print('openmc.lib imported successfully')"
openmc --version
17 changes: 16 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
mpi: [n, y]
omp: [n, y]
dagmc: [n]
xdg: [n]
libmesh: [n]
event: [n]

Expand All @@ -64,6 +65,11 @@ jobs:
python-version: "3.12"
mpi: y
omp: y
- xdg: y
python-version: "3.12"
libmesh: y
mpi: n
omp: y
- libmesh: y
python-version: "3.12"
mpi: y
Expand All @@ -78,13 +84,15 @@ jobs:
mpi: n
name: "Python ${{ matrix.python-version }} (omp=${{ matrix.omp }},
mpi=${{ matrix.mpi }}, dagmc=${{ matrix.dagmc }},
libmesh=${{ matrix.libmesh }}, event=${{ matrix.event }}"
xdg=${{ matrix.xdg }}, libmesh=${{ matrix.libmesh }},
event=${{ matrix.event }}"

env:
MPI: ${{ matrix.mpi }}
PHDF5: ${{ matrix.mpi }}
OMP: ${{ matrix.omp }}
DAGMC: ${{ matrix.dagmc }}
XDG: ${{ matrix.xdg }}
EVENT: ${{ matrix.event }}
LIBMESH: ${{ matrix.libmesh }}
NPY_DISABLE_CPU_FEATURES: "AVX512F AVX512_SKX"
Expand Down Expand Up @@ -115,6 +123,7 @@ jobs:
run: |
echo "OPENMC_CROSS_SECTIONS=$HOME/nndc_hdf5/cross_sections.xml" >> $GITHUB_ENV
echo "OPENMC_ENDF_DATA=$HOME/endf-b-vii.1" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH" >> $GITHUB_ENV
# get the sha of the last branch commit
# for push and workflow_dispatch events, use the current reference head
BRANCH_SHA=HEAD
Expand Down Expand Up @@ -146,6 +155,12 @@ jobs:
sudo update-alternatives --set mpirun /usr/bin/mpirun.mpich
sudo update-alternatives --set mpi-x86_64-linux-gnu /usr/include/x86_64-linux-gnu/mpich

- name: Optional apt dependencies for XDG
shell: bash
if: ${{ matrix.xdg == 'y' }}
run: |
sudo apt install -y libembree-dev

- name: install
shell: bash
run: |
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ results_test.dat
# Test
.pytest_cache/

# HDF5 files
*.h5

# Build files
src/CMakeCache.txt
src/CMakeFiles/
Expand Down
4 changes: 4 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ build:
os: "ubuntu-24.04"
tools:
python: "3.12"
apt_packages:
- g++
- libhdf5-dev
- libpng-dev
jobs:
post_checkout:
- git fetch --unshallow || true
Expand Down
Loading
Loading