4 void c_print_results(char *name, char class, int n1, int n2, int n3, int niter, int nprocs_compiled, int nprocs_total,
5 double t, double mops, char *optype, int passed_verification, char *npbversion, char *compiletime,
6 char *mpicc, char *clink, char *cmpi_lib, char *cmpi_inc, char *cflags, char *clinkflags)
8 printf( "\n\n %s Benchmark Completed\n", name );
9 printf( " Class = %c\n", class );
13 if ( n2 != 0 ) nn *= n2;
14 printf( " Size = %12ld\n", nn ); /* as in IS */
17 printf( " Size = %3dx %3dx %3d\n", n1,n2,n3 );
19 printf( " Iterations = %12d\n", niter );
20 printf( " Time in seconds = %12.2f\n", t );
21 printf( " Total processes = %12d\n", nprocs_total );
23 if ( nprocs_compiled != 0 )
24 printf( " Compiled procs = %12d\n", nprocs_compiled );
26 printf( " Mop/s total = %12.2f\n", mops );
27 printf( " Mop/s/process = %12.2f\n", mops/((float) nprocs_total) );
28 printf( " Operation type = %24s\n", optype);
30 if( passed_verification )
31 printf( " Verification = SUCCESSFUL\n" );
33 printf( " Verification = UNSUCCESSFUL\n" );
35 printf( " Version = %12s\n", npbversion );
36 printf( " Compile date = %12s\n", compiletime );
37 printf( "\n Compile options:\n" );
38 printf( " MPICC = %s\n", mpicc );
39 printf( " CLINK = %s\n", clink );
40 printf( " CMPI_LIB = %s\n", cmpi_lib );
41 printf( " CMPI_INC = %s\n", cmpi_inc );
42 printf( " CFLAGS = %s\n", cflags );
43 printf( " CLINKFLAGS = %s\n", clinkflags );
45 printf( " Please send the results of this run to:\n\n" );
46 printf( " NPB Development Team\n" );
47 printf( " Internet: npb@nas.nasa.gov\n \n" );
48 printf( " If email is not available, send this to:\n\n" );
49 printf( " MS T27A-1\n" );
50 printf( " NASA Ames Research Center\n" );
51 printf( " Moffett Field, CA 94035-1000\n\n" );
52 printf( " Fax: 650-604-3957\n\n" );