#!/bin/bash
#http://www.mcs.anl.gov/research/projects/tao/download/index.html
#wget http://www.mcs.anl.gov/research/projects/tao/download/tao-2.0-p3.tar.gz

#Some cleanup
rm -rf install tao-2.0-p3
mkdir install

#Untar 
tar -zxvf  tao-2.0-p3.tar.gz

#move into place
mv tao-2.0-p3/* install/
rm -rf tao-2.0-p3
cd install
export TAO_DIR="$ISSM_DIR/externalpackages/tao/install/"

#petsc needs to be compiled with --with-clanguage=C++
make
