Changes
Page history
Update macos_dependencies_install
authored
Jan 29, 2024
by
Rémy Mozul
Show whitespace changes
Inline
Side-by-side
macos_dependencies_install.md
View page @
c5e22a52
...
...
@@ -7,42 +7,40 @@ The only supported way to install LMGC90's prerequisites by the developper teams
## Installing ##
Theses instructions has been used to successfully build LMGC90 on an Apple M1 Pro (Macbook Pro) with:
*
MacOS Monterey 12.04
*
XCode 13.4.1
*
MacPort 2.7.2
*
MacOS Sonoma 14.3
*
MacPort 2.9.0
Python 3.9 was kept because there was no
`+python310`
variants for vtk package at the time of writting (June 2022).
If you have any other version, you may need to adapt compiler and python version. To benefit from everything, the most simple is to run:
The following instructions were working at the time of writing (spring 2023), and the version number of
`gcc`
package as well as python may have to be updated at a later date.
```
sudo port install gcc
-devel
hdf5 +fortran cmake +gui swig-python
sudo port install py3
9
-numpy py3
9
-h5py vtk +python3
9
sudo port install py3
9
-scipy py3
9
-matplotlib py3
9
-pandas
sudo port install gcc
13
hdf5 +fortran cmake +gui swig-python
sudo port install py3
11
-numpy py3
11
-h5py vtk +python3
11
sudo port install py3
11
-scipy py3
11
-matplotlib py3
11
-pandas
```
Then you need to set the compiler and python as the default on your system:
```
sudo port select --set python python3
9
sudo port select --set python3 python3
9
sudo port select --set gcc mp-gcc
-devel
sudo port select --set python python3
11
sudo port select --set python3 python3
11
sudo port select --set gcc mp-gcc
13
```
and then download Paraview software from
[
here
](
http://www.paraview.org/download
)
To build the documentation:
```
sudo port install doxygen graphviz py3
9
-sphinx py3
9
-numpydoc texlive-latex-extra dvipng ImageMagick
sudo port select --set docutils py3
9
-docutils
sudo port select --set pygments py3
9
-pygments
sudo port select --set sphinx py3
9
-sphinx
sudo port install doxygen graphviz py3
11
-sphinx py3
11
-numpydoc texlive-latex-extra dvipng ImageMagick
sudo port select --set docutils py3
11
-docutils
sudo port select --set pygments py3
11
-pygments
sudo port select --set sphinx py3
11
-sphinx
```
To read tutorials:
```
sudo port install py39-jupyter
sudo port select --set ipython py3
9
-ipython
sudo port select --set ipython3 py3
9
-ipython
sudo port select --set ipython py3
11
-ipython
sudo port select --set ipython3 py3
11
-ipython
```
****
...
...
...
...