Changes
Page history
Update compilation
authored
Jul 24, 2020
by
Rémy Mozul
Hide whitespace changes
Inline
Side-by-side
compilation.md
View page @
586a21fd
...
...
@@ -69,16 +69,24 @@ On the use of LMGC90 itself, read the [first steps](./first_steps) section.
## Windows Anaconda ##
Open an Anaconda prompt and activate the
*lmgc90*
environment
If you strictly followed the
[
dependencies installation
](
./win_dependencies_install#by-using-python-anaconda-environment-manager
)
you can use a powershell script to build LMGC90 with HDF5 feature activated by default.
This script needs to download the sources of HDF5, so make sure that
you have an active connexion to the world wide web before trying to run it.
To run the script, navigate to
`lmgc90_user_xxx/conda`
in your windows explore,
the right click on
`build_with_hdf5.ps1`
and select
`execute with powershell`
.
If you cannot or would not run script, you can make a standard build by opening
the regular Anaconda prompt and activate the
*lmgc90*
environment
(or whatever the name you choose during the
[
dependencies installation
](
./win_dependencies_install#by-using-python-anaconda-environment-manager
)
step) with the following command:
```
cmd
conda activate lmgc90
```
Move to
`lmgc90_user_xxxx`
folder with
`cd`
command
To build lmgc90 the following commands must be carefully issued:
Then move to
`lmgc90_user_xxxx`
folder with
`cd`
command
and build lmgc90 by issuing the following commands:
```
cmd
cd build
cmake .. -DVENV_PATH=%CONDA_PREFIX% -G "MinGW Makefiles"
...
...
@@ -92,7 +100,7 @@ It is especially important TO NOT RUN the `cmake` command from the
`lmgc90_user_xxxx`
directory (see the
[
faq
](
./faq#known-compilation-errors
)
)
in this case.
I
f everything went well, then you can start the _Anaconda Navigator_ application.
Whatever the method, i
f everything went well, then you can start the _Anaconda Navigator_ application.
The first thing is to activate the environment to use LMGC90 by
selection _lmgc90_ in the menu next to _Applications on_ on the upper part of the window.
...
...
...
...