tdebian.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
       ---
       tdebian.rst (1037B)
       ---
            1 .. _sec-install-debian:
            2 
            3 Installing prerequisites on Debian or Ubuntu
            4 --------------------------------------------
            5 
            6 You should be able to use your package manager to get the prerequisites for PISM. Install
            7 the following packages using ``apt-get`` or ``synaptic`` or similar. All of these are
            8 recommended as they satisfy requirements for building or running PISM.
            9 
           10 .. csv-table:: Debian packages
           11    :name: tab-debian-packages
           12    :header: Name, Comment
           13    :widths: 2,5
           14    :file: debian-packages.csv
           15 
           16 You may be able to install these by running
           17 
           18 .. literalinclude:: code/install_libraries.sh
           19    :language: bash
           20 
           21 .. only:: html
           22 
           23    Click :download:`here <code/install_libraries.sh>` to download this file.
           24 
           25 (You may need to change this command to match your package system.)
           26 
           27 The command above takes care of all PISM prerequisites, including PETSc. Set
           28 ``PETSC_DIR=/usr/lib/petsc``\ [#]_ and follow the steps in :ref:`sec-install-pism` to build PISM
           29 itself.
           30 
           31 .. rubric:: Footnotes
           32 
           33 .. [#] In this case you do not need to set ``PETSC_ARCH``.