#! /opt/bin/dash # PATH="/bin:/usr/bin"; export PATH paste cache-mpich.out cache-intel.out ../cache/cache-30.out | awk '{ if( $1 == 31) mpich[$2] = $3; if( $4 == 31) intel[$5] = $6; if( $7 == 31) ompi[$8] = $9; } END { printf( "Comparison with Open MPI, n = 31:\n\n"); printf( " c MPICH Intel OpenMPI\n"); for( c = 7; c <= 15; ++c) if( mpich[c] > 0) { printf( "%8i%8.2f%8.2f%8.2f\n", c, mpich[c], intel[c], ompi[c]); } }'