... | ... | @@ -2,7 +2,7 @@ |
|
|
|
|
|
LMGC90 was initially designed for a Unix system. To be able to build it on windows a Unix like environment is needed. Two options either WSL or Anaconda.
|
|
|
|
|
|
## By setting up Windows Subsystem Linux ##
|
|
|
## By setting up Windows Subsystem Linux (recommended) ##
|
|
|
|
|
|
The first thing is to install a Unix environment in Windows by following these instructions:
|
|
|
* https://docs.microsoft.com/en-us/windows/wsl/install-win10
|
... | ... | @@ -32,7 +32,7 @@ Then you can, optionally install a graphical server for you subsystem using eith |
|
|
```
|
|
|
|
|
|
|
|
|
Then in an ubuntu 20.04 terminal run the following commands (or follow the Linux pre-requisites) :
|
|
|
Then in an ubuntu 20.04 terminal run the following commands (or follow the Linux prerequisites) :
|
|
|
|
|
|
```shell
|
|
|
sudo apt install cmake gcc g++ gfortran liblapack-dev swig python3-dev python3-numpy python3-scipy python3-matplotlib python3-vtk7 paraview python3-pip libhdf5-dev hdf5-tools
|
... | ... | @@ -40,11 +40,11 @@ sudo apt install wslu python3-notebook |
|
|
```
|
|
|
Then have a look to the *Linux* instruction for additional tools [here](./linux_dependencies_install) or continue installation [here](./download_and_install)
|
|
|
|
|
|
*By the way* with wsl you can define windows browser as default linux browser (needs to install wslu):
|
|
|
**By the way** with WSL you can define the windows browser as default the linux browser (needs to install wslu):
|
|
|
```
|
|
|
export BROWSER=wslview
|
|
|
```
|
|
|
Furthermore byobu is a really usefull tool with wsl. You can launch it for once typing `byobu` or launch it each time typing once `byobu-enable`.
|
|
|
Furthermore byobu is a really usefull tool with WSL (terminal with several tabs). You can launch it for once typing `byobu` or launch it each time typing once `byobu-enable`.
|
|
|
|
|
|
|
|
|
## By using Python Anaconda environment manager ##
|
... | ... | |