Changes
Page history
Update compilation
authored
Apr 08, 2020
by
Frédéric Dubois
Hide whitespace changes
Inline
Side-by-side
compilation.md
View page @
71a9a70e
...
...
@@ -12,6 +12,9 @@ If an error arises during the compilation step please first check if there is no
in the
[
FAQ
](
Faq#compile_error
)
You must run a set of commands from the terminal to build LMGC90 software for your system.
## Unix like system (linux, MacOS, WSL) ##
Thus open a terminal and go to your
`lmgc90_user_xxx`
directory.
Run the following commands:
...
...
@@ -63,6 +66,34 @@ fi
export
PATH
=
${
PATH
}
:mysourcepath/src/addons
```
## Windows Anaconda ##
Open an Anaconda prompt
Move to
`lmgc90_user_2019`
folder with
`cd`
command
Then to set up an environment that will allow to
build lmgc90, run the following command:
```
cmd
conda create -n lmgc90 python=3.7
conda activate lmgc90
conda install m2w64-gcc-fortran m2w64-make m2w64-openblas libpython
conda install swig cmake=3.9.4
conda install numpy scipy matplotlib vtk
cd build
cmake .. -DVENV_PATH=%CONDA_PREFIX% -G "MinGW Makefiles"
mingw32-make install
..\finalize_conda_env.bat
```
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 for example to start using python.
On the use of LMGC90 itself, read the
[
first steps
](
./first_steps
)
section.
****
|
[
back
](
./Download_and_install
)
|
[
home
](
./Home
)
|
[
next
](
./First_steps
)
|
...
...
...
...