elmerfem icon indicating copy to clipboard operation
elmerfem copied to clipboard

Elmerfem installs its own copy of ARPACK

Open Schamschula opened this issue 8 years ago • 2 comments
trafficstars

I've been trying to install ElmerFEM under MacPorts. I have no problem building the package (I haven't tried all optional variants), but I have a failure when activating:

elmerfem tries to install /opt/local/lib/libarpack.dylib

which conflicts with the MacPorts arpack package, which has numerous dependent package in my case.

Unfortunately, cmake is not set up to test for arpack and add the correct path/library to the link settings.

In src/mathlibs/CMakeLists.txt there only is ADD_SUBDIRECTORY(arpack)which then builds the local version of arpack.

Schamschula avatar Oct 17 '17 17:10 Schamschula

ARPAKC has been a part of Elmer for a long time and I think the API has been tailored for Elmer needs. Also some bugs have been fixed (probably these have been fixed in the main branch as well). Therefore it could be a larger project to take use of the external ARPACK. Do you need the eigenmode solver? It would probably be easier to make Elmer skip the local arpack routines.

raback avatar Jun 19 '18 16:06 raback

ARPACK should get installed under lib/elmersolver/ instead of just lib/.

juhanikataja avatar Oct 29 '18 06:10 juhanikataja