Changes
Page history
Update macos_dependencies_install
authored
Jan 21, 2021
by
Rémy Mozul
Hide whitespace changes
Inline
Side-by-side
macos_dependencies_install.md
View page @
f7c957c3
...
...
@@ -9,40 +9,40 @@ To install MacPort: follow the instructions provided [here](https://www.macports
To compile:
```
port install gcc
9
python3
7
py3
7
-numpy swig-python cmake +gui
port install gcc
10
python3
8
py3
8
-numpy swig-python cmake +gui
```
Then you need to set the compiler and python as the default on your system:
```
sudo port select gcc mp-gcc
9
sudo port select python python3
7
sudo port select gcc mp-gcc
10
sudo port select python python3
8
```
_Note: here
9
stands for gcc
9
, any version from gcc4.5 to gcc
9
should work.
In the same way 3
7
stands for python3.
7
and any version from python3.3 should work_
_Note: here
10
stands for gcc
10
, any version from gcc4.5 to gcc
10
should work.
In the same way 3
8
stands for python3.
8
and any version from python3.3 should work_
Optional:
```
shell
sudo
port
install
hdf5 +fortran+gcc
9
py3
7
-h5py +gcc
9
sudo
port
install
hdf5 +fortran+gcc
10
py3
8
-h5py +gcc
10
```
Optional but recommended:
```
shell
sudo
port
install
py3
7
-scipy
sudo
port
install
py3
8
-scipy
```
To visualize:
```
port install vtk +python3
7
port install vtk +python3
8
```
and then download Paraview software from [here] (http://www.paraview.org/download)
To build the documentation:
```
sudo port install doxygen graphviz py3
7
-sphinx py3
7
-numpydoc texlive-latex-extra dvipng ImageMagick
sudo port install doxygen graphviz py3
8
-sphinx py3
8
-numpydoc texlive-latex-extra dvipng ImageMagick
```
To read tutorials:
```
sudo port install py3
7
-jupyter
sudo port install py3
8
-jupyter
```
****
...
...
...
...