#!/bin/bash

#Erase install
rm -rf install  src rats-2.3

#install directory
mkdir src
tar -zxvf rats-2.3.tar.gz 
mv rats-2.3/* src
rm -rf rats-2.3

#compile
cd src
./configure --prefix=$ISSM_DIR/externalpackages/rats/install
make
make install
cd ..
