... | ... | @@ -9,20 +9,20 @@ To install MacPort: follow the instructions provided [here](https://www.macports |
|
|
|
|
|
To compile:
|
|
|
```
|
|
|
sudo port install gcc10 python38 py38-numpy swig-python cmake +gui
|
|
|
sudo port install gcc11 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-gcc10
|
|
|
sudo port select gcc mp-gcc11
|
|
|
sudo port select python python38
|
|
|
```
|
|
|
_Note: here 10 stands for gcc10, any version from gcc4.5 to gcc10 should work.
|
|
|
_Note: here 11 stands for gcc11, 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+gcc10 py38-h5py +gcc10
|
|
|
sudo port install hdf5 +fortran+gcc11 py38-h5py +gcc11
|
|
|
```
|
|
|
|
|
|
Optional but recommended:
|
... | ... | |