Installing dependencies on MacOs
MacPorts
The easiest way to install LMGC90's prerequisites is to use a package manager. The developer team uses exclusively MacPorts and cannot provide any advice if an other one is used.
To install MacPort: follow the instructions provided here
Installing
To compile:
sudo port install gcc10 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 python python38
Note: here 10 stands for gcc10, 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:
sudo port install hdf5 +fortran+gcc10 py38-h5py +gcc10
Optional but recommended:
sudo port install py38-scipy
To visualize:
sudo port install vtk +python38
and then download Paraview software from here
To build the documentation:
sudo port install doxygen graphviz py38-sphinx py38-numpydoc texlive-latex-extra dvipng ImageMagick
To read tutorials:
sudo port install py38-jupyter
back | next |
---|