Skip to content
Snippets Groups Projects
Commit b546f2d8 authored by Lukas Cejka's avatar Lukas Cejka Committed by Tomáš Oberhuber
Browse files

Added verbose option for MatrixReader to be true by default. Added provisional...

Added verbose option for MatrixReader to be true by default. Added provisional log-file folder creation. Commiting for backup purposes.
parent 4f167937
No related branches found
No related tags found
1 merge request!45Matrices revision
...@@ -52,6 +52,10 @@ do ...@@ -52,6 +52,10 @@ do
cd $DIRNAME cd $DIRNAME
tar zxvf $FILENAME tar zxvf $FILENAME
cd $IWD cd $IWD
if [ ! -d "log-files" ];
then
mkdir log-files
fi
SUBDIRNAME=`echo $FILENAME | sed 's/.tar.gz//'` SUBDIRNAME=`echo $FILENAME | sed 's/.tar.gz//'`
rm -f $DIRNAME/$SUBDIRNAME/*_b.mtx # these are usualy in array format rm -f $DIRNAME/$SUBDIRNAME/*_b.mtx # these are usualy in array format
for file in $DIRNAME/$SUBDIRNAME/*.mtx; for file in $DIRNAME/$SUBDIRNAME/*.mtx;
...@@ -62,9 +66,9 @@ do ...@@ -62,9 +66,9 @@ do
mtx_file_name=${mtx_file_name%.mtx} mtx_file_name=${mtx_file_name%.mtx}
if test x$DEBUG = xyes; if test x$DEBUG = xyes;
then then
gdb --args $BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$mtx_file_name.log --verbose 1 gdb --args $BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$mtx_file_name.log --verbose 1 --verbose-MReader 1
else else
$BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$mtx_file_name.log --verbose 1 $BENCHMARK --input-file $file --log-file log-files/sparse-matrix-benchmark::$mtx_file_name.log --verbose 1 --verbose-MReader 1
fi fi
done done
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment