Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .force_change
Copy link
Copy Markdown
Member

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:

Empty file.
79 changes: 79 additions & 0 deletions easybuild/easyconfigs/p/ParaView/ParaView-5.13.2-foss-2024a.eb
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 easybuild/easyconfigs/p/ParaView/ParaView-5.13.2_fix_IceT.patch
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.