Search found 74 matches

by kataja
17 Apr 2019, 14:26
Forum: Installation & compilation
Topic: How to compile Elmer fem on macOS with OpenMPI, Hypre and Mumps
Replies: 2
Views: 3545

Re: How to compile Elmer fem on macOS with OpenMPI, Hypre and Mumps

Hi,

the up to date source repository of Elmer is at github: https://github.com/ElmerCSC/elmerfem
.
The source code at svn.code.sf.net is, sadly, outdated. I wonder if that could be removed..

Cheers,
Juhani
by kataja
04 Sep 2018, 12:40
Forum: ElmerSolver
Topic: Lua functionality in Elmer
Replies: 6
Views: 6686

Lua functionality in Elmer

Hi, some of you might have noticed that there is a cmake option "WITH_LUA" available in Elmer. Setting that to true will compile and link Lua 5.1 (https://www.lua.org/) in to elmer solver library. Typically, evaluating Lua expressions is around 5 times faster than their matc counterparts a...
by kataja
30 Jul 2018, 13:58
Forum: Installation & compilation
Topic: ElmerGUI command not found
Replies: 18
Views: 15779

Re: ElmerGUI command not found

Did you install package including ElmerGUI? See https://github.com/ElmerCSC/elmerfem/wiki/Packages for details.
by kataja
02 Jul 2018, 16:28
Forum: Installation & compilation
Topic: Compilation fails at CRSMatrix.F90
Replies: 9
Views: 9846

Re: Compilation fails at CRSMatrix.F90

Hi!

In the latest devel version, this -DCMAKE_Fortran_COMPILER_SUPPORTS_CONTIGUOUS=FALSE should no longer be necessary. This error, however, might reappear because almost no other compiler views such a pointer assignment as an error currently.
by kataja
26 Jun 2018, 16:35
Forum: Installation & compilation
Topic: Compilation fails at CRSMatrix.F90
Replies: 9
Views: 9846

Re: Compilation fails at CRSMatrix.F90

Hi,

you might want to try to compile with cmake flag

Code: Select all

 -DCMAKE_Fortran_COMPILER_SUPPORTS_CONTIGUOUS=FALSE 
This will disable all CONTIGUOUS attributes from variables throughout the code...

-Juhani
by kataja
11 Jun 2018, 17:24
Forum: Installation & compilation
Topic: Compilation fails at CRSMatrix.F90
Replies: 9
Views: 9846

Re: Compilation fails at CRSMatrix.F90

So as for now, I suggest reverting to older gfortran version using the fine Homebrew "Versions" feature https://docs.brew.sh/Versions.html. So something like

Code: Select all

$ brew install gcc@7
might work.

Cheers,
Juhani
by kataja
11 Jun 2018, 16:37
Forum: Installation & compilation
Topic: Compilation fails at CRSMatrix.F90
Replies: 9
Views: 9846

Re: Compilation fails at CRSMatrix.F90

Hi, I did a tentative fix on this at https://github.com/ElmerCSC/elmerfem/tree/devel-crscontigfix. However, I seem to face a possible compiler bug with ElementDescription.F90: [ 60%] Building Fortran object fem/src/CMakeFiles/elmersolver.dir/ElementDescription.F90.o (null):0: confused by earlier err...
by kataja
20 Apr 2018, 09:26
Forum: Installation & compilation
Topic: Homebrew Installation Fails
Replies: 2
Views: 3858

Re: Homebrew Installation Fails

Run

Code: Select all

 brew update 
and try again. Please let us know if it still fails.
by kataja
08 Mar 2018, 13:18
Forum: Installation & compilation
Topic: OpenMP support in Elmer
Replies: 1
Views: 3271

OpenMP support in Elmer

There has been an ongoing effort in threading and vectorization of certain parts of Elmer. To make use of the OpenMP support, Elmer needs to be recompiled with cmake option

Code: Select all

 WITH_OpenMP=TRUE 
and the number of threads is controlled by the

Code: Select all

 OMP_NUM_THREADS
environment variable.

Cheers,
Juhani
by kataja
26 Feb 2018, 11:14
Forum: Installation & compilation
Topic: ElmerSolver on Ubuntu 17.10.1
Replies: 9
Views: 7784

Re: ElmerSolver on Ubuntu 17.10.1

This package does contain ElmerIce. The solver module will be installed in /usr/share/elmersolver/lib/.

Cheers,
Juhani