1 /*****************************************************************/
2 /****** C _ P R I N T _ R E S U L T S ******/
3 /*****************************************************************/
7 void c_print_results( char *name,
18 int passed_verification,
30 printf( "\n\n %s Benchmark Completed\n", name );
32 printf( " Class = %c\n", class );
36 if ( n2 != 0 ) nn *= n2;
37 printf( " Size = %12ld\n", nn ); /* as in IS */
40 printf( " Size = %3dx %3dx %3d\n", n1,n2,n3 );
42 printf( " Iterations = %12d\n", niter );
44 printf( " Time in seconds = %12.2f\n", t );
46 printf( " Total processes = %12d\n", nprocs_total );
48 if ( nprocs_compiled != 0 )
49 printf( " Compiled procs = %12d\n", nprocs_compiled );
51 printf( " Mop/s total = %12.2f\n", mops );
53 printf( " Mop/s/process = %12.2f\n", mops/((float) nprocs_total) );
55 printf( " Operation type = %24s\n", optype);
57 if( passed_verification )
58 printf( " Verification = SUCCESSFUL\n" );
60 printf( " Verification = UNSUCCESSFUL\n" );
62 printf( " Version = %12s\n", npbversion );
64 printf( " Compile date = %12s\n", compiletime );
66 printf( "\n Compile options:\n" );
68 printf( " MPICC = %s\n", mpicc );
70 printf( " CLINK = %s\n", clink );
72 printf( " CMPI_LIB = %s\n", cmpi_lib );
74 printf( " CMPI_INC = %s\n", cmpi_inc );
76 printf( " CFLAGS = %s\n", cflags );
78 printf( " CLINKFLAGS = %s\n", clinkflags );
80 evalue = getenv("MP_SET_NUMTHREADS");
81 printf( " MULTICPUS = %s\n", evalue );
85 printf( " Please send the results of this run to:\n\n" );
86 printf( " NPB Development Team\n" );
87 printf( " Internet: npb@nas.nasa.gov\n \n" );
88 printf( " If email is not available, send this to:\n\n" );
89 printf( " MS T27A-1\n" );
90 printf( " NASA Ames Research Center\n" );
91 printf( " Moffett Field, CA 94035-1000\n\n" );
92 printf( " Fax: 650-604-3957\n\n" );