Skip to main content

Elmer-FEM and friends

 

Elmer-FEM and gmsh are provided via the new software environment 

Official Elmer-FEM documentation: http://www.elmerfem.org/blog/

The Elmer Ice documentation: http://elmerice.elmerfem.org

To load elmer-fem:

source /dcsrsoft/spack/bin/setup_dcsrsoft 

module load gcc  
module load mpich
module load netlib-scalapack openblas

module load elmerfem

Note that elmer-fem requires a compiler (GCC), an MPI implementation (mpich) and the netlib-scalapack and openblas linear algebra library.

To load gmsh 

source /dcsrsoft/spack/bin/setup_dcsrsoft

module load gcc 

module load gmsh

Note that Elmer-FEM is an mpi enabled code and must therefore be started with an MPI launcher such as srun or mpirun

srun --mpi=pmi2 ElmerSolver_mpi

Failure to use a job launcher will result in an error along the lines of:

Abort(569359) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(586): 
MPID_Init(256).......: PMI2_Job_GetId returned 14
[unset]: aborting job: