Changes
Page history
mozul created page: compilation
authored
Dec 19, 2016
by
Frédéric Dubois
Hide whitespace changes
Inline
Side-by-side
compilation.md
View page @
bf971c9f
...
...
@@ -7,7 +7,7 @@ subdirectories:
*
*manuals*
: a list of manuals/documentation for the software in pdf format
*
*docs*
: the html documentation generated from the sources
The first step of the
*compilation*
is only to create an other subdirectory there call
d
e
`build`
.
The first step of the
*compilation*
is only to create an other subdirectory there calle
d
`build`
.
Then depending on your operating system follow the directions:
*
[Unix/MacOs] (#compile)
...
...
@@ -15,7 +15,7 @@ Then depending on your operating system follow the directions:
## <a name=compile> Unix and MacOs </a> ##
You must a set of commands from the terminal to build LMGC90 software for your system.
You must
run
a set of commands from the terminal to build LMGC90 software for your system.
Thus open a terminal and go to your
`lmgc90_user/build`
directory.
Run the following commands:
...
...
@@ -24,7 +24,7 @@ cmake ..
make
```
Instead of simply running
`cmake`
, you can run
`ccmake`
or
`cmake-gui`
to help chang
e
some
Instead of simply running
`cmake`
, you can run
`ccmake`
or
`cmake-gui`
to help
you
chang
ing
some
configuration parameters. For examples people interested only in rigid computation can change
the configuration to:
```
shell
...
...
@@ -40,10 +40,10 @@ It will build the sphinx documentation in:
*
docs/chipy/
*
docs/dev/
*
docs/Pre/
But the one provided shoud be up-to-date
But the one provided shou
l
d be up-to-date
Our policy is to not mess with default system paths. So instead we advise to
use a environment variable to add to python the path to our build directory.
use a
n
environment variable to add to python the path to our build directory.
In general adding the following lines to your
*.bashrc*
(Linux) or
*.profile*
(MacOS)
file does the trick. Of course you have to replace
*mysourcepath*
by the path to
your own
`lmgc90_user`
directory (in the example above
`~/Desktop/LMGC90/lmgc90_user/`
).
...
...
@@ -58,7 +58,7 @@ export PATH=${PATH}:mysourcepath/src/addons
## <a name=precompiled> Windows </a> ##
For Windows operating system
s
, a pre-compiled version is provided. Depending on the version of Anaconda you downloaded
For Windows operating system, a pre-compiled version is provided. Depending on the version of Anaconda you downloaded
(from
[
here
](
https://git-xen.lmgc.univ-montp2.fr/lmgc90/lmgc90_user/wikis/win_dependencies_install
)
)
choose the corresponding binaries of LMGC90:
*
[
32 bits
](
https://mycore.core-cloud.net/public.php?service=files&t=9bb2e3561373c64a4855596873aa98bd
)
...
...
...
...