... | ... | @@ -9,38 +9,40 @@ To install MacPort: follow the instructions provided [here](https://www.macports |
|
|
|
|
|
To compile:
|
|
|
```
|
|
|
port install gcc7 python27 py27-numpy swig-python cmake +gui
|
|
|
port install gcc9 python37 py37-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-gcc7
|
|
|
sudo port select python python27
|
|
|
sudo port select gcc mp-gcc9
|
|
|
sudo port select python python37
|
|
|
```
|
|
|
_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 +gfortran
|
|
|
sudo port install hdf5 +fortran+gcc9 py37-h5py +gcc9
|
|
|
```
|
|
|
|
|
|
Optional but recommended:
|
|
|
```shell
|
|
|
sudo port install py27-scipy
|
|
|
sudo port install py37-scipy
|
|
|
```
|
|
|
|
|
|
To visualize:
|
|
|
```
|
|
|
port install vtk +python27
|
|
|
port install vtk +python37
|
|
|
```
|
|
|
and then download Paraview software from [here] (http://www.paraview.org/download)
|
|
|
|
|
|
To build the documentation:
|
|
|
```
|
|
|
sudo port install doxygen graphviz py27-sphinx py27-numpydoc texlive-latex-extra dvipng ImageMagick
|
|
|
sudo port install doxygen graphviz py37-sphinx py37-numpydoc texlive-latex-extra dvipng ImageMagick
|
|
|
```
|
|
|
To read tutorials:
|
|
|
```
|
|
|
sudo port install py27-jupyter
|
|
|
sudo port install py37-jupyter
|
|
|
```
|
|
|
****
|
|
|
|
... | ... | |