Repository navigation
bump libparallelproj - #1798
bump libparallelproj#1798casperdcl wants to merge 1 commit into
Conversation
Up to standards ✅🟢 Issues
|
|
Looks good. We're not running any CUDA tests though in CI. Will need someone to actually run the tests with CUDA. @MatteoNeelColombo ? |
|
This is probably a good point to required parallelproj >=2 now (as we're not testing paralleproj 1 anyway) Line 265 in 96507ca |
|
I built this PR with libparallelproj 3.0.0 with CUDA (RTX 2080 SUPER, CUDA 12.9) and ran the tests:
|
|
if needed, I can also run a test with cuda13 and libparallelproj 3.0 locally. Is there a guide on how to build and which tests to run? |
|
The CI is a complicated indeed due to the many options. The main difficulty really is to get dependencies installed, although they are pretty much all optional. But as you're using git clone https://github.com/UCL/STIR
cd STIR
git switch bump-parallelproj
# MANUAL edit build_environment.yml to enable cuda
conda create env -f build_environment.yml
CMAKE_INSTALL_PREFIX=~/install
CONFIG=Release
mkdir -p build
cd build
cmake -G Ninja -S .. -B . --DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_INSTALL_PREFIX} \
-DCMAKE_BUILD_TYPE=${CONFIG} \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=TRUE \
-DCMAKE_INSTALL_RPATH:PATH=${CMAKE_INSTALL_PREFIX}/lib
cmake --build . --config ${CONFIG} --target install
ctest --output-on-failure -C ${CONFIG}
cd ../recon_test_pack
./run_test_simulate_and_recon.sh
cd ../src
python -m pytest .There are more recon_test_pack tests, but they don't use parallelproj. I have no idea how to avoid the manual edits of CMake presets could reduce the number of lines a bit, so maybe we should introduce that. Recommendations welcome! |
/cc @gschramm