Commit fe9f3d29 authored by Camille Coti's avatar Camille Coti
Browse files

Output

parent a1412956
......@@ -69,7 +69,7 @@ int main( int argc, char** argv ){
gi::ex Tseq = 0;
double tv_start, tv_para, tv_seq;
int rank;
int rank, size;
#ifdef TAUPROF
TAU_INIT(&argc, &argv);
......@@ -210,8 +210,10 @@ int main( int argc, char** argv ){
std::cout << "Tseq=" << Tseq << ";" << std::endl;
#endif
std::cout.precision( 4 );
std::cout << "Time: ";
std::cout << "parallel " << ( tv_para - tv_start ) / 1e6 << " ";
MPI_Comm_size( MPI_COMM_WORLD, &size );
// std::cout << "Time: ";
//std::cout << "parallel " << ( tv_para - tv_start ) / 1e6 << " ";
std::cout << size << "\t" << tostart << "\t" << ( tv_para - tv_start ) / 1e6 << " ";
#if DEBUG
std::cout << "sequential " << ( tv_seq - tv_para ) / 1e6 << " ";
/* this verification does not work, the manual one (copy-paste in ginsh) works */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment