This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
compilation:compilationcmake [2015/04/07 07:56] tzwinger [Building Elmer/Ice] |
compilation:compilationcmake [2016/05/25 10:46] (current) tzwinger [Building Elmer/Ice] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Compilation with Cmake ====== | ====== Compilation with Cmake ====== | ||
- | **As a prerequisite to use Elmer/Ice package, you need to have Elmer installed on your computer.** If it is not the case, have a look on the quick guide on [[https:// | + | |
===== Download ===== | ===== Download ===== | ||
Elmer/Ice can be retrieved through the whole Elmer package via [[https:// | Elmer/Ice can be retrieved through the whole Elmer package via [[https:// | ||
< | < | ||
- | creates a local copy of the repository, directly linking the local elmerice branch to the one of the repository on GitHub (this seems to be necessary in less recent git-versions). | + | creates a local copy of the repository, directly linking the local elmerice branch to the one of the repository on GitHub (this seems to be necessary in less recent git-versions). Mind that in some occasions you might have to use the '' |
Please, bear in mind that there are different branches in this repository. The Elmer development branch, '' | Please, bear in mind that there are different branches in this repository. The Elmer development branch, '' | ||
< | < | ||
Line 24: | Line 24: | ||
* (GNU) Make | * (GNU) Make | ||
* cmake | * cmake | ||
- | In order to have Elmer/Ice automatically | + | In order to have Elmer/Ice automatically |
< | < | ||
The following script can act as a guideline to compile Elmer with Elmer/Ice included: | The following script can act as a guideline to compile Elmer with Elmer/Ice included: | ||
Line 35: | Line 35: | ||
TIMESTAMP=$(date +" | TIMESTAMP=$(date +" | ||
ELMER_REV=" | ELMER_REV=" | ||
- | ELMERSRC="/ | + | ELMERSRC="/ |
BUILDDIR=" | BUILDDIR=" | ||
IDIR="/ | IDIR="/ |