... | ... | @@ -9,40 +9,40 @@ To install MacPort: follow the instructions provided [here](https://www.macports |
|
|
|
|
|
To compile:
|
|
|
```
|
|
|
port install gcc9 python37 py37-numpy swig-python cmake +gui
|
|
|
port install gcc10 python38 py38-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-gcc9
|
|
|
sudo port select python python37
|
|
|
sudo port select gcc mp-gcc10
|
|
|
sudo port select python python38
|
|
|
```
|
|
|
_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_
|
|
|
_Note: here 10 stands for gcc10, any version from gcc4.5 to gcc10 should work.
|
|
|
In the same way 38 stands for python3.8 and any version from python3.3 should work_
|
|
|
|
|
|
|
|
|
Optional:
|
|
|
```shell
|
|
|
sudo port install hdf5 +fortran+gcc9 py37-h5py +gcc9
|
|
|
sudo port install hdf5 +fortran+gcc10 py38-h5py +gcc10
|
|
|
```
|
|
|
|
|
|
Optional but recommended:
|
|
|
```shell
|
|
|
sudo port install py37-scipy
|
|
|
sudo port install py38-scipy
|
|
|
```
|
|
|
|
|
|
To visualize:
|
|
|
```
|
|
|
port install vtk +python37
|
|
|
port install vtk +python38
|
|
|
```
|
|
|
and then download Paraview software from [here] (http://www.paraview.org/download)
|
|
|
|
|
|
To build the documentation:
|
|
|
```
|
|
|
sudo port install doxygen graphviz py37-sphinx py37-numpydoc texlive-latex-extra dvipng ImageMagick
|
|
|
sudo port install doxygen graphviz py38-sphinx py38-numpydoc texlive-latex-extra dvipng ImageMagick
|
|
|
```
|
|
|
To read tutorials:
|
|
|
```
|
|
|
sudo port install py37-jupyter
|
|
|
sudo port install py38-jupyter
|
|
|
```
|
|
|
****
|
|
|
|
... | ... | |