tmacos.rst - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
(HTM) git clone git://src.adamsgaard.dk/pism
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
tmacos.rst (1317B)
---
1 .. include:: ../global.txt
2
3 .. _sec-install-macos:
4
5 Installing required libraries on macOS
6 --------------------------------------
7
8 Follow these steps to install PISM's prerequisites on the macOS operating system.
9
10 #. As PISM is distributed as source code only, you will need software developer’s tools,
11 XCode_ and the *X window system server*, XQuartz_.
12
13 #. The use of MacPorts_ (or Fink_, or Homebrew_) is recommended, as it significantly
14 simplifies installing many open-source libraries. These instructions assume that you
15 use MacPorts_. Download a package from the MacPorts_, install, and set the environment:
16
17 .. code-block:: bash
18
19 export PATH=/opt/local/bin:/opt/local/sbin:$PATH
20
21 #. It may not be necessary to install Python, as it is bundled with the operating system.
22 Some PISM scripts use SciPy; it can be installed using MacPorts or by downloading the
23 `Enthought Python Distribution <Enthought_>`_.
24
25 #. This MacPorts command should install all of PISM's required libraries:
26
27 .. code-block:: bash
28
29 sudo port install git cmake fftw-3 gsl mpich-default netcdf udunits2 libproj4 ncview
30
31 #. At this point, all the PISM prerequisites except PETSc are installed. Proceed to
32 :ref:`sec-install-petsc`.
33
34 #. Now you can build PISM as described in section :ref:`sec-install-pism`.