Written by Jason Rennie, January 2005
Developed using TAO 1.7 and PETSc 2.2.1
Tested on Debian Sarge
#!/bin/bash # Directory for installation DIR=~/package/tao export PETSC_DIR=$DIR/petsc export PETSC_ARCH=linux-gnu export TAO_DIR=$DIR/tao export BOPT=O_c++ cd $DIR tar xzf petsc-lite.tar.gz ln -s petsc-?.?.? petsc tar xzf tao-?.?.tar.gz ln -s tao-?.? tao cd petsc ./config/configure.py --with-mpi=0 --with-default-optimization=g --with-default-language=c++ --with-matlab=0 --with-x=0 --with-blocksolve95=0 --with-adic=0 --with-blas-lib=blas-3 --with-lapack-lib=lapack-3 make all make test &> petsc.test.out cd ../tao make all make tao_testexamples &> tao.test.out