A few notes on this package as of today:
- The checksum on the vtk9.1.patch is wrong (not sure how that could happen?)
- The
arpack.patch
doesn't apply anymore (CMakeLists.txt changed a lot) - The
paraview-opt
package is gone from the AUR
Git Clone URL: | https://aur.archlinux.org/elmerfem-git.git (read-only, click to copy) |
---|---|
Package Base: | elmerfem-git |
Description: | A finite element software for multiphysical problems |
Upstream URL: | http://www.elmerfem.org |
Licenses: | GPL |
Conflicts: | elmerfem |
Provides: | elmerfem |
Submitter: | saxonbeta |
Maintainer: | bartus |
Last Packager: | bartus |
Votes: | 5 |
Popularity: | 0.000000 |
First Submitted: | 2015-02-11 21:21 (UTC) |
Last Updated: | 2021-12-12 14:20 (UTC) |
A few notes on this package as of today:
arpack.patch
doesn't apply anymore (CMakeLists.txt changed a lot)paraview-opt
package is gone from the AURSorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
Hi Bartus, in upstream CMakeLists.txt module path is now swapped. Cmake looks at local modules and makes havoc of findGLEW.cmake and others. Please could you correct with a patch? Thanks Gianluca
@gpettinello: Should be back kicking and screaming :)
@gpettinello:
vtk:9 malformed configuration already reported upstream: https://bugs.archlinux.org/task/72653
patch for vtk:9.0 was merged in elmerfem:devel like few days ago.
patach for vtk:9.1 I'm getting through with it, just a small problem with cmake targets, for early taste check: https://github.com/bartoszek/AUR-elmerfem-git/tree/bartus
Hi Bartus,
I compiled the package but with some difficulties: FIND_PACKAGE(VTK REQUIRED) leads to an error as Archlinux is not able to find some VTK components (OpenVR, vtkm, OpenVDB notably). I had to change in FIND_PACKAGE(VTK REQUIRED COMPONENTS ...) and then past all the components except those not found.
Then I installed mumps (newer version) but elmerfem needs mumps-par which in Arch is still at 5.3.1. What is the difference?
Finally I had to remove #include "vtkConfigure.h" from vtkpost.h VTK is really upsetting the API (not acceptable)
MAKEFLAGS=xxx
to override default make flags (e.g: MAKEFLAGS=-j2 for building with 2 threads)FRAGMENT=#{commit,tag,brach}=xxx
for bisect buildCMAKE_FLAGS=xxx:yyy:zzz
to define extra CMake flags
DISABLE_ALL=1
for bare bone build.
DISABLE_TRILINOS=1
disable building with Trilinos
DISABLE_MMG
disable MMG - dynamic remeshingDISABLE_ELMERICE
disable ElmerICE - glacier melting solverDISABLE_CONTRIB
disable multishell solver for composite lamitanesDISABLE_LUA
disable LUA scripting in solver definitionsDISABLE_MP
disable OpenMP threading
DISABLE_GUI
disable ElmerGUI - QT GUI
DISABLE_GUILOG
disable ElmerGUI LoggerDISABLE_GUITEST
disable ElmerGUI TestsDISABLE_OCC
disable OCC - OpenCOLADA cad model importDISABLE_MATC
disable MatC scripting in QT GUIDISABLE_PARAVIEW
disable ParaView - GUI post-process exporterDISABLE_QWT
disable QWT - GUI convergence monitoringDISABLE_VTK
disable VTK - GUI post-process Widget and exporter
DISABLE_MPI
disable OpenMPI parallelization
DISABLE_MUMPS
disable Mumps - gausian elimination LAS solverDISABLE_HYPRE
disable Hypre - multigrid LAS solver
Pinned Comments
bartus commented on 2022-03-14 10:34 (UTC)
Sorry lads, I'm at the Polish Ukraine border helping allocate refugees. Expect no update until this hell is over, wish us luck. Have no time nor access to my rig and AUR keys to test/post updates. If you have a patch, ping me on email - I'll add you as co-maintainer. Posted with my old script - https://github.com/bartoszek/aur-post
bartus commented on 2021-06-21 15:34 (UTC) (edited on 2021-11-22 11:41 (UTC) by bartus)
Use env vars to control build process:
MAKEFLAGS=xxx
to override default make flags (e.g: MAKEFLAGS=-j2 for building with 2 threads)FRAGMENT=#{commit,tag,brach}=xxx
for bisect buildCMAKE_FLAGS=xxx:yyy:zzz
to define extra CMake flagsDISABLE_ALL=1
for bare bone build.DISABLE_TRILINOS=1
disable building with TrilinosDISABLE_MMG
disable MMG - dynamic remeshingDISABLE_ELMERICE
disable ElmerICE - glacier melting solverDISABLE_CONTRIB
disable multishell solver for composite lamitanesDISABLE_LUA
disable LUA scripting in solver definitionsDISABLE_MP
disable OpenMP threadingDISABLE_GUI
disable ElmerGUI - QT GUIRequires GUI
DISABLE_GUILOG
disable ElmerGUI LoggerDISABLE_GUITEST
disable ElmerGUI TestsDISABLE_OCC
disable OCC - OpenCOLADA cad model importDISABLE_MATC
disable MatC scripting in QT GUIDISABLE_PARAVIEW
disable ParaView - GUI post-process exporterDISABLE_QWT
disable QWT - GUI convergence monitoringDISABLE_VTK
disable VTK - GUI post-process Widget and exporterDISABLE_MPI
disable OpenMPI parallelizationRequires MPI
DISABLE_MUMPS
disable Mumps - gausian elimination LAS solverDISABLE_HYPRE
disable Hypre - multigrid LAS solverUsage: