aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/spbench/spbenchsolver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/spbench/spbenchsolver.cpp')
-rw-r--r--bench/spbench/spbenchsolver.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/bench/spbench/spbenchsolver.cpp b/bench/spbench/spbenchsolver.cpp
index 830542ff1..ff0ce4c7d 100644
--- a/bench/spbench/spbenchsolver.cpp
+++ b/bench/spbench/spbenchsolver.cpp
@@ -5,7 +5,6 @@ void bench_printhelp()
cout<< " \nbenchsolver : performs a benchmark of all the solvers available in Eigen \n\n";
cout<< " MATRIX FOLDER : \n";
cout<< " The matrices for the benchmark should be collected in a folder specified with an environment variable EIGEN_MATRIXDIR \n";
- cout<< " This folder should contain the subfolders real/ and complex/ : \n";
cout<< " The matrices are stored using the matrix market coordinate format \n";
cout<< " The matrix and associated right-hand side (rhs) files are named respectively \n";
cout<< " as MatrixName.mtx and MatrixName_b.mtx. If the rhs does not exist, a random one is generated. \n";
@@ -68,18 +67,16 @@ int main(int argc, char ** args)
maxiters = atoi(inval.c_str());
string current_dir;
- // Test the matrices in %EIGEN_MATRIXDIR/real
- current_dir = matrix_dir + "/real";
- Browse_Matrices<double>(current_dir, statFileExists, statFile,maxiters, tol);
+ // Test the real-arithmetics matrices
+ Browse_Matrices<double>(matrix_dir, statFileExists, statFile,maxiters, tol);
- // Test the matrices in %EIGEN_MATRIXDIR/complex
- current_dir = matrix_dir + "/complex";
- Browse_Matrices<std::complex<double> >(current_dir, statFileExists, statFile, maxiters, tol);
+ // Test the complex-arithmetics matrices
+ Browse_Matrices<std::complex<double> >(matrix_dir, statFileExists, statFile, maxiters, tol);
if(statFileExists)
{
statbuf.open(statFile.c_str(), std::ios::app);
- statbuf << "</TABLE> \n";
+ statbuf << "</BENCH> \n";
cout << "\n Output written in " << statFile << " ...\n";
statbuf.close();
}