"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/io.c" between
hpcc-1.5.0b.tar.gz and hpcc-1.5.0.tar.gz

About: HPCC (HPC Challenge) benchmark consists of basically 7 tests: HPL, STREAM, RandomAccess, PTRANS, FFTE, DGEMM and b_eff Latency/Bandwidth.

io.c  (hpcc-1.5.0b):io.c  (hpcc-1.5.0)
skipping to change at line 201 skipping to change at line 201
static int static int
ErrorReduce(FILE *f, char *str, int eCode, MPI_Comm comm) { ErrorReduce(FILE *f, char *str, int eCode, MPI_Comm comm) {
int rCode; int rCode;
if (eCode) eCode = 1; /* make sure error is indicated with 1 */ if (eCode) eCode = 1; /* make sure error is indicated with 1 */
MPI_Allreduce( &eCode, &rCode, 1, MPI_INT, MPI_SUM, comm ); MPI_Allreduce( &eCode, &rCode, 1, MPI_INT, MPI_SUM, comm );
if (rCode) { if (rCode) {
if (f) if (f)
fprintf( f, str ); fprintf( f, "%s", str );
return -1; return -1;
} }
return 0; return 0;
} }
int int
HPCC_Init(HPCC_Params *params) { HPCC_Init(HPCC_Params *params) {
int myRank, commSize; int myRank, commSize;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS