add HDF5 to prerequisites authored by Rémy Mozul's avatar Rémy Mozul
...@@ -11,7 +11,7 @@ To download: ...@@ -11,7 +11,7 @@ To download:
```shell ```shell
sudo port install git sudo port install git
``` ```
To compile (beware, the *+vtk* and *+ python27* go with *cmake* and *vtk* respectively): To compile:
``` ```
port install gcc49 python27 py27-numpy swig-python cmake +gui port install gcc49 python27 py27-numpy swig-python cmake +gui
``` ```
...@@ -20,6 +20,13 @@ Then you need to set the compiler and python as the default on your system: ...@@ -20,6 +20,13 @@ Then you need to set the compiler and python as the default on your system:
sudo port select gcc mp-gcc49 sudo port select gcc mp-gcc49
sudo port select python python27 sudo port select python python27
``` ```
_Note: here 49 stands for gcc4.9, any version from gcc4.5 to gcc6 should work_
Optional:
```shell
port install hdf5 +fortran
```
To visualize: To visualize:
``` ```
port install vtk +python27 port install vtk +python27
... ...
......