-
Notifications
You must be signed in to change notification settings - Fork 782
{vis}[foss/2024a] ParaView v5.13.2 #22267
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
b5dd724
[ECP] [force:GLM-1.0.1-GCCcore-13.3.0.eb]
paulmelis f1e2427
Merge branch 'easybuilders:develop' into develop
paulmelis 770b152
Added ParaView-5.13.2-foss-2024a.eb. This supersedes the
paulmelis bfc2665
Merge branch 'develop' of https://github.com/easybuilders/easybuild-e…
3788ea7
remove PYTHONPATH
smoors cc0cccd
add patch to fix IceT build
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
79 changes: 79 additions & 0 deletions
79
easybuild/easyconfigs/p/ParaView/ParaView-5.13.2-foss-2024a.eb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,79 @@ | ||
| easyblock = 'CMakeNinja' | ||
|
|
||
| name = 'ParaView' | ||
| version = '5.13.2' | ||
|
|
||
| homepage = 'https://www.paraview.org' | ||
| description = "ParaView is a scientific parallel visualizer." | ||
|
|
||
| toolchain = {'name': 'foss', 'version': '2024a'} | ||
| toolchainopts = {'pic': True, 'usempi': True} | ||
|
|
||
| local_download_suffix = 'download.php?submit=Download&version=v%(version_major_minor)s&type=source&os=all&downloadFile=' | ||
| source_urls = ['https://www.paraview.org/paraview-downloads/%s' % local_download_suffix] | ||
| sources = ['%(name)s-v%(version)s.tar.gz'] | ||
| patches = [ | ||
| '%(name)s-5.11.1-remove_glew_init_warning.patch', | ||
| '%(name)s-%(version)s_fix_IceT.patch', | ||
| ] | ||
| checksums = [ | ||
| {'ParaView-v5.13.2.tar.gz': '9167c7c5d3656e36b160a22ed7a4c99b46fc96498caf5805484089856e93636f'}, | ||
| {'ParaView-5.11.1-remove_glew_init_warning.patch': | ||
| 'dd86134f3a5b2c1b834224c69665dd31f99ef7d367688fe77dbaada212758710'}, | ||
| {'ParaView-5.13.2_fix_IceT.patch': 'b84a91cf274660a4ebcb27302cebd13c2c5a9bb267a56b47aa1c94dc44d9a67d'}, | ||
| ] | ||
|
|
||
| builddependencies = [ | ||
| ('CMake', '3.29.3'), | ||
| ('Ninja', '1.12.1') | ||
| ] | ||
| dependencies = [ | ||
| ('Python', '3.12.3'), | ||
| ('SciPy-bundle', '2024.05'), | ||
| ('Boost', '1.85.0'), | ||
| ('XZ', '5.4.5'), | ||
| ('HDF5', '1.14.5'), | ||
| ('netCDF', '4.9.2'), | ||
| ('libdrm', '2.4.122'), | ||
| ('Mesa', '24.1.3'), | ||
| ('Qt6', '6.7.2'), | ||
| ('zlib', '1.3.1'), | ||
| ('FFmpeg', '7.0.2'), | ||
| ('Szip', '2.1.1'), | ||
| ] | ||
|
|
||
| _copts = [ | ||
| # Basic configuration | ||
| # Embedded docs not supported with Qt6 https://gitlab.kitware.com/paraview/paraview/-/issues/19742 | ||
| '-DPARAVIEW_ENABLE_EMBEDDED_DOCUMENTATION=OFF', | ||
| '-DCMAKE_AUTOMOC=OFF', # err Qt6? | ||
| '-DPARAVIEW_INSTALL_DEVELOPMENT_FILES=ON', | ||
| '-DPARAVIEW_BUILD_SHARED_LIBS=ON', | ||
| '-DPARAVIEW_USE_MPI=ON', | ||
| '-DPARAVIEW_ENABLE_FFMPEG=ON', | ||
| '-DPARAVIEW_USE_PYTHON=ON', | ||
| '-DPython3_ROOT_DIR=$EBROOTPYTHON', | ||
| # Useful input formats | ||
| '-DPARAVIEW_ENABLE_XDMF2=ON', | ||
| '-DPARAVIEW_ENABLE_XDMF3=ON', | ||
| # EGL, X and Mesa | ||
| '-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s' % SHLIB_EXT, | ||
| '-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include', | ||
| '-DEGL_INCLUDE_DIR=$EBROOTLIBGLVND/include', | ||
| '-DEGL_LIBRARY=$EBROOTLIBGLVND/lib/libEGL.%s' % SHLIB_EXT, | ||
| '-DEGL_opengl_LIBRARY=$EBROOTLIBGLVND/libOpenGL.%s' % SHLIB_EXT, | ||
| '-DVTK_OPENGL_HAS_EGL=ON', | ||
| '-DVTK_USE_X=ON', | ||
| '-DVTK_OPENGL_HAS_OSMESA=OFF', | ||
| '-DVTK_PYTHON_OPTIONAL_LINK=OFF'] | ||
|
|
||
| configopts = ' '.join(_copts) | ||
|
|
||
| sanity_check_paths = { | ||
| 'files': ['bin/paraview', 'bin/pvserver', 'bin/pvpython'], | ||
| 'dirs': ['include/paraview-%(version_major_minor)s', 'lib/python%(pyshortver)s/site-packages'], | ||
| } | ||
|
|
||
| sanity_check_commands = ['python -c "import paraview"'] | ||
|
|
||
| moduleclass = 'vis' |
20 changes: 20 additions & 0 deletions
20
easybuild/easyconfigs/p/ParaView/ParaView-5.13.2_fix_IceT.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| Fix IceT build error: | ||
| .../OpenMPI/5.0.3-GCC-13.3.0/include/mpi_portable_platform.h:294:30: error: operator '/' has no right operand | ||
| 294 | #elif defined(__NVCOMPILER) // Must occur prior to PGI and CLANG | ||
| | ^ | ||
|
|
||
| Author: Samuel Moors (Vrije Universiteit Brussel) | ||
|
|
||
| --- ThirdParty/IceT/vtkicet/CMakeLists.txt.orig 2025-09-03 11:37:20.605848000 +0200 | ||
| +++ ThirdParty/IceT/vtkicet/CMakeLists.txt 2025-09-03 12:16:42.405565759 +0200 | ||
| @@ -175,8 +175,8 @@ | ||
| ENDIF() | ||
|
|
||
| IF (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG) | ||
| - SET(ICET_C_FLAGS_WARN "-ansi -Wall -Wno-long-long -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement") | ||
| - SET(ICET_C_FLAGS_WARN_LIST -ansi -Wall -Wno-long-long -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement) | ||
| + SET(ICET_C_FLAGS_WARN "-std=c99 -Wall -Wno-long-long -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement") | ||
| + SET(ICET_C_FLAGS_WARN_LIST -std=c99 -Wall -Wno-long-long -Wextra -Wformat-security -Wshadow -Wunused -Wreturn-type -Wpointer-arith -Wdeclaration-after-statement) | ||
| ENDIF (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_CLANG) | ||
|
|
||
| # Configure testing support. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@paulmelis @smoors Let's prevent silly things like this slipping in again.
It's harmless, but it may raise eyebrows when people see useless files like this in the repo.
I cleaned it up before the EasyBuild v5.1.2 release, via: