#! /bin/bash
#
gfortran -c -g -Wall test_digraph_adj_test.f90
if [ $? -ne 0 ]; then
  echo "Compile error."
  exit
fi
#
gfortran -o test_digraph_adj_test test_digraph_adj_test.o $HOME/lib/test_digraph_adj.o
if [ $? -ne 0 ]; then
  echo "Load error."
  exit
fi
rm test_digraph_adj_test.o
#
./test_digraph_adj_test > test_digraph_adj_test.txt
if [ $? -ne 0 ]; then
  echo "Run error."
  exit
fi
rm test_digraph_adj_test
#
echo "Normal end of execution."
