 #include <algorithm>
 #include <fstream>
 #include <cmath>
+#include <map>
+#include <stdio.h>
 #include <stdlib.h>
 
 #include <cusp/io/matrix_market.h>

class OutputItem
{
public:
	OutputItem(std::ostream &o): m_o(o) {}

	template <typename T>
	void operator() (T item) {

				outputItem( "Unknown error");
				break;
		}

		// Make up for the other columns
		for (int i=0; i < outputItem.m_additional_item_count; i++)
			outputItem("");

		// Output the pardiso time
		std::map<std::string, double>::iterator map_it = pardiso_time_table.end();
		if ((map_it = pardiso_time_table.find(fileMat)) != pardiso_time_table.end())  {
			outputItem(map_it->second);
			outputItem("");
		}
		else {
			outputItem("");
			outputItem("");
		}

		cout << "</tr>" << endl;

		return 1;
	}
