Changes
Page history
Update macos_dependencies_install
authored
Jan 29, 2020
by
Rémy Mozul
Hide whitespace changes
Inline
Side-by-side
macos_dependencies_install.md
View page @
fd4b5c3f
...
...
@@ -9,38 +9,40 @@ To install MacPort: follow the instructions provided [here](https://www.macports
To compile:
```
port install gcc
7
python
2
7 py
2
7-numpy swig-python cmake +gui
port install gcc
9
python
3
7 py
3
7-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
7
sudo port select python python
2
7
sudo port select gcc mp-gcc
9
sudo port select python python
3
7
```
_Note: here 7 stands for gcc7, any version from gcc4.5 to gcc7 should work_
_Note: here 9 stands for gcc9, any version from gcc4.5 to gcc9 should work.
In the same way 37 stands for python3.7 and any version from python3.3 should work_
Optional:
```
shell
sudo
port
install
hdf5 +
g
fortran
sudo
port
install
hdf5 +fortran
+gcc9 py37-h5py +gcc9
```
Optional but recommended:
```
shell
sudo
port
install
py
2
7-scipy
sudo
port
install
py
3
7-scipy
```
To visualize:
```
port install vtk +python
2
7
port install vtk +python
3
7
```
and then download Paraview software from [here] (http://www.paraview.org/download)
To build the documentation:
```
sudo port install doxygen graphviz py
2
7-sphinx py
2
7-numpydoc texlive-latex-extra dvipng ImageMagick
sudo port install doxygen graphviz py
3
7-sphinx py
3
7-numpydoc texlive-latex-extra dvipng ImageMagick
```
To read tutorials:
```
sudo port install py
2
7-jupyter
sudo port install py
3
7-jupyter
```
****
...
...
...
...