Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TomoPhantom and CCPi regularisation tags #813

Merged
merged 30 commits into from
Sep 12, 2023
Merged

Conversation

paskino
Copy link
Contributor

@paskino paskino commented Mar 15, 2023

closes #812

@KrisThielemans
Copy link
Member

I've merged master. Possibly the tags are again already out-of-date of course.

Copy link
Member

@KrisThielemans KrisThielemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update CHANGES.md

@KrisThielemans
Copy link
Member

CIL_regularisation tests failing with stuff like

  File "/home/runner/work/SIRF-SuperBuild/SIRF-SuperBuild/build/sources/CCPi-Regularisation-Toolkit/test/test_run_test.py", line 389, in test_TGV_CPU_vs_GPU
    (tgv_gpu, info_vec_gpu) = TGV(pars['input'],
  File "/home/runner/install/python/ccpi/filters/regularisers.py", line 117, in TGV
    return TGV_GPU(inputData,
NameError: name 'TGV_GPU' is not defined

@KrisThielemans KrisThielemans added this to the v3.6 milestone Jun 8, 2023
add_test(NAME CIL_REGULARISATION_TEST_1
COMMAND ${PYTHON_EXECUTABLE} -m unittest discover -s test -p test_*.py
add_test(NAME CIL_REGULARISATION_TEST_CPU
COMMAND ${PYTHON_EXECUTABLE} -m unittest discover -s test -p test_CPU_*.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't we discover if there's a GPU (I think we have a CMake variable for it)? If not, then this is fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a variable ${${proj}_USE_CUDA} but it only detects if CUDA SDK is present not the availability of a GPU.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At any rate this should be handled upstream, TomographicImaging/CCPi-Regularisation-Toolkit#177

KrisThielemans and others added 22 commits September 11, 2023 16:59
Uses environment.yml from SIRF-Exercises if using conda, and it is found. Defaults to requirements.txt if not found or not using conda.
we forced BUILD_TESTING=ON for some reason. Now we use the value
of our own CMake variable

Fixes #824
should never have been here. The CMAKE_INCLUDE_PATH should
not point to CMAKE_INSTALL_PREFIX/include, as it should be
used for CMake files
SIRF Matlab support is out-of-date and could generate conflicts with Python shared libraries.
Copy link
Member

@KrisThielemans KrisThielemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's squash-merge this one. No idea why there are so many commits here!

@paskino paskino merged commit d858fda into master Sep 12, 2023
@paskino paskino deleted the update_ccpi_repos_tags branch September 12, 2023 08:23
casperdcl pushed a commit that referenced this pull request Oct 11, 2023
* Update TomoPhantom and CCPi regularisation tags
closes #812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update CCPi Regularisation and TomoPhantom tags
3 participants