[SyneRBI/SIRF-SuperBuild] defer installation of some CIL run requirements after build (PR #937)

5 views
Skip to first unread message

Edoardo Pasca

unread,
Feb 11, 2025, 9:40:57 AM2/11/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Defers the installation of CIL run requirements which confuse CMake.


You can view, comment on, or merge this pull request online at:

  https://github.com/SyneRBI/SIRF-SuperBuild/pull/937

Commit Summary

  • 42c81af defer installation of some CIL run requirements after build

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937@github.com>

Edoardo Pasca

unread,
Feb 11, 2025, 11:10:32 AM2/11/25
to SyneRBI/SIRF-SuperBuild, Subscribed

There is an issue with Gadgetron or dcmtk and GCC? https://github.com/SyneRBI/SIRF-SuperBuild/actions/runs/13265453075/job/37031643450?pr=937

/usr/include/dcmtk/ofstd/ofstdinc.h:121:2: error: #error "Macro INCLUDE_CSTRING not supported anymore. Include <cstring> directly."
  121 | #error "Macro INCLUDE_CSTRING not supported anymore. Include <cstring> directly."

This is the error on my docker instance, potentially I haven't redirected stderr so the output seems incomplete.

#24 86.45 ninja: build stopped: subcommand failed.
#24 86.45 ninja: build stopped: subcommand failed.
#24 ERROR: process "/bin/bash -o pipefail -c BUILD_FLAGS=\"-G Ninja -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DSTIR_ENABLE_OPENMP=${STIR_ENABLE_OPENMP} -DUSE_SYSTEM_Armadillo=${USE_SYSTEM_Armadillo} -DUSE_SYSTEM_Boost=${USE_SYSTEM_Boost} -DUSE_SYSTEM_FFTW3=${USE_SYSTEM_FFTW3} -DUSE_SYSTEM_HDF5=${USE_SYSTEM_HDF5} -DUSE_ITK=${USE_ITK} -DUSE_SYSTEM_SWIG=${USE_SYSTEM_SWIG} -DUSE_NiftyPET=${USE_NiftyPET} -DBUILD_siemens_to_ismrmrd=${BUILD_siemens_to_ismrmrd} -DBUILD_pet_rd_tools=${BUILD_pet_rd_tools} -DGadgetron_USE_CUDA=${Gadgetron_USE_CUDA} -DBUILD_CIL=${BUILD_CIL}\"  EXTRA_BUILD_FLAGS=\"${EXTRA_BUILD_FLAGS}\"  bash /opt/scripts/user_sirf-ubuntu.sh  && fix-permissions /opt/SIRF-SuperBuild /opt/ccache" did not complete successfully: exit code: 1


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2651287156@github.com>

Kris Thielemans

unread,
Feb 11, 2025, 11:53:49 AM2/11/25
to SyneRBI/SIRF-SuperBuild, Subscribed

There is. gadgetron/gadgetron#1277. However, this shouldn't occur on ubuntu 22.04. Does it say somewhere what version of dcmtk is being used?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2651445876@github.com>

Edoardo Pasca

unread,
Feb 12, 2025, 3:28:23 AM2/12/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Good spot! My docker image says it's 24.04

(base) root@2a418c82a9b7:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.04.1 LTS
Release:        24.04
Codename:       noble

I suppose the base docker image has upgraded to 24.04 more or less recently.

https://github.com/SyneRBI/SIRF-SuperBuild/blob/5f1a7f498bf6f41551c19eb53798b5d33af43eec/Dockerfile#L2

We hit a similar issue but for a too old image with CIL.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2652977622@github.com>

Edoardo Pasca

unread,
Feb 12, 2025, 3:36:33 AM2/12/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/42c81afdf2ff8a0c9cc47395a3d746e4357363fa/after/561937d7944e8c20a9640fcbc9478b286b7716a5@github.com>

Edoardo Pasca

unread,
Feb 12, 2025, 9:41:59 AM2/12/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • b1c3014 revert gadgetron changes and use ubuntu22.04 for docker base image


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/561937d7944e8c20a9640fcbc9478b286b7716a5/after/b1c3014f74d9480ff609f6b33a7dbe8de32e3819@github.com>

Edoardo Pasca

unread,
Feb 12, 2025, 10:22:12 AM2/12/25
to SyneRBI/SIRF-SuperBuild, Subscribed

On my docker instance with the ubuntu-22.04 base image it builds

(base) root@2035ef435116:/opt/SIRF-SuperBuild# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2654039553@github.com>

Edoardo Pasca

unread,
Feb 12, 2025, 10:24:53 AM2/12/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 2 commits.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/b1c3014f74d9480ff609f6b33a7dbe8de32e3819/after/5f745dc958456b7f86c365b6bcc567f87b04e91b@github.com>

Edoardo Pasca

unread,
Feb 12, 2025, 10:26:43 AM2/12/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/5f745dc958456b7f86c365b6bcc567f87b04e91b/after/4ac890254160903ba8aefe49beaf818aa0b2db08@github.com>

Edoardo Pasca

unread,
Feb 12, 2025, 11:49:36 AM2/12/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 2 commits.

  • 6d67322 defer pip install in GHA
  • eeb1549 added zenodo_get for CIL >=24.2.0


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/4ac890254160903ba8aefe49beaf818aa0b2db08/after/eeb1549440a68caee7abc1fb996f3f4fad7d1d9f@github.com>

Kris Thielemans

unread,
Feb 12, 2025, 4:55:39 PM2/12/25
to SyneRBI/SIRF-SuperBuild, Subscribed

@KrisThielemans commented on this pull request.


In Dockerfile:

>  RUN if test "$BUILD_GPU" != 0; then \
   sed -ri 's/^(\s*)#\s*(- \S+.*#.*GPU.*)$/\1\2/' /opt/scripts/requirements.yml; \
  fi \
  && if test "$BUILD_CIL" != "OFF"; then \
-  sed -r -i -e '/^\s*- (cil|ccpi-regulariser).*/d' /opt/scripts/requirements.yml; \
+  sed -r -i -e '/^\s*- (cil|ccpi-regulariser|h5py|dxchange).*/d' /opt/scripts/requirements.yml; \
+  else \
+    sed -r -i -e '/^\s*- (h5py|dxchange|cil|ccpi-regulariser|pillow|olefile|pywavelets|cil-data|tqdm|numba|zenodo_get).*/d' /opt/scripts/requirements.yml; \

I think SIRF-exercises do need numba and tqdm, zenodo_get would be useful as well


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/review/2613297040@github.com>

Kris Thielemans

unread,
Feb 12, 2025, 4:57:40 PM2/12/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Why did you move the python setup later on GHA? GHA is using the system python and pip. This doesn't have anything to do with conda discussions/problems on docker.

By the way, why not pin the hdf5 version (both conda and pip I guess to be the same as the system one. Then it wouldn't matter which one is picked up. For conda, I suppose we'd still need to install cxx-compiler to avoid what we saw at #935 (comment)


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2654930552@github.com>

Edoardo Pasca

unread,
Feb 13, 2025, 5:01:29 AM2/13/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Let's install hdf5 from conda/pip of the same version of the system one to minimise incompatibilities.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2656085460@github.com>

Edoardo Pasca

unread,
Feb 13, 2025, 5:03:03 AM2/13/25
to SyneRBI/SIRF-SuperBuild, Subscribed

@paskino commented on this pull request.


In .github/workflows/c-cpp.yml:

> +    - uses: actions/setup-python@v5
+      with:
+        python-version: '${{ steps.deps.outputs.python-version }}'
+        cache: pip
+    - name: pip install
+      working-directory: docker
+      run: PYTHON_EXECUTABLE=python3 PYTHON_INSTALL_DIR="$HOME/virtualenv" ./user_python-ubuntu.sh
+    - uses: hendrikmuhs/ccache-action@v1
+      with:
+        key: ${{ matrix.os }}-${{ env.COMPILER }}-${{ matrix.compiler_version }}-${{ env.BUILD_TYPE }}-${{ github.ref_name }}-${{ github.run_id }}
+        restore-keys: |
+          ${{ matrix.os }}-${{ env.COMPILER }}-${{ matrix.compiler_version }}-${{ env.BUILD_TYPE }}-${{ github.ref_name }}
+          ${{ matrix.os }}-${{ env.COMPILER }}-${{ matrix.compiler_version }}-${{ env.BUILD_TYPE }}
+        append-timestamp: false

let's revert this once the same version of HDF5 that is in the system is installed via pip/conda.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/review/2614484341@github.com>

Edoardo Pasca

unread,
Feb 13, 2025, 9:45:10 AM2/13/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • aa49ed2 install hdf5 version 1.10.7 as on Ubuntu 22.04


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/eeb1549440a68caee7abc1fb996f3f4fad7d1d9f/after/aa49ed2ca3d23237e6ce8a4a62a08d5c4cb7fccd@github.com>

Edoardo Pasca

unread,
Feb 14, 2025, 2:56:38 AM2/14/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • c1a6e38 revert change of pip install order


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/aa49ed2ca3d23237e6ce8a4a62a08d5c4cb7fccd/after/c1a6e38b637a44f65d83999fa95966094e0a5af3@github.com>

Edoardo Pasca

unread,
Feb 14, 2025, 3:05:42 AM2/14/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • 6b20771 try to find an appropriate version by relaxing patch level


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/c1a6e38b637a44f65d83999fa95966094e0a5af3/after/6b20771abacc5214da05bb29c9e48bd20c6b7645@github.com>

Edoardo Pasca

unread,
Feb 14, 2025, 3:28:21 AM2/14/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/6b20771abacc5214da05bb29c9e48bd20c6b7645/after/97a49885eed033f07f5136312447e54f00c01fd2@github.com>

Edoardo Pasca

unread,
Feb 14, 2025, 3:41:47 AM2/14/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/97a49885eed033f07f5136312447e54f00c01fd2/after/e3184a11f03868d71409a623b0d92e46d97526c6@github.com>

Edoardo Pasca

unread,
Feb 25, 2025, 4:38:07 AM2/25/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • 48e0ef1 do not install hdf5 from ubuntu packages and force build of Armadillo on docker


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/e3184a11f03868d71409a623b0d92e46d97526c6/after/48e0ef19116a7db4e3c666906cd94e650b349e10@github.com>

Kris Thielemans

unread,
Feb 25, 2025, 5:06:38 AM2/25/25
to SyneRBI/SIRF-SuperBuild, Subscribed

@KrisThielemans commented on this pull request.

Seems we're on a long path here...


In docker/requirements.yml:

>    - pillow            # cil
   - olefile >=0.46    # cil
   - pywavelets        # cil
   - cil-data >=21.3.0 # cil
   - ipp >=2021.10     # cil
   - tqdm              # cil
   - numba             # cil 
+  - h5py        # gadgetron and CIL
+  - hdf5        # gadgetron and CIL

and STIR actually


In CHANGES.md:

> @@ -1,7 +1,9 @@
 # ChangeLog
 
 ## v3.x.x
-- Udated Versions:
+- Docker image updates:
+  - defer installation of CIL requirements after build (#937)
+- Updated Versions:

looks like you need to list gadgetron update as well.


In Dockerfile:

> @@ -25,19 +25,27 @@ ARG BUILD_CIL="OFF"
 COPY docker/requirements.yml /opt/scripts/
 # https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html#conda-environments
 # https://github.com/TomographicImaging/CIL/blob/master/Dockerfile
+# First remove the CIL run-dependencies from requirements.yml as they install hdf5 and CMake gets confused

no longer correct comment?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/review/2640351361@github.com>

Edoardo Pasca

unread,
Feb 25, 2025, 9:15:41 AM2/25/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/48e0ef19116a7db4e3c666906cd94e650b349e10/after/8f89c5c750099a3ed0bcf360be43b0bc527e79ea@github.com>

Edoardo Pasca

unread,
Feb 26, 2025, 7:00:01 AM2/26/25
to SyneRBI/SIRF-SuperBuild, Subscribed

@paskino commented on this pull request.


In Dockerfile:

> @@ -25,19 +25,27 @@ ARG BUILD_CIL="OFF"
 COPY docker/requirements.yml /opt/scripts/
 # https://jupyter-docker-stacks.readthedocs.io/en/latest/using/common.html#conda-environments
 # https://github.com/TomographicImaging/CIL/blob/master/Dockerfile
+# First remove the CIL run-dependencies from requirements.yml as they install hdf5 and CMake gets confused

not correct indeed, but it's still not passing unittests!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/review/2644225258@github.com>

Edoardo Pasca

unread,
Feb 26, 2025, 7:01:49 AM2/26/25
to SyneRBI/SIRF-SuperBuild, Subscribed

I tried armadillo from conda-forge but the superbuild didn't find the devel files.

Yes, as usual this is a long and painful road.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2684761725@github.com>

paskinopaskino left a comment (SyneRBI/SIRF-SuperBuild#937)

I tried armadillo from conda-forge but the superbuild didn't find the devel files.

Yes, as usual this is a long and painful road.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2684761725@github.com>

Edoardo Pasca

unread,
Feb 26, 2025, 8:44:54 AM2/26/25
to SyneRBI/SIRF-SuperBuild, Subscribed

I get the following error on Gadgetron configuration. Indeed the system boost is 1.78.0.3 on Ubuntu 22.04

CMake Error at /usr/local/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost: Found unsuitable version "1.74.0", but required is at
  least "1.80.0" (found /usr/include, found components: coroutine system
  date_time program_options filesystem timer context chrono)


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2684997890@github.com>

paskinopaskino left a comment (SyneRBI/SIRF-SuperBuild#937)

I get the following error on Gadgetron configuration. Indeed the system boost is 1.78.0.3 on Ubuntu 22.04

CMake Error at /usr/local/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost: Found unsuitable version "1.74.0", but required is at
  least "1.80.0" (found /usr/include, found components: coroutine system
  date_time program_options filesystem timer context chrono)


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2684997890@github.com>

Kris Thielemans

unread,
Mar 7, 2025, 3:09:59 AM3/7/25
to SyneRBI/SIRF-SuperBuild, Subscribed

@KrisThielemans commented on this pull request.


In docker/requirements.yml:

>    - pillow            # cil
   - olefile >=0.46    # cil
   - pywavelets        # cil
   - cil-data >=21.3.0 # cil
   - ipp >=2021.10     # cil
   - tqdm              # cil
   - numba             # cil 
+  - h5py        # gadgetron and CIL
+  - hdf5        # gadgetron and CIL

I meant, hdf5 is needed by STIR


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/review/2666535278@github.com>

Kris Thielemans

unread,
Mar 7, 2025, 3:25:17 AM3/7/25
to SyneRBI/SIRF-SuperBuild, Subscribed

The Gadgetron boost error will be because you update Gadgetron (which I told you to do). Let's keep it at the original version for now to get this through and see.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2705822045@github.com>

KrisThielemansKrisThielemans left a comment (SyneRBI/SIRF-SuperBuild#937)

The Gadgetron boost error will be because you update Gadgetron (which I told you to do). Let's keep it at the original version for now to get this through and see.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2705822045@github.com>

Edoardo Pasca

unread,
Mar 10, 2025, 11:02:43 AM3/10/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 3 commits.

  • 20daee0 build with one thread
  • 73a4b6a install hdf5 via conda
  • de11e91 add environment variable to install HDF5 from apt


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/8f89c5c750099a3ed0bcf360be43b0bc527e79ea/after/de11e91814c792ca06781e06243f7fc297f05c28@github.com>

Kris Thielemans

unread,
Mar 10, 2025, 11:12:58 AM3/10/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Downgrade gadgetron!
However, building with conda hdf5 fails due to UCL/STIR#1557. So, if we do this, you'll need to fix that STIR (actually, cmake!) problem, and update STIR in version_config.cmake

Note that I successfully built Gadgetron via conda packages now. Update on https://github.com/SyneRBI/SIRF/wiki/Building-SIRF-and-CIL-with-conda.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2710934996@github.com>

KrisThielemansKrisThielemans left a comment (SyneRBI/SIRF-SuperBuild#937)

Downgrade gadgetron!
However, building with conda hdf5 fails due to UCL/STIR#1557. So, if we do this, you'll need to fix that STIR (actually, cmake!) problem, and update STIR in version_config.cmake

Note that I successfully built Gadgetron via conda packages now. Update on https://github.com/SyneRBI/SIRF/wiki/Building-SIRF-and-CIL-with-conda.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2710934996@github.com>

Edoardo Pasca

unread,
Mar 10, 2025, 12:55:25 PM3/10/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • 72a0947 loads of new args to cmake


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/de11e91814c792ca06781e06243f7fc297f05c28/after/72a0947d7359604fa021ad03b45fab2409458ce7@github.com>

Edoardo Pasca

unread,
Mar 11, 2025, 5:28:09 AM3/11/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 2 commits.

  • 3532b86 change way to build
  • 40605c7 add zenodo_get to requirements.txt

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/72a0947d7359604fa021ad03b45fab2409458ce7/after/40605c7c461fcee11ebe3e24bb6757e588f6c984@github.com>

Kris Thielemans

unread,
Mar 11, 2025, 7:04:49 AM3/11/25
to SyneRBI/SIRF-SuperBuild, Subscribed

@KrisThielemans requested changes on this pull request.


In docker/requirements.yml:

>    - pillow            # cil
   - olefile >=0.46    # cil
   - pywavelets        # cil
   - cil-data >=21.3.0 # cil
   - ipp >=2021.10     # cil
   - tqdm              # cil
   - numba             # cil 
+  - h5py         # gadgetron and CIL
+  - hdf5         # Gadgetron, STIR and CIL
+  - armadillo =12.8.4   # Gadgetron 
+  - cxx-compiler # compiler which built hdf5 from conda-forge
+  - libstdcxx-ng # Gadgetron
+  - libgcc-ng # Gadgetron
+  - dcmtk  # Gadgetron
⬇️ Suggested change
-  - dcmtk  # Gadgetron
+  - dcmtk=3.6.1  # Gadgetron

seems I forgot that on the wiki


In docker/build_system-ubuntu.sh:

> @@ -54,11 +54,14 @@ else
 fi
 
 ${APT_GET_INSTALL} \
-  libfftw3-dev         \
-  libhdf5-serial-dev   \
-  hdf5-helpers         \
+  libfftw3-dev     \

shouldn't this be in the if USE_UBUNTU_SYSTEM_LIBRARIES


In docker/build_gadgetron-ubuntu.sh:

> @@ -27,6 +23,14 @@ apt-get install -yq --no-install-recommends \
   pkg-config             \
   golang
 
+if USE_UBUNTU_SYSTEM_LIBRARIES=1; then

surely missing $ here (and below)


In docker/build_gadgetron-ubuntu.sh:

>    libxml2-dev            \
   libfreetype6-dev       \
   libxslt-dev            \

these don't seem to be required anymore.


In docker/build_gadgetron-ubuntu.sh:

>    jq                     \
-  hdf5-tools             \
   libopenblas-dev      \

this should be in the USE_UBUNTU_SYSTEM_LIBRARIES


In docker/build_gadgetron-ubuntu.sh:

>    liblapack-dev          \
   liblapacke-dev         \
   libplplot-dev          \

this should be in the USE_UBUNTU_SYSTEM_LIBRARIES


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/review/2673920078@github.com>

Kris Thielemans

unread,
Mar 25, 2025, 4:15:00 PM3/25/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Not 100% sure what we do with this now, but surely we urgently need the diff

- ARG BASE_CONTAINER=quay.io/jupyter/scipy-notebook:ubuntu-latest
+ ARG BASE_CONTAINER=quay.io/jupyter/scipy-notebook:ubuntu-22.04


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2752411087@github.com>

KrisThielemansKrisThielemans left a comment (SyneRBI/SIRF-SuperBuild#937)

Not 100% sure what we do with this now, but surely we urgently need the diff

- ARG BASE_CONTAINER=quay.io/jupyter/scipy-notebook:ubuntu-latest
+ ARG BASE_CONTAINER=quay.io/jupyter/scipy-notebook:ubuntu-22.04


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c2752411087@github.com>

Kris Thielemans

unread,
Mar 27, 2025, 6:32:33 AM3/27/25
to SyneRBI/SIRF-SuperBuild, Subscribed

@KrisThielemans commented on this pull request.


In Dockerfile:

> @@ -1,5 +1,5 @@
 # syntax=docker/dockerfile:1
-ARG BASE_CONTAINER=quay.io/jupyter/scipy-notebook:latest
+ARG BASE_CONTAINER=quay.io/jupyter/scipy-notebook:ubuntu-22.04

required?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/review/2720742954@github.com>

Edoardo Pasca

unread,
Aug 12, 2025, 12:14:38 PM8/12/25
to SyneRBI/SIRF-SuperBuild, Subscribed
paskino left a comment (SyneRBI/SIRF-SuperBuild#937)

Hash before rebase 40605c7


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c3180089197@github.com>

Edoardo Pasca

unread,
Aug 12, 2025, 12:16:05 PM8/12/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 45 commits.

  • 4def967 [GHA] add action checkout CITATION.cff
  • 82466ed GHA: use Ubuntu 22.04 (#943)
  • 25e7ece Updated updated modules in find_package command for Python3
  • 698cafb revert change in finding CUDA
  • 4f27200 correct typo
  • 7e18546 cmake: FindPython 3
  • 1cbc258 cmake: fix FindPython hints
  • fda719d Merge pull request #933 from NicoleJurjew/update_find_package
  • b56b85b Update CHANGES.md to clarify use of FindPython in CMake (#944)
  • 49372f1 Windows: find conda fftw libs
  • f9d0b7c Windows: change check on platform
  • 55dd1a5 Pass through CMAKE_GENERATOR and CMAKE_BUILD_TYPE
  • e6e0b4e rename local variable to avoid confusion
  • c5251d1 Merge pull request #950 from KrisThielemans/WindowsFixes
  • 3be314a Update zenodo link
  • 24abf0b VM: set matplotlib backend to `tkagg` (#952)
  • de7c65c Update VirtualBox/documentation/INSTALL.md with macOS(ARM64) instruction (#956)
  • 0f7a05c Update VM INSTALL instructions to point to most recent VM on Zenodo (#957)
  • 614bf85 avoid Gadgetron's conversion of warnings to errors
  • af07124 support Gadgetron_EXTRA_CMAKE_ARGS
  • 991b579 update CHANGES.md
  • e4a9627 Merge pull request #958 from KrisThielemans/Gadgetron_build_options
  • 283e6db various updates to VirtualBox documentation
  • 847a6ca minor fixes to VB scripts
  • 82c5a79 Merge pull request #961 from KrisThielemans/VB_doc_improvements
  • d0eace2 defer installation of some CIL run requirements after build
  • 9dc9e81 use patched Gadgetron
  • 7b5a9b0 revert gadgetron changes and use ubuntu22.04 for docker base image
  • 93a3c6b add date to Gadgetron hash
  • 1f64c7f added changes
  • 9e48711 defer pip install in GHA
  • 47f369c added zenodo_get for CIL >=24.2.0
  • 5edf6f5 install hdf5 version 1.10.7 as on Ubuntu 22.04
  • c65c194 revert change of pip install order
  • 2b6a23f try to find an appropriate version by relaxing patch level
  • 0f09ed0 pip no use cache
  • 459d684 build h5py in pip
  • 1002cdc do not install hdf5 from ubuntu packages and force build of Armadillo on docker
  • 62c3531 update GHA
  • 823bc17 build with one thread
  • f350fcb install hdf5 via conda
  • 769165d add environment variable to install HDF5 from apt
  • 4b38d65 loads of new args to cmake
  • 2f4fe01 change way to build
  • 91ca9c0 Merge branch 'system_hdf5' of github.com:paskino/SIRF-SuperBuild into system_hdf5


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/40605c7c461fcee11ebe3e24bb6757e588f6c984/after/91ca9c0cfd414e2dcaceb5ebb3595c286eb2a76d@github.com>

Edoardo Pasca

unread,
Aug 13, 2025, 4:14:23 AM8/13/25
to SyneRBI/SIRF-SuperBuild, Push

@paskino pushed 1 commit.

  • c77c486 Merge branch 'master' into system_hdf5

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/before/91ca9c0cfd414e2dcaceb5ebb3595c286eb2a76d/after/c77c4867b150d26e52ee0e289f4ff2d570367e95@github.com>

Edoardo Pasca

unread,
Aug 13, 2025, 7:04:28 AM8/13/25
to SyneRBI/SIRF-SuperBuild, Subscribed
paskino left a comment (SyneRBI/SIRF-SuperBuild#937)

Currently encountering a weird error. If building with SB the build fails because of link errors with ISMRMRD. If just configuring with SB and commenting out the build line and then launching the image and executing bash within the container, ISMRMRD builds nicely.

It boils down to the incomplete environment in the case of the docker run build, despite we seem to source the same environment file the environments look completely different and the docker one lacks CXXFLAGS for instance. The CMakeCache for ISMRMRD does not have any linker flags and therefore it fails.

  1. Why are the environments different?
  2. Who sets the CXXFLAGS?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/c3183335123@github.com>

Casper da Costa-Luis

unread,
Dec 8, 2025, 2:10:47 PM12/8/25
to SyneRBI/SIRF-SuperBuild, Subscribed

Closed #937 via #946.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <SyneRBI/SIRF-SuperBuild/pull/937/issue_event/21434406875@github.com>

Reply all
Reply to author
Forward
0 new messages