@ -15,7 +15,7 @@ RESET="\033[0m"
# Check if the executable ELF file exists
if [ ! -f "./ psb_gedot_test" ] ; then
if [ ! -f "./ runs/ psb_gedot_test" ] ; then
echo -e " ${ YELLOW } [WARNING] Executable not found. Running make... ${ RESET } "
make
if [ ! -f "./runs/psb_geaxpby_test" ] ; then
@ -30,13 +30,16 @@ fi
echo -e " ${ BLUE } [INFO]\t Running the PSBLAS psb_gedot test... ${ RESET } "
echo ""
echo -e " ${ BLUE } [INFO]\t Starting single process computation ${ RESET } "
mpirun -np 1 ./psb_gedot_test
mpirun -np 1 ./runs/ psb_gedot_test
echo -e " ${ BLUE } [INFO]\t Single process computation terminated correctly ${ RESET } "
echo ""
echo -e " ${ BLUE } [INFO]\t Starting $num_procs processes computation ${ RESET } "
mpirun -np $num_procs ./psb_gedot_test
mpirun -np $num_procs ./runs/ psb_gedot_test
echo -e " ${ BLUE } [INFO]\t Multiple processes computation terminated correctly ${ RESET } "
rm results/*
rm -r results/
# echo "" >> ${log_file_name}