... | ... | @@ -11,7 +11,7 @@ To download: |
|
|
```shell
|
|
|
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
|
|
|
```
|
... | ... | @@ -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 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:
|
|
|
```
|
|
|
port install vtk +python27
|
... | ... | |