Open pavelToman opened 3 weeks ago
Thank you for contributing an issue! 🙏
Welcome to the ITK community! 🤗👋☀️
We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines. 📜 Also, please check existing open issues and consider discussion on the ITK Discourse. 📖
This is an automatic message. Allow for time for the ITK community to be able to read the issue and comment on it.
Why not try the latest CastXML then? Or the bundled one, by setting -DITK_USE_SYSTEM_CASTXML=OFF
?
('CastXML', '0.6.5'),
Hi @pavelToman , does upgrading to CastXML 0.6.8 address the issue?
I let it build with bundled one - but it use precompiled binaries (not ideal for our system). And with bundled CastXML the errors are the same. So I try to replace it by CastXML builded on our system. I let the version be the same as the bundled one - thought it fits best for ITK 5.4.0. But I can try to build another version of CastXML and use it.
I build CastXML 0.6.8 and use it as dependency of ITK 5.4.0, but the errors during make step are the same
@pavelToman thanks for the follow-up. To help identify the issue, do you get the same error:
Description
Hello! I am working for University Gent (UGent) and I am trying to install ITK 5.4.0 on our HPC to provide it to our researchers. We are using EasyBuild to build and install all the software.
There is a problem with compilation of ITK 5.4.0, while ITK 5.3.0 can be build and install.
Steps to Reproduce
Configure (cmake) command seems ok, but it failed on make step:
cmake
-DCMAKE_INSTALL_PREFIX=/software/ITK/5.4.0-foss-2023b -DCMAKE_BUILD_TYPE=Release -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DPYTHON_EXECUTABLE=/software/Python/3.11.5-GCCcore-13.2.0/bin/python -DPython3_EXECUTABLE=/software/Python/3.11.5-GCCcore-13.2.0/bin/python -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DModule_ITKReview=ON -DModule_ITKVtkGlue=ON -DModule_SimpleITKFilters=ON -DITK_WRAP_PYTHON:BOOL=ON -DPython_EXECUTABLE=/software/Python/3.11.5-GCCcore-13.2.0/bin/python -DSWIG_EXECUTABLE=$EBROOTSWIG/bin/swig -DSWIG_DIR=$EBROOTSWIG -DPY_SITE_PACKAGES_PATH=/software/ITK/5.4.0-foss-2023b/lib/python3.11/site-packages -DITK_USE_SYSTEM_CASTXML=ON -DITK_USE_SYSTEM_DOUBLECONVERSION=ON -DITK_USE_SYSTEM_EIGEN=ON -DITK_USE_SYSTEM_EXPAT=ON -DITK_USE_SYSTEM_FFTW=ON -DITK_USE_SYSTEM_HDF5=ON -DITK_USE_SYSTEM_JPEG=ON -DITK_USE_SYSTEM_PNG=ON -DITK_USE_SYSTEM_SWIG=ON -DITK_USE_SYSTEM_TIFF=ON -DITK_USE_SYSTEM_ZLIB=ON /tmp/vsc47063/easybuild/build/ITK/5.4.0/foss-2023b/ITK-5.4.0/ -> exit 0
LC_ALL=C make -j 8 -> exit 2 Part of the error:
Whole log with errors is there: https://github.com/vscentrum/vsc-software-stack/blob/wip/357_Synthcity/2023b_v0.2.11_new/log3.txt
Versions
ITK 5.4.0
Environment
RHEL 8.8, 4.18.0-477.43.1.el8_8.x86_64 GCC 13.2.0 + FlexiBLAS + FFTW + ScaLAPACK + OpenMPI ('CMake', '3.27.6'), ('Bison', '3.8.2'), ('Eigen', '3.4.0'), ('SWIG', '4.1.1'), ('Perl', '5.38.0'), ('git', '2.42.0'), ('Python', '3.11.5'), ('double-conversion', '3.3.0'), ('expat', '2.5.0'), ('HDF5', '1.14.3'), ('libjpeg-turbo', '3.0.1'), ('libpng', '1.6.40'), ('LibTIFF', '4.6.0'), ('VTK', '9.3.0'), ('zlib', '1.2.13'), ('CastXML', '0.6.5'),
Additional Information
For me it seems similar to this problem you already fix: https://github.com/InsightSoftwareConsortium/ITK/commit/d0275869d10dacee7bcf72ed2174f523d66c7df0#diff-e7b9b1d2d1251e3340d02c7aae095ff229a0490fad2ff108c71eadc011961deeR25