next up previous contents
Next: Setup for user programs Up: Installation Previous: Installation

Setup for library creation

In order to install the ParPre library, the MPI and Petsc libraries have to be in place. You also have to have write permission for the Petsc library files.

The following environment variables need to be set, either globally, or at the invocation of the makefile:

PETSC_DIR <location of the Petsc library>
PETSC_ARCH <machine type; check $PETSC_DIR/bmake for possibilities>
PARPRE_DIR <location of the ParPre library>
BOPT <optimisation type; eg, g for debug>

Further environment has to be specified by copying Petsc information to Parpre:

cp $PETSC_DIR/bmake/$PARPRE_ARCH/base.site \
   $PARPRE_DIR/bmake/$PARPRE_ARCH/base.site

Then:

cd $PARPRE_DIR ; make all



Victor Eijkhout
7/27/1998