diff --git a/openmp/b+tree/b+tree b/openmp/b+tree/b+tree index a92a2ec6f8441480961cc28415241d72dd3eeddf..644c6cb8154c8e35db66c90ad4fdff899ff4ab6d 100755 Binary files a/openmp/b+tree/b+tree and b/openmp/b+tree/b+tree differ diff --git a/openmp/b+tree/main.c b/openmp/b+tree/main.c index 4aaef0a7cafb1db7e5ccabd35ee663249334f013..16a91f2bfe25eab5e72a705676888e55e1ec168a 100644 --- a/openmp/b+tree/main.c +++ b/openmp/b+tree/main.c @@ -1849,7 +1849,7 @@ main( int argc, int cores_arg =1; char *input_file = NULL; char *command_file = NULL; - char *output="output.txt"; + char *output="/dev/null"; FILE * pFile; @@ -1942,13 +1942,13 @@ main( int argc, printf("%s",commandBuffer); // -/* - pFile = fopen (output,"w+"); + + pFile = fopen (output ,"w+"); if (pFile==NULL) fputs ("Fail to open %s !\n",output); fprintf(pFile,"******starting******\n"); fclose(pFile); -*/ + // ------------------------------------------------------------60 // general variables @@ -2211,7 +2211,7 @@ main( int argc, // false); // bool // } -/* + pFile = fopen (output,"aw+"); if (pFile==NULL) { @@ -2224,7 +2224,7 @@ main( int argc, } fprintf(pFile, " \n"); fclose(pFile); -*/ + // free memory free(currKnode); free(offset); @@ -2368,7 +2368,7 @@ main( int argc, // start[k], // end[k]); // } -/* pFile = fopen (output,"aw+"); + pFile = fopen (output,"aw+"); if (pFile==NULL) { fputs ("Fail to open %s !\n",output); @@ -2380,7 +2380,7 @@ main( int argc, } fprintf(pFile, " \n"); fclose(pFile); -*/ + // free memory free(currKnode); free(offset); diff --git a/openmp/b+tree/main.o b/openmp/b+tree/main.o index 7d888f604c478fd551c8051794e2b184167a3c70..5e83c5a2b7edd4437c0f75acbe9f158c99c1cb82 100644 Binary files a/openmp/b+tree/main.o and b/openmp/b+tree/main.o differ diff --git a/openmp/bfs/bfs b/openmp/bfs/bfs index bca2fdae1afaf3bdd310c416d71dd8c67c97575e..e4ce8e3a0fe75fcad4cc8eaa23b0868371224aec 100755 Binary files a/openmp/bfs/bfs and b/openmp/bfs/bfs differ diff --git a/openmp/bfs/bfs.cpp b/openmp/bfs/bfs.cpp index 92953a5e0afb53ea8b4b389b30252aaeaadf9d05..85c579a0847e885271240f740d7c842c3eb18d10 100755 --- a/openmp/bfs/bfs.cpp +++ b/openmp/bfs/bfs.cpp @@ -175,13 +175,13 @@ void BFSGraph( int argc, char** argv) } #endif #endif -/* //Store the result into a file - FILE *fpo = fopen("result.txt","w"); + //Store the result into a file + FILE *fpo = fopen("/dev/null","w"); for(int i=0;i<no_of_nodes;i++) fprintf(fpo,"%d) cost:%d\n",i,h_cost[i]); fclose(fpo); printf("Result stored in result.txt\n"); -*/ + // cleanup memory free( h_graph_nodes); diff --git a/openmp/bfs/bfs_offload b/openmp/bfs/bfs_offload index 6b87292651f81045cd9217a45c651fde6234bd09..a22a35ad3d6982aca8e63bdaa471ea8341b63e3b 100755 Binary files a/openmp/bfs/bfs_offload and b/openmp/bfs/bfs_offload differ diff --git a/openmp/heartwall/main.c b/openmp/heartwall/main.c index 7cb224cb6ce058c8d0aefd22bb038faa1259d55e..6014c2ea2043e8a71f4d91fdedd8595d3a2fef94 100755 --- a/openmp/heartwall/main.c +++ b/openmp/heartwall/main.c @@ -583,7 +583,7 @@ int main(int argc, char *argv []){ // DUMP DATA TO FILE //==================================================50 #ifdef OUTPUT - write_data( "result.txt", + write_data( "/dev/null", public.frames, frames_processed, public.endoPoints, diff --git a/openmp/lavaMD/main.c b/openmp/lavaMD/main.c index 928cde13d74ebc1521a954b951593fe01fab7a01..80b3bf343ef7928cddaefd08c97363ae9e69c27b 100755 --- a/openmp/lavaMD/main.c +++ b/openmp/lavaMD/main.c @@ -302,7 +302,7 @@ main( int argc, // dump results #ifdef OUTPUT FILE *fptr; - fptr = fopen("result.txt", "w"); + fptr = fopen("/dev/null", "w"); for(i=0; i<dim_cpu.space_elem; i=i+1){ fprintf(fptr, "%f, %f, %f, %f\n", fv_cpu[i].v, fv_cpu[i].x, fv_cpu[i].y, fv_cpu[i].z); } diff --git a/openmp/leukocyte/meschach_lib/config.log b/openmp/leukocyte/meschach_lib/config.log index d2d9d6bd8d7b5d2f2eefa078f2929c4363f1af8e..b1dd77518c2c0018ec7db1e37942ebdcd12c609a 100755 --- a/openmp/leukocyte/meschach_lib/config.log +++ b/openmp/leukocyte/meschach_lib/config.log @@ -4,14 +4,14 @@ running configure, to aid debugging if configure makes a mistake. configure:575: checking for acc configure:605: checking for cc configure:635: checking for gcc -configure:748: checking whether the C compiler (clang -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize ) works -configure:764: clang -o conftest -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 +configure:748: checking whether the C compiler (clang -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize ) works +configure:764: clang -o conftest -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 configure:761:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 761 | main(){return(0);} | ^ | int 1 warning generated. -configure:790: checking whether the C compiler (clang -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize ) is a cross-compiler +configure:790: checking whether the C compiler (clang -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize ) is a cross-compiler configure:795: checking whether we are using GNU C configure:804: clang -E conftest.c configure:823: checking whether clang accepts -g @@ -34,7 +34,7 @@ configure:1063: checking for memory.h configure:1073: clang -E conftest.c >/dev/null 2>conftest.out configure:1100: checking for ANSI C header files configure:1113: clang -E conftest.c >/dev/null 2>conftest.out -configure:1180: clang -o conftest -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 +configure:1180: clang -o conftest -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 configure:1175:67: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1175 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | ^ @@ -57,10 +57,10 @@ configure: failed program was: #include <varargs.h> configure:1316: checking for size_t configure:1349: checking for working const -configure:1403: clang -c -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 +configure:1403: clang -c -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 configure:1424: checking whether byte ordering is bigendian -configure:1442: clang -c -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 -configure:1457: clang -c -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 +configure:1442: clang -c -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 +configure:1457: clang -c -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 configure:1452:2: error: use of undeclared identifier 'not' 1452 | not big endian | ^ @@ -76,7 +76,7 @@ int main() { not big endian #endif ; return 0; } -configure:1579: clang -c -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 +configure:1579: clang -c -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c 1>&5 configure:1570:1: error: unknown type name 'u_int' 1570 | u_int | ^ @@ -158,9 +158,9 @@ int main() { #endif ; return 0; } configure:1636: checking for bcopy -configure:1664: clang -o conftest -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c -lm 1>&5 +configure:1664: clang -o conftest -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c -lm 1>&5 configure:1636: checking for bzero -configure:1664: clang -o conftest -O3 -funroll-loops -mfma -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c -lm 1>&5 +configure:1664: clang -o conftest -O3 -march=native -fno-tree-vectorize -fno-tree-slp-vectorize conftest.c -lm 1>&5 configure:1648:6: warning: incompatible redeclaration of library function 'bzero' [-Wincompatible-library-redeclaration] 1648 | char bzero(); | ^ diff --git a/openmp/leukocyte/meschach_lib/meschach.a b/openmp/leukocyte/meschach_lib/meschach.a index 6840a900c46ff56fc6ad0a9ab25ba61ca235d989..4992b28e53a26df20b24ae84ad185996cb74275b 100644 Binary files a/openmp/leukocyte/meschach_lib/meschach.a and b/openmp/leukocyte/meschach_lib/meschach.a differ diff --git a/openmp/nw/needle.cpp b/openmp/nw/needle.cpp index 29d8c82edde46d909e332e5a60f31f99931aea58..6cbb4e02b9216b5e191cbdd58b948dfb3e2d468d 100755 --- a/openmp/nw/needle.cpp +++ b/openmp/nw/needle.cpp @@ -314,13 +314,13 @@ runTest( int argc, char** argv) #define TRACEBACK #ifdef TRACEBACK -// FILE *fpo = fopen("result.txt","w"); -// fprintf(fpo, "print traceback value GPU:\n"); + FILE *fpo = fopen("/dev/null","w"); + fprintf(fpo, "print traceback value GPU:\n"); for (int i = max_rows - 2, j = max_rows - 2; i>=0, j>=0;){ int nw, n, w, traceback; if ( i == max_rows - 2 && j == max_rows - 2 ) -// fprintf(fpo, "%d ", input_itemsets[ i * max_cols + j]); //print the first element + fprintf(fpo, "%d ", input_itemsets[ i * max_cols + j]); //print the first element if ( i == 0 && j == 0 ) break; if ( i > 0 && j > 0 ){ @@ -353,7 +353,7 @@ runTest( int argc, char** argv) if(traceback == new_n) traceback = n; -// fprintf(fpo, "%d ", traceback); + fprintf(fpo, "%d ", traceback); if(traceback == nw ) {i--; j--; continue;} @@ -368,7 +368,7 @@ runTest( int argc, char** argv) ; } -// fclose(fpo); + fclose(fpo); #endif diff --git a/openmp/nw/needle_offload b/openmp/nw/needle_offload index 9881a25d51a94608a11b2f7d322ad3f15faccabe..b615c6946dd32f85e01f883e25ae549f512e62bf 100755 Binary files a/openmp/nw/needle_offload and b/openmp/nw/needle_offload differ diff --git a/openmp/nw/nw b/openmp/nw/nw index 9881a25d51a94608a11b2f7d322ad3f15faccabe..b615c6946dd32f85e01f883e25ae549f512e62bf 100755 Binary files a/openmp/nw/nw and b/openmp/nw/nw differ diff --git a/openmp/particle_filter/particle_filter b/openmp/particle_filter/particle_filter old mode 100644 new mode 100755 index 6a6dca1a46b78d470cc8371ea264f3402b25cdd4..84615607ce86fd5b23e5047b56edda32c2561cb6 Binary files a/openmp/particle_filter/particle_filter and b/openmp/particle_filter/particle_filter differ diff --git a/openmp/pathfinder/pathfinder b/openmp/pathfinder/pathfinder index 21ee707fef3e857ef7ab9a47364b708d43f304cd..7e1465271f617b33e6ac9dacb0490d4e4f85c614 100755 Binary files a/openmp/pathfinder/pathfinder and b/openmp/pathfinder/pathfinder differ