mozul created page: compilation authored by Frédéric Dubois's avatar Frédéric Dubois
...@@ -7,7 +7,7 @@ subdirectories: ...@@ -7,7 +7,7 @@ subdirectories:
* *manuals* : a list of manuals/documentation for the software in pdf format * *manuals* : a list of manuals/documentation for the software in pdf format
* *docs* : the html documentation generated from the sources * *docs* : the html documentation generated from the sources
The first step of the *compilation* is only to create an other subdirectory there callde `build`. The first step of the *compilation* is only to create an other subdirectory there called `build`.
Then depending on your operating system follow the directions: Then depending on your operating system follow the directions:
* [Unix/MacOs] (#compile) * [Unix/MacOs] (#compile)
...@@ -15,7 +15,7 @@ Then depending on your operating system follow the directions: ...@@ -15,7 +15,7 @@ Then depending on your operating system follow the directions:
## <a name=compile> Unix and MacOs </a> ## ## <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. Thus open a terminal and go to your `lmgc90_user/build` directory.
Run the following commands: Run the following commands:
...@@ -24,7 +24,7 @@ cmake .. ...@@ -24,7 +24,7 @@ cmake ..
make make
``` ```
Instead of simply running `cmake`, you can run `ccmake` or `cmake-gui` to help change some Instead of simply running `cmake`, you can run `ccmake` or `cmake-gui` to help you changing some
configuration parameters. For examples people interested only in rigid computation can change configuration parameters. For examples people interested only in rigid computation can change
the configuration to: the configuration to:
```shell ```shell
...@@ -40,10 +40,10 @@ It will build the sphinx documentation in: ...@@ -40,10 +40,10 @@ It will build the sphinx documentation in:
* docs/chipy/ * docs/chipy/
* docs/dev/ * docs/dev/
* docs/Pre/ * docs/Pre/
But the one provided shoud be up-to-date But the one provided should be up-to-date
Our policy is to not mess with default system paths. So instead we advise to 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 an 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) 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 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/`). your own `lmgc90_user` directory (in the example above `~/Desktop/LMGC90/lmgc90_user/`).
...@@ -58,7 +58,7 @@ export PATH=${PATH}:mysourcepath/src/addons ...@@ -58,7 +58,7 @@ export PATH=${PATH}:mysourcepath/src/addons
## <a name=precompiled> Windows </a> ## ## <a name=precompiled> Windows </a> ##
For Windows operating systems, 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)) (from [here](https://git-xen.lmgc.univ-montp2.fr/lmgc90/lmgc90_user/wikis/win_dependencies_install))
choose the corresponding binaries of LMGC90: choose the corresponding binaries of LMGC90:
* [32 bits](https://mycore.core-cloud.net/public.php?service=files&t=9bb2e3561373c64a4855596873aa98bd) * [32 bits](https://mycore.core-cloud.net/public.php?service=files&t=9bb2e3561373c64a4855596873aa98bd)
... ...
......