Package Details: elmerfem 9.0-4

Git Clone URL: https://aur.archlinux.org/elmerfem.git (read-only, click to copy)
Package Base: elmerfem
Description: A finite element software for multiphysical problems
Upstream URL: http://www.elmerfem.org
Keywords: CFD FEM simulation
Licenses: GPL
Conflicts: elmerfem-git
Submitter: saxonbeta
Maintainer: rmsc
Last Packager: rmsc
Votes: 13
Popularity: 0.096371
First Submitted: 2015-08-18 13:50 (UTC)
Last Updated: 2023-11-22 20:14 (UTC)

Latest Comments

1 2 3 4 Next › Last »

javalsai commented on 2024-02-02 18:45 (UTC)

For some reason, some tests were failing for me, then I checked the logfile at the end of the output and found a ompi error that led me here: https://github.com/open-mpi/ompi/issues/5613.

Even tho it's closed, I modified my $PATH to remove /bin (so command which is forced to use /usr/bin) and for some reason it worked.

greyltc commented on 2023-11-26 06:58 (UTC)

@rmsc, if you depend on mumps-cmake, you can build this with -D WITH_Mumps=ON

doofus_drummer commented on 2023-09-21 07:00 (UTC)

@rmsc thankyou! this worked for me!

rmsc commented on 2023-08-09 15:44 (UTC) (edited on 2023-08-09 15:44 (UTC) by rmsc)

I think it's best to just fix the PKGBUILD. Just add this line at the end of the prepare() function:

  sed -i 's#mmg/mmg3d/libmmgtypesf.h#mmg/common/libmmgtypesf.h#g' elmerice/Solvers/CalvingRemeshMMG.F90

StephanT commented on 2023-05-26 09:30 (UTC)

Actually, I got the same problem. The file libmmgtypesf.h is now located in mmg/common/ folder not in mmg/mmg3d/ . There is 2 options, you can change the include statement in the file ClavingRemeshMMG.F90 to the correct folder and do this whenever you encounter the error. Or, do what I did, after mmg was installed by the installation routine, and the routine stopped here with this error; I went to the already installed mmg include folder and I made a softlink in mmg/mmg3d to the mmg/common/libmmgtypesf.h and rerun the installation. This time without problems... mmg include folder for me was located in /usr/include/mmg/, however it might be in /usr/local/include/mmg/ or even somewhere else...

seany commented on 2023-05-25 11:15 (UTC) (edited on 2023-05-25 11:16 (UTC) by seany)

Getting this error

Warnung: Unverträgliche Typen zwischen Argument bei (1) und Argument bei (2) (REAL(8)/INTEGER(4)).
[ 59%] Building Fortran object elmerice/Solvers/CMakeFiles/ElmerIceSolvers.dir/CalvingHydroInterp.F90.o
[ 59%] Building Fortran object elmerice/Solvers/CMakeFiles/ElmerIceSolvers.dir/HydroRestart.F90.o
[ 59%] Building Fortran object elmerice/Solvers/CMakeFiles/ElmerIceSolvers.dir/GMValid.F90.o
[ 59%] Building Fortran object elmerice/Solvers/CMakeFiles/ElmerIceSolvers.dir/CalvingRemeshMMG.F90.o
/home/monsoon/.cache/yay/elmerfem/src/elmerfem-release-9.0/elmerice/Solvers/CalvingRemeshMMG.F90:65:2:

   65 | 
      |  1                         
Schwerwiegender Fehler: mmg/mmg3d/libmmgtypesf.h: Datei oder Verzeichnis nicht gefunden
Kompilierung beendet.
make[2]: *** [elmerice/Solvers/CMakeFiles/ElmerIceSolvers.dir/build.make:1089: elmerice/Solvers/CMakeFiles/ElmerIceSolvers.dir/CalvingRemeshMMG.F90.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:14558: elmerice/Solvers/CMakeFiles/ElmerIceSolvers.dir/all] Fehler 2
make: *** [Makefile:166: all] Fehler 2
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...
 -> Fehler beim Erstellen: elmerfem-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
elmerfem - exit status 4

I can only find this information:

https://github.com/MmgTools/mmg/issues/66

Would love to have this on my CachyOS

Linux glassplanet 6.3.3-1-cachyos #1 SMP PREEMPT_DYNAMIC Wed, 17 May 2023 19:10:26 +0000 x86_64 GNU/Linux

petronny commented on 2022-07-04 12:50 (UTC)

Getting the following error:

[ 64%] Built target Mesh2D
Scanning dependencies of target mpi_stubs
[ 64%] Building Fortran object fem/src/CMakeFiles/mpi_stubs.dir/mpif_stubs.F90.o
[ 64%] Linking Fortran shared library libmpi_stubs.so
[ 64%] Built target mpi_stubs
Scanning dependencies of target Solver_TGT
[ 64%] Building Fortran object fem/src/CMakeFiles/Solver_TGT.dir/Solver.F90.o
[ 64%] Linking Fortran executable ElmerSolver_mpi
/usr/bin/ld: warning: libfmt.so.8, needed by /usr/lib/libvtkFiltersGeneral.so.1, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libvtkFiltersGeneral.so.1: undefined reference to `fmt::v8::vformat[abi:cxx11](fmt::v8::basic_string_view<char>, fmt::v8::basic_format_args<fmt::v8::basic_format_context<fmt::v8::appender, char> >)'
collect2: error: ld returned 1 exit status
make[2]: *** [fem/src/CMakeFiles/Solver_TGT.dir/build.make:117: fem/src/ElmerSolver_mpi] Error 1
make[1]: *** [CMakeFiles/Makefile2:15395: fem/src/CMakeFiles/Solver_TGT.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Full build log: https://github.com/arch4edu/cactus/runs/7178575430?check_suite_focus=true

drws commented on 2022-05-28 10:48 (UTC)

The package builds successfully now, thanks @a.kudelin! Also openvr is no longer a dependency due to -DWITH_VTK=OFF.

drws commented on 2022-05-22 17:21 (UTC) (edited on 2022-05-28 10:49 (UTC) by drws)

There are at least two buildtime dependencies missing: cli11 and openvr. Maybe python should also be an explicit dependency?

When trying to build I'm getting the same error as @ttshaw1 regarding the missing Python, which is of course installed, both major versions. @a.kudelin, have there been any developments regarding this issue?

-- Found OpenVR: /usr/lib/libopenvr_api.so  
-- Could not find the VTK package due to a missing dependency: OpenVR
-- Found FontConfig: /usr/lib/libfontconfig.so  
-- Could not find the VTK package due to a missing dependency: FontConfig
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python (missing: Python_EXECUTABLE Interpreter)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPython.cmake:561 (find_package_handle_standard_args)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /usr/lib64/cmake/vtk/Findmpi4py.cmake:2 (find_dependency)
  /usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:462 (find_package)
  /usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)
  ElmerGUI/CMakeLists.txt:93 (FIND_PACKAGE)

ttshaw1 commented on 2022-02-26 06:36 (UTC)

Looks like I'm the first one to have problems relating to Python. After manually installing ospray and openvr, I'm not a point where I get the following error message: -- Could NOT find Qt3 (missing: QT_QT_LIBRARY QT_INCLUDE_DIR)

CMake was unable to find desired Qt version: 3. Set advanced values QT_QMAKE_EXECUTABLE and QT3_QGLOBAL_H_FILE.

-- [ElmerGUI] Qwt: TRUE

-- [ElmerGUI] QWT_LIBRARY: /usr/lib/libqwt.so

-- [ElmerGUI] QWT_INCLUDE_DIR: /usr/include/qwt


-- Found Embree v3.13.3: /usr/lib/libembree3.so.3.13.3

-- Found Open VKL v1.1.0: /usr/lib/libopenvkl.so.1.1.0

-- Found OSPRay: /usr

-- Found OpenVR: /usr/lib/libopenvr_api.so

-- Could not find the VTK package due to a missing dependency: OpenVR

-- Found FontConfig: /usr/lib/libfontconfig.so

-- Could not find the VTK package due to a missing dependency: FontConfig

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Python (missing: Python_EXECUTABLE Interpreter)

Call Stack (most recent call first):

/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)

/usr/share/cmake/Modules/FindPython.cmake:561 (find_package_handle_standard_args)

/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)

/usr/lib64/cmake/vtk/Findmpi4py.cmake:2 (find_dependency)

/usr/lib64/cmake/vtk/VTK-vtk-module-find-packages.cmake:415 (find_package)

/usr/lib64/cmake/vtk/vtk-config.cmake:150 (include)

ElmerGUI/CMakeLists.txt:93 (FIND_PACKAGE)

Anyone know how to handle this?