| ... | @@ -93,50 +93,6 @@ export PATH=${PATH}:mysourcepath/src/addons |
... | @@ -93,50 +93,6 @@ export PATH=${PATH}:mysourcepath/src/addons |
|
|
```
|
|
```
|
|
|
On the use of LMGC90 itself, read the [first steps](./first_steps) section.
|
|
On the use of LMGC90 itself, read the [first steps](./first_steps) section.
|
|
|
|
|
|
|
|
## Windows Anaconda ##
|
|
|
|
|
|
|
|
|
|
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 explorer,
|
|
|
|
|
then 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 powershell 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
|
|
|
|
|
```
|
|
|
|
|
Then move to `lmgc90_user_xxxx` folder with `cd` command
|
|
|
|
|
and build lmgc90 by issuing the following commands:
|
|
|
|
|
```cmd
|
|
|
|
|
cd build
|
|
|
|
|
cmake .. -DVENV_PATH="$env:CONDA_PREFIX" -G "MinGW Makefiles" -DBUILD_rTree_BINDING=OFF
|
|
|
|
|
mingw32-make install
|
|
|
|
|
..\finalize_conda_env.bat
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
If you made any mistake, it is recommended to close the prompt, to
|
|
|
|
|
delete the content of the build directory and start again from scratch.
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Currently building LMGC90 with openMP is not supported in Anaconda environment.
|
|
|
|
|
|
|
|
|
|
Whatever the method, if 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.
|
|
|
|
|
|
|
|
|
|
Then start spyder or jupyter notebook application for example to start using python
|
|
|
|
|
with lmgc90 python module available.
|
|
|
|
|
|
|
|
|
|
On the use of LMGC90 itself, read the [first steps](./first_steps) section.
|
|
|
|
|
|
|
|
|
|
****
|
|
****
|
|
|
|
|
|
|
|
| [back](./Download_and_install) | [home](./Home) | [next](./First_steps) |
|
|
| [back](./Download_and_install) | [home](./Home) | [next](./First_steps) |
|
| ... | |
... | |
| ... | | ... | |