Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
LMGC90_user
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • LMGC90
  • LMGC90_user
  • Wiki
  • macos_dependencies_install

Last edited by Rémy Mozul Mar 11, 2021
Page history

macos_dependencies_install

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
Clone repository
  • compilation
  • container
  • documentation
  • download_and_install
  • faq
  • first_steps
  • Home
  • jul_2015
  • jul_2016
  • jul_2018
  • linux_dependencies_install
  • macos_dependencies_install
  • prerequisites
  • release_notes
  • training all
View All Pages