Installing prerequisites on Debian or Ubuntu¶
You should be able to use your package manager to get the prerequisites for PISM. Install
the following packages using apt-get
or synaptic
or similar. All of these are
recommended as they satisfy requirements for building or running PISM.
Name |
Comment |
---|---|
|
required; used to configure PISM |
|
required; used to build PISM |
|
required; used to download PISM’s source code |
|
required by PISM |
|
required by PISM |
|
required by PISM |
|
required by PISM |
|
required; |
|
required by PISM |
|
optional; used in some pre-processing scripts |
|
optional; a text-based interface for CMake |
|
optional; used for parallel I/O |
|
optional; used to compute longitude and latitude coordinates of grid points |
|
optional; used by PISM’s run-time viewers |
|
optional; used in many pre-processing scripts |
|
optional; a nice tool for examining NetCDF datasets |
|
optional; used by PISM’s Python bindings |
|
optional; used in most post-processing scripts |
|
optional; used by PISM’s regression tests |
|
optional; used in some pre- and post-processing scripts |
|
optional; used in some pre-processing scripts |
|
optional; used in some pre- and post-processing scripts |
|
optional; used to build PISM’s Python bindings |
You may be able to install these by running
apt-get install -y cmake g++ git libfftw3-dev libgsl-dev libnetcdf-dev libudunits2-dev netcdf-bin petsc-dev cdo cmake-curses-gui libpnetcdf-dev libproj-dev libx11-dev nco ncview python3-dev python3-netcdf4 python3-nose python3-numpy python3-pyproj python3-scipy swig
Click here
to download this file.
(You may need to add sudo
or change this command to match your package system.)
The command above takes care of all PISM prerequisites, including PETSc. Set
PETSC_DIR=/usr/lib/petsc
1 and follow the steps in
Building PISM to build PISM itself.
Footnotes
- 1
In this case you do not need to set
PETSC_ARCH
.
Previous | Up | Next |