@kikislater: Yep, that's a good point. I'm also using both Manjaro and Arch interchangeably (ง ื▿ ื)ว
Search Criteria
Package Details: paraview-opt 5.8.1-3
Git Clone URL: | https://aur.archlinux.org/paraview-opt.git (read-only, click to copy) |
---|---|
Package Base: | paraview-opt |
Description: | Parallel Visualization application using VTK (openmpi version): installed to /opt/ |
Upstream URL: | https://www.paraview.org |
Licenses: | |
Conflicts: | |
Provides: | |
Submitter: | bartus |
Maintainer: | bartus (Archange) |
Last Packager: | bartus |
Votes: | 9 |
Popularity: | 0.20 |
First Submitted: | 2019-04-25 09:44 |
Last Updated: | 2020-12-04 09:26 |
Dependencies (45)
- boost-libs (boost171, boost-libs-git)
- cgns
- double-conversion (double-conversion-git)
- expat (expat-git)
- ffmpeg (ffmpeg-semifull-git, ffmpeg-tmblock-git, ffmpeg4.0, ffmpeg-git-nc, ffmpeg-cuda, ffmpeg-v4l2-request-git, ffmpeg-svt, ffmpeg-headless, ffmpeg-gl-transition, ffmpeg-full-git-hardened, ffmpeg-git, ffmpeg-amd-full-git, ffmpeg-decklink, ffmpeg-intel-full-git, ffmpeg-nocuda, ffmpeg-mmal, ffmpeg-amd-full, ffmpeg-ndi, ffmpeg-svt-av1-git, ffmpeg-libfdk_aac, ffmpeg-full, ffmpeg-full-git, ffmpeg-nox-git, ffmpeg-svt-vp9-git)
- freetype2 (freetype2-v35, freetype2-old-hinting, freetype2-infinality, freetype2-ttmetrics, freetype2-ultimate5, freetype2-git, freetype2-infinality-remix, freetype2-minimal-git)
- gdal (gdal-curl, gdal-filegdb, gdal-hdf4, gdal-ecw)
- gl2ps (gl2ps-svn)
- glew (glew-libepoxy, glew-git, glew-egl-glx)
- hdf5 (hdf5-git, hdf5-openmpi-java, hdf5-java, hdf5-openmpi)
- intel-tbb (intel-tbb-gcc6, tbb)
- jsoncpp (jsoncpp-git)
- libharu
- libjpeg (libjpeg-droppatch, mozjpeg-git, libjpeg-turbo-git, mozjpeg, libjpeg-turbo-minimal-git, libjpeg-turbo)
- libjsoncpp.so (jsoncpp)
- libogg (libogg-git)
- libpng (libpng-git, libpng-apng, libpng-minimal-git)
- libtheora (libtheora-ptalarbvorm, libtheora-git)
- libtiff (libtiff-git, libtiff-minimal-git)
- libxml2 (libxml2-linenum, libxml2-git)
- lz4 (lz4-git, lz4-static-musl, lz4-static)
- netcdf (netcdf-openmpi)
- openmpi (openmpi-git, openmpi3, openmpi-gcc8, openmpi-gcc9, openmpi-cuda)
- ospray (ospray-git)
- pdal (pdal-git)
- protobuf (protobuf3-git, protobuf-git, protobuf-static)
- pugixml (pugixml-shared, pugixml-git)
- python-mpi4py (python-mpi4py-intel)
- python-numpy (python-numpy-mkl, python-numpy-openblas, python-numpy-mkl-bin)
- qt5-svg (qt5-svg-git)
- qt5-tools (qt5-tools-git)
- qt5-x11extras (qt5-x11extras-git)
- xz (xz-git, xz-static-git)
- zlib (zlib-static, zlib-git, zlib-asm, minizip-asm, zlib-ng-git)
- boost (boost-git) (make)
- cmake (cmake-git) (make)
- eigen (eigen-git, eigen32) (make)
- gcc-fortran (gcc-fortran-multilib-x32, gcc-fortran-multilib-git, gcc-fortran-git) (make)
- mesa (mesa-noglvnd, mesa-arm-git, mesa-minimal-git, mesa-git, mesa-minimal+-git) (make)
- ninja (ninja-git, ninja-samurai, ninja-mem, ninja-kitware, ninja-bin) (make)
- pegtl (make)
- qt5-tools (qt5-tools-git) (make)
- qt5-xmlpatterns (qt5-xmlpatterns-git) (make)
- utf8cpp (make)
- python-matplotlib (python-matplotlib-git) (optional)
Required by (9)
- elmerfem (requires paraview)
- elmerfem-git
- liggghts (requires paraview)
- openfoam-4.x (requires paraview)
- openfoam-com (requires paraview)
- openfoam-org (requires paraview)
- openfoam2.4-git (requires paraview)
- openfoam3.0-git (requires paraview)
- python-pyvista (requires paraview) (make)
Sources (4)
bartus commented on 2020-12-12 07:51
Archange commented on 2020-12-06 18:43
@lahwaacz True, but the same way we have some arm architectures support in AUR PKGBUILD, it does not hurt to not block Manjaro.
For instance, the “official” patch could have been used (and I’ll push it here later when I can). Keeping both packages as much as possible in sync seems a good idea to me.
kikislater commented on 2020-12-06 18:40
It's not a hack ^^ Just a suggestion ...
lahwaacz commented on 2020-12-06 18:20
@kikislater This is the Arch User Repository, not Manjaro User Repository. There should be no such hacks.
kikislater commented on 2020-12-06 17:51
@bartus : it's ok on mate desktop, thank you
One thing is that others distribution such as Manjaro rely on AUR packages. Stable version of Manjaro is still on python 3.8 but will move shortly to 3.9. One more elegant way in PKGBUILD should be to detect with an if statement which python is used like :
ver=$(python -V 2>&1 | sed 's/.* \([0-9]\).\([0-9]\).*/\1\2/')
if [ "$ver" -lt "39" ]; then echo
"Patching Paraview to work with Python 3.9";
# add python:3.9
sed -i "s|3.8|3.9 &|" VTK/CMake/patches/99/FindPython/Support.cmake;
else
echo "You use Python 3.8, no modification needed";
fi
bartus commented on 2020-12-04 09:08
@kikislater: I've adjusted the PKGBUILD to expose desktop
file and icons
d8621eea5aa1 , please test how it's doing (it relays on /etc/profile.d/paraview.sh
exporting PATH with included /opt/paraview/bin
)
@Xwang, @jemappelle: I've added python:3.9
support 5f21b9bea9c7
jemappelle commented on 2020-12-02 20:03
@Xwang: Thanks a lot for the information cause I had the same issue thus I tried compiling it with the patch available in the official package as you mentioned it and it worked like a charm.
Xwang commented on 2020-12-02 11:36
I can't compile.It gives the following configuration error:
-- Could NOT find Python3 (missing: Python3_LIBRARIES Python3_INCLUDE_DIRS Development) (Required is at least version "3.2")
CMake Error at VTK/CMake/vtkModule.cmake:4112 (message):
Could not find the Python3 external dependency.
Call Stack (most recent call first):
VTK/Utilities/Python/CMakeLists.txt:44 (vtk_module_find_package)
-- Configuring incomplete, errors occurred!
See also "/home/andreak/tmp/pamac-andreak/pamac-build/paraview-opt/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/andreak/tmp/pamac-andreak/pamac-build/paraview-opt/src/build/CMakeFiles/CMakeError.log".
==> ERRORE: Si è verificato un errore in build().
In the officila package there is a python39 patch which probably solves the issue: https://github.com/archlinux/svntogit-community/commit/4d98165834a9447ac584b01654a5c6aec5ddd5fd#diff-3e341d2d9c67be01819b25b25d5e53ea3cdf3a38d28846cda85a195eb9b7203a
kikislater commented on 2020-10-19 10:45
Thank you bartus providing this package making freecad, openfoam and paraview working together ! As no .desktop is not provided in /usr/share and no symlink of paraview in /usr/bin or /usr/local/bin, paraview is not available in menu. I think it could be nice for users, as paraview is a gui, to add symlink in this package !
Archange commented on 2020-10-15 16:09
@bartus: Well it looks strange, because in the [community] package the checksum had to be changed to 9760a7ba33c6f46e3cb8dc8d0e2370ee1208d759b3c8c6c304e7e4b366391a13.
Have you tried re-downloading the patch too? They are some small differences in the indexes that result in this checksum difference.
Pinned Comments
bartus commented on 2020-02-20 23:06
Out of memory error.
You may use ninja-mem to prevent trashing when building on system with low memory to core ratio.
To activate use MAKEFLAGS+=" -m75" where 75 is the percent of memory usage when trashing prevention kicks in.
Or simply lower the make parallel jobs in "MAKEFLAGS" variable.
Refers to #731427 #716760