Cmake based Elmer distributions
Posted: 01 Dec 2014, 13:54
Hi All,
Elmer project is still on the transition period from svn/gnu autotools to git/cmake. While most things work already better under cmake we haven't completely jumped to the wagon yet. However, most distributions that we support are currently already created using the cmake version. Here is a summary of the possible options:
1) Windows installer
There is a nightly build both with and without mpi.
http://www.nic.funet.fi/pub/sci/physics ... n/windows/
This is updated to the sf.net also accationally.
2) The is a Linux version at launchpad that can be used on Ubuntu and Debian based systems
$ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
$ sudo apt-get update
$ sudo apt-get install elmerfem-csc
3) Linux Mint based virtual machine
http://www.nic.funet.fi/pub/sci/physics ... in/Vmware/
The VM is huge in size but provides a certified user experience. We mainly use this on courses.
4) Compile yourself from the source files using cmake and the source codes at github (devel branch):
https://github.com/elmercsc/elmerfem
# Create directory where to download things
$ mkdir elmer
$ cd elmer
# clone the git repository.
git clone git://www.github.com/ElmerCSC/elmerfem
# create build directory
$ mkdir build
$ cd build
# let the cmake generate makefiles
$ cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
# Cmake configures things, if it does not find something (e.g., lapack), you can help it by
$ cmake -DCMAKE_PREFIX_PATH=<path_to_lapack_installation> ../elmerfem
# Alternatively, you can tune the compilation parameters graphically with
$ ccmake .
# or
$ cmake-gui .
# If no errors are produced, compile:
$ make install
# or alternatively compile in parallel (4 procs)
$ make -j4 install
# finally you may test the newly compiled Elmer version
$ ctest
Warning: Be aware there are many outdated distributions for Elmer. For example, the default version you get with apt-get is problematic. Also CAELinux installation is rather old. We can only study bug reports that are based an a relatively fresh installation!
Best regards,
ElmerTeam
Elmer project is still on the transition period from svn/gnu autotools to git/cmake. While most things work already better under cmake we haven't completely jumped to the wagon yet. However, most distributions that we support are currently already created using the cmake version. Here is a summary of the possible options:
1) Windows installer
There is a nightly build both with and without mpi.
http://www.nic.funet.fi/pub/sci/physics ... n/windows/
This is updated to the sf.net also accationally.
2) The is a Linux version at launchpad that can be used on Ubuntu and Debian based systems
$ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
$ sudo apt-get update
$ sudo apt-get install elmerfem-csc
3) Linux Mint based virtual machine
http://www.nic.funet.fi/pub/sci/physics ... in/Vmware/
The VM is huge in size but provides a certified user experience. We mainly use this on courses.
4) Compile yourself from the source files using cmake and the source codes at github (devel branch):
https://github.com/elmercsc/elmerfem
# Create directory where to download things
$ mkdir elmer
$ cd elmer
# clone the git repository.
git clone git://www.github.com/ElmerCSC/elmerfem
# create build directory
$ mkdir build
$ cd build
# let the cmake generate makefiles
$ cmake -DWITH_ELMERGUI:BOOL=FALSE -DWITH_MPI:BOOL=FALSE -DCMAKE_INSTALL_PREFIX=../install ../elmerfem
# Cmake configures things, if it does not find something (e.g., lapack), you can help it by
$ cmake -DCMAKE_PREFIX_PATH=<path_to_lapack_installation> ../elmerfem
# Alternatively, you can tune the compilation parameters graphically with
$ ccmake .
# or
$ cmake-gui .
# If no errors are produced, compile:
$ make install
# or alternatively compile in parallel (4 procs)
$ make -j4 install
# finally you may test the newly compiled Elmer version
$ ctest
Warning: Be aware there are many outdated distributions for Elmer. For example, the default version you get with apt-get is problematic. Also CAELinux installation is rather old. We can only study bug reports that are based an a relatively fresh installation!
Best regards,
ElmerTeam