clean out all my changes
authorbdemsky <bdemsky>
Fri, 6 Nov 2009 21:41:43 +0000 (21:41 +0000)
committerbdemsky <bdemsky>
Fri, 6 Nov 2009 21:41:43 +0000 (21:41 +0000)
22 files changed:
Robust/src/Benchmarks/SingleTM/Bayes/Bayes.java
Robust/src/Benchmarks/SingleTM/Genome/Genome.java
Robust/src/Benchmarks/SingleTM/Intruder/Intruder.java
Robust/src/Benchmarks/SingleTM/KMeans/Common.java
Robust/src/Benchmarks/SingleTM/KMeans/KMeans.java
Robust/src/Benchmarks/SingleTM/KMeans/Normal.java
Robust/src/Benchmarks/SingleTM/KMeans/RandomExact.java
Robust/src/Benchmarks/SingleTM/Labyrinth3D/Labyrinth.java
Robust/src/Benchmarks/SingleTM/Labyrinth3D/makefile
Robust/src/Benchmarks/SingleTM/LeeRouting/makefile
Robust/src/Benchmarks/SingleTM/SSCA2/ComputeGraph.java
Robust/src/Benchmarks/SingleTM/SSCA2/Graph.java
Robust/src/Benchmarks/SingleTM/SSCA2/SSCA2.java
Robust/src/Benchmarks/SingleTM/Tests/Simple.java
Robust/src/Benchmarks/SingleTM/Tests/makefile
Robust/src/Benchmarks/SingleTM/Vacation/Vacation.java
Robust/src/Benchmarks/SingleTM/common/Makefile.builds
Robust/src/Benchmarks/SingleTM/common/Makefile.flags
Robust/src/Benchmarks/SingleTM/compileall
Robust/src/Benchmarks/SingleTM/runall
Robust/src/Makefile
Robust/src/Tests/dotest

index 08597cae05c075d365f1d6e169856b81a8e2b99a..460e118792b39995842d840caa03cea4addf2c3f 100644 (file)
@@ -327,6 +327,7 @@ public class Bayes extends Thread {
     /** 
       * Parallel work by all threads
       **/
+    long start=System.currentTimeMillis();
 
     Barrier.enterBarrier();
     Learner.createTaskList(0, numThread, learnerPtr);
@@ -335,6 +336,10 @@ public class Bayes extends Thread {
     Barrier.enterBarrier();
     Learner.learnStructure(0, numThread, learnerPtr);
     Barrier.enterBarrier();
+    long stop=System.currentTimeMillis();
+
+    long diff=stop-start;
+    System.out.println("TIME="+diff);
 
     System.out.println("done.");
 
index 49c5cc0027296eba9673dba175b847bab90b42ed..a535af30b0767e76f4ee5265e5735aed0bb42ba0 100644 (file)
@@ -107,11 +107,14 @@ public class Genome extends Thread {
     for(int i = 1; i<g.numThread; i++) {
       gn[i].start();
     }
-
+    
+    long start=System.currentTimeMillis();
     Barrier.enterBarrier();
     Sequencer.run(0, g.numThread, g.randomPtr, g.sequencerPtr); 
     Barrier.enterBarrier();
-
+    long stop=System.currentTimeMillis();
+    long diff=stop-start;
+    System.out.println("TIME="+diff);
 
     System.out.println("done.");
 
index 2810f6ae959bb67dbc0a961caf5086f153e66c86..2186fe2977b81f8bcbdb89725e506807a08302f4 100644 (file)
@@ -300,21 +300,21 @@ public class Intruder extends Thread {
         }
         in.threadID = 0;
 
-        long start = System.currentTimeMillis();
 
         for(i = 1; i< in.numThread;i++) {
             intruders[i].start();
         }
 
+        long start = System.currentTimeMillis();
+
         Barrier.enterBarrier();
         in.processPackets(in.argument);
         Barrier.enterBarrier();
 
-
         long finish = System.currentTimeMillis();
         long elapsed = finish - start;
 
-        System.out.println("Elapsed time        = " + (float)(elapsed)/1000);
+        System.out.println("TIME=" + elapsed);
 
         // finish
         //
index bd372e23407d725d17b8a3fbf116ccc6d56aa65d..6e777eba329bcb917a85ee54f4709a58dffeeb44 100644 (file)
@@ -101,7 +101,7 @@ public class Common {
       int index = -1;
       int i;
       //double max_dist = FLT_MAX;
-      float max_dist = (float)3.40282347e+38;
+      float max_dist = (float)3.40282347e+38f;
       float limit = (float) 0.99999;
 
       /* Find the cluster center id with min distance to pt */
index b89dadddc892f762dd7cd58bc34f0cd8888da963..1bd4e17b643d5da62737451cf738bc90c5525c2a 100644 (file)
@@ -252,6 +252,7 @@ public class KMeans extends Thread {
 
     System.out.println("Finished Starting threads......");
 
+    long start=System.currentTimeMillis();
     for (int i = 0; i < nloops; i++) {
       /*
        * Since zscore transform may perform in cluster() which modifies the
@@ -270,6 +271,9 @@ public class KMeans extends Thread {
           kms,                    //main class that holds users inputs from command prompt and output arrays that need to be filled
           g_args);                // Global arguments common to all threads
     }
+    long stop=System.currentTimeMillis();
+    long diff=stop-start;
+    System.out.println("TIME="+diff);
 
     System.out.println("Printing output......");
     System.out.println("Best_nclusters= " + kms.best_nclusters);
index 25b425e11fe9213712a2cad201b1184029952b0c..cf44e3f68dac37c4c0bbe46703aa615c0bf34283 100644 (file)
@@ -110,9 +110,7 @@ public class Normal {
     int index, start, stop;
 
     start = myId * CHUNK;
-    System.out.println("myId= " + myId + " start= " + start + " npoints= " + npoints);
 
-    //    System.out.println("myId= " + myId + " start= " + start + " npoints= " + npoints);
     while (start < npoints) {
       stop = (((start + CHUNK) < npoints) ? (start + CHUNK) : npoints);
 
@@ -201,7 +199,7 @@ public class Normal {
 
     int loop = 0;
     do {
-      delta = (float) 0.0;
+      delta = 0.0f;
 
       args.feature         = feature;
       args.nfeatures       = nfeatures;
@@ -223,7 +221,7 @@ public class Normal {
       /* Replace old cluster centers with new_centers */
       for (int i = 0; i < nclusters; i++) {
         for (int j = 0; j < nfeatures; j++) {
-          if (new_centers_len[i] > 0) {
+          if (new_centers_len[i] >0) {
             clusters[i][j] = new_centers[i][j] / new_centers_len[i];
           }
           new_centers[i][j] = (float)0.0;   /* set back to 0 */
@@ -233,8 +231,6 @@ public class Normal {
 
       delta /= npoints;
 
-     System.out.println("delta= " + delta + " loop= " + loop);
-
     } while ((delta > threshold) && (loop++ < 500));
 
     return clusters;
index e402d775e1a4c2bed4666d465a7e5820e97c8990..1862c3b4ad2b9f482f12f5b5e7d4dbc29da8ca7c 100644 (file)
@@ -35,7 +35,6 @@ public class Random {
 
   public long random_generate() {
     long x= genrand_int32()&0xFFFFFFFFL;
-    System.out.println(x);
     return x;
   }
 
index 08e028bf177b6b910ce2ecb082d75f6208ca436e..d534b4bc257f85e9d5bc09cc3d75ffbeb1cf793a 100644 (file)
@@ -205,11 +205,10 @@ public class Labyrinth extends Thread{
             lb[i] = new Labyrinth(i,routerArg);
         }
 
-        long start = System.currentTimeMillis();
-
         for(int i = 1; i<labyrinth.numThread;i++) {
             lb[i].start();
         }
+        long start = System.currentTimeMillis();
 
         Barrier.enterBarrier();
         Router.solve(routerArg);        
@@ -217,6 +216,8 @@ public class Labyrinth extends Thread{
 
         /* End of Solve */
         long finish = System.currentTimeMillis();
+       long diff=finish-start;
+       System.out.println("TIME="+diff);
 
 
         int numPathRouted = 0;
index 2659558d3b8ce9297cb8173c571bb5e5c06034f3..bc2980f5c74cf40ed57b900e350069b1a79a887f 100644 (file)
@@ -20,12 +20,12 @@ include ../common/Makefile.flags
 include ../common/Makefile.builds
 
 prep:
-       cpp ${MAINCLASS}.java > tmp${MAINCLASS}.java
-       cpp Grid.java   > tmpGrid.java
-       cpp Router.java > tmpRouter.java
-       cpp Maze.java > tmpMaze.java
-       cpp Queue_t.java > tmpQueue_t.java
-       cpp Queue_Int.java > tmpQueue_Int.java
+       cpp -P ${MAINCLASS}.java > tmp${MAINCLASS}.java
+       cpp -P Grid.java        > tmpGrid.java
+       cpp -P Router.java > tmpRouter.java
+       cpp -P Maze.java > tmpMaze.java
+       cpp -P Queue_t.java > tmpQueue_t.java
+       cpp -P Queue_Int.java > tmpQueue_Int.java
        ./extractLines tmp${MAINCLASS}.java
        ./extractLines tmpGrid.java
        ./extractLines tmpRouter.java
index 4807004ebb5bb629c4c68b8027d2b4fcb81b6048..cea3701e49bc5f5460c27823cbab2b0b00cc6e66 100644 (file)
@@ -5,9 +5,11 @@ SRC=${MAINCLASS}.java \
        GridCell.java \
        LeeThread.java \
        WorkQueue.java 
-FLAGS=-mainclass ${MAINCLASS} -joptimize -debug -singleTM -optimize -dcopts -transstats -abcclose -stmstats
-default:
-       ../../../buildscript ${FLAGS} -o ${MAINCLASS} ${SRC}
+
+include ../common/Makefile.flags
+include ../common/Makefile.builds
+
+prep:
 
 clean:
        rm -rf tmpbuilddirectory
index a9d803dda225ed75e14f9e28f2f8066278d29cf2..5d4e9b772935debccfae27aa1973ece3103c7e1d 100644 (file)
@@ -52,7 +52,7 @@ public class ComputeGraph {
   public int global_maxNumVertices;
   public int global_outVertexListSize;
   public int[][] global_impliedEdgeList;
-  public Objectwrapper[] global_auxArr;
+  public int[][] global_auxArr;
 
   public ComputeGraph() {
     global_p                 = null;
@@ -121,7 +121,7 @@ public class ComputeGraph {
     }
 
   public void
-    prefix_sumsin (int myId, int numThread, int[] result, intwrapper[] input, int arraySize)
+    prefix_sumsin (int myId, int numThread, int[] result, int[] input, int arraySize)
     {
       int[]  p;
       if (myId == 0) {
@@ -401,7 +401,7 @@ public class ComputeGraph {
       if (myId == 0) {
        SDGdataPtr.startVertex = null;
        SDGdataPtr.endVertex = null;
-       GPtr.inDegree = new intwrapper[GPtr.numVertices];
+       GPtr.inDegree = new int[GPtr.numVertices];
        GPtr.inVertexIndex = new int[GPtr.numVertices];
       }
 
@@ -449,9 +449,9 @@ public class ComputeGraph {
        * MAX_CLUSTER_SIZE
        */
 
-      Objectwrapper[] auxArr;
+      int[][] auxArr;
       if (myId == 0) {
-        auxArr = new Objectwrapper[GPtr.numVertices];
+        auxArr = new int[GPtr.numVertices][];
         computeGraphArgs.global_auxArr = auxArr;
       }
 
@@ -488,7 +488,7 @@ public class ComputeGraph {
                  a = new int[MAX_CLUSTER_SIZE];
                  auxArr[v] = a;
                 } else {
-                 a = (int[]) auxArr[v];
+                 a = auxArr[v];
                 }
                 a[inDegree % MAX_CLUSTER_SIZE] = i;
               }
@@ -521,7 +521,7 @@ public class ComputeGraph {
               impliedEdgeList[i][j-GPtr.inVertexIndex[i]];
           } else {
            GPtr.inVertexList[j] =
-             ((int[])auxArr[i])[(j-GPtr.inVertexIndex[i]) % MAX_CLUSTER_SIZE];
+             (auxArr[i])[(j-GPtr.inVertexIndex[i]) % MAX_CLUSTER_SIZE];
           }
         }
       }
index 7b1ac28b83e186f7e183dd7b27e3e8480c325d21..6651374f4964f73f2bccefc44959b89a7c386dac 100644 (file)
@@ -14,7 +14,7 @@ public class Graph {
   public int[] outVertexList;
   public int[] paralEdgeIndex;
 
-  public intwrapper[] inDegree;
+  public int[] inDegree;
   public int[] inVertexIndex;
   public int[] inVertexList;
 
index 9ad9801f9e56ae30b5964074de6c7bdcc1a8d966..4cb6c8395c7f7c4c4f020b3e6e12ea16f4f171c7 100644 (file)
@@ -227,7 +227,7 @@ public class SSCA2 extends Thread {
     parallel_work_computeGraph(nthreads, glb, computeGraphArgs);
     stoptime=System.currentTimeMillis();
     System.out.println("\n\tcomputeGraph() completed execution.\n");
-    System.out.println("Time="+(stoptime-starttime));
+    System.out.println("TIME="+(stoptime-starttime));
 #endif
 
 #ifdef ENABLE_KERNEL2
index c57c0ee8b861233d433a2907292b9134620e33dd..017b2012aa96f4a1dce451d20bde7b0c66458192 100644 (file)
@@ -15,7 +15,7 @@ public class Simple extends Thread {
   public static void main(String[] args) {
     Simple[] s;
     Counting c;
-    int numthreads = 32;
+    int numthreads = 2;
 
     atomic {
       c = new Counting();
index f69eff24296b2a5956bef5ac23e82388591a16d8..1db8d0741cfd39d29cd0ee90b07d38fc188e4720 100644 (file)
@@ -1,7 +1,10 @@
 MAINCLASS=Simple
 SRC=${MAINCLASS}.java
-default:
-       ../../../buildscript -singleTM -optimize -mainclass ${MAINCLASS} ${SRC} -o ${MAINCLASS}
+
+include ../common/Makefile.flags
+include ../common/Makefile.builds
+
+prep:
 
 clean:
        rm -rf tmpbuilddirectory
index 900294a7a89e3aaa2a89cbbe16c5999b0a13b59a..af363ab2badf4054357f4b18e1e1fdb020ab5b0b 100644 (file)
@@ -287,22 +287,20 @@ public class Vacation {
 
     /* Run transactions */
     System.out.println("Running clients... ");
-    start=System.currentTimeMillis();
 
     Barrier.setBarrier(numThread);
 
     for(int i=1;i<numThread;i++) {
       clients[i].start();
     }
-    clients[0].run();
 
-    //    thread_start(client_run, clients);
-    
+    start=System.currentTimeMillis();
+    clients[0].run();
     stop=System.currentTimeMillis();
 
     System.out.print("done.");
     long diff=stop-start;
-    System.out.println("Time = "+diff);
+    System.out.println("TIME="+diff);
     vac.checkTables(managerPtr);
     
     /* Clean up */
index c296ff414dde08ef2093b36564f6117b36e4b450..ef109efc7827d08f991ef0a22cd1421584ceaebb 100644 (file)
@@ -1,8 +1,14 @@
-default: lock basestm lockjopt stmjopt stmopt fission
+default: lockjopt stmopt fission debug fissionarray dv
 
 lock: prep
        ../../../buildscript ${FLAGSLOCKNOJ} -o LOCKNOJ${MAINCLASS} ${SRC}
 
+lockprof: prep
+       ../../../buildscript ${FLAGSLOCKPROF} -o LOCKPROF${MAINCLASS} ${SRC}
+
+lockprofo0: prep
+       ../../../buildscript ${FLAGSLOCKPROFO0} -o LOCKPROFO0${MAINCLASS} ${SRC}
+
 basestm: prep
        ../../../buildscript ${FLAGSSTMNOJ} -o STMNOJ${MAINCLASS} ${SRC}
 
@@ -18,6 +24,12 @@ stmopt: prep
 fission: prep
        ../../../buildscript ${FLAGSFISSION} -o FIS${MAINCLASS} ${SRC}
 
+fissionarray: prep
+       ../../../buildscript ${FLAGSFISSIONARRAY} -o FISAR${MAINCLASS} ${SRC}
+
+dv: prep
+       ../../../buildscript ${FLAGSDV} -o DV${MAINCLASS} ${SRC}
+
 debug: prep
        ../../../buildscript ${FLAGSDEBUG} -o DEB${MAINCLASS} ${SRC}
 
index a46856e2716eb15dd91feb8600fa3be638cfd451..47963fb45492a54785bb69bc2cb793db3bad2898 100644 (file)
@@ -1,8 +1,12 @@
-FLAGSLOCK=-mainclass ${MAINCLASS} -thread -optimize -abcclose -64bit -debug -joptimize -arraypad
-FLAGSLOCKNOJ=-mainclass ${MAINCLASS} -thread -optimize -abcclose -64bit -debug -arraypad
+FLAGSLOCK=-mainclass ${MAINCLASS} -thread -optimize -abcclose -64bit -debug -joptimize -arraypad -builddir lock
+FLAGSLOCKNOJ=-mainclass ${MAINCLASS} -thread -optimize -64bit -debug -abcclose -arraypad
 FLAGSSTMNOJ=-mainclass ${MAINCLASS} -singleTM -optimize -64bit -debug -abcclose -transstats -arraypad
-FLAGSSTM=-mainclass ${MAINCLASS} -singleTM -optimize -joptimize -64bit -debug -abcclose -transstats -arraypad
-FLAGSOPTSTM=-mainclass ${MAINCLASS} -singleTM -optimize -joptimize -64bit -debug -abcclose -dcopts -transstats -arraypad -sandbox
-FLAGSFISSION=-mainclass ${MAINCLASS} -singleTM -delaycomp -optimize -joptimize -abcclose -64bit -debug -transstats -inlineatomic 2 -minimize -readset -arraypad -sandbox
+FLAGSSTM=-mainclass ${MAINCLASS} -singleTM -optimize -joptimize -64bit -debug -abcclose -transstats -arraypad -sandbox
+FLAGSOPTSTM=-mainclass ${MAINCLASS} -singleTM -optimize -joptimize -64bit -debug -abcclose -dcopts -transstats -arraypad -sandbox -builddir optstm
+FLAGSFISSION=-mainclass ${MAINCLASS} -singleTM -delaycomp -optimize -joptimize -abcclose -64bit -debug -transstats -inlineatomic 2 -minimize -readset -arraypad -sandbox -builddir fission
 FLAGSSTATS=-mainclass ${MAINCLASS} -singleTM -optimize -debug -joptimize -64bit -abcclose -dcopts -transstats -arraypad -stmstats
-FLAGSDEBUG=-mainclass ${MAINCLASS} -singleTM -delaycomp -nooptimize -joptimize -abcclose -64bit -debug -transstats -inlineatomic 2 -minimize -readset -arraypad -stmarray -profile -sandbox
+FLAGSDEBUG=-mainclass ${MAINCLASS} -singleTM -optimize -joptimize -64bit -debug -transstats -minimize -arraypad -stmarray -sandbox -dcopts -abcclose -inlineatomic 2 -builddir debug
+FLAGSLOCKPROF=-mainclass ${MAINCLASS} -thread -optimize -abcclose -64bit -debug -joptimize -arraypad
+FLAGSLOCKPROFO0=-mainclass ${MAINCLASS} -thread -optimize -abcclose -64bit -debug -joptimize -arraypad
+FLAGSFISSIONARRAY=-mainclass ${MAINCLASS} -singleTM -delaycomp -optimize -joptimize -abcclose -64bit -debug -transstats -inlineatomic 2 -minimize -arraypad -sandbox -stmarray -builddir fisar
+FLAGSDV=-mainclass ${MAINCLASS} -singleTM -delaycomp -optimize -joptimize -64bit -debug -transstats -inlineatomic 2 -minimize -readset -sandbox -stmarray -dualview -abcclose -builddir dv
index f305e5e02fd1da9a72fba9b6b21d5ab26cbea1a0..586020312fec8dc0b2bb5c2067023479f71376ae 100755 (executable)
@@ -17,4 +17,20 @@ cd ..
 
 cd Intruder
 make &
+cd ..
+
+cd Bayes
+make &
+cd ..
+
+cd Vacation
+make &
+cd ..
+
+cd Yada
+make &
+cd ..
+
+cd LeeRouting
+make &
 cd ..
\ No newline at end of file
index 2809b9430482b9f13b7baf99a2bf1c5b8ca0c83b..2a1d0d63fa233ebc117d381b168863af3e3ef2d7 100755 (executable)
@@ -8,58 +8,83 @@ args="$@"
 cd $dir
 echo ============================================================
 echo Running Fission $command $@
-for i in 1 2 3 4 5
+for i in 1
 do
 echo Trial $i
 time ./FIS$command $args
 done
 echo
 echo
-echo Running STM $command $@
-for i in 1 2 3 4 5
+echo Running Fission Array $command $@
+for i in 1
 do
 echo Trial $i
-#time ./STM$command $args
+time ./FISAR$command $args
 done
 echo
 echo
-echo Running Optimized STM $command $@
-for i in 1 2 3 4 5
+echo Running Debug Array $command $@
+for i in 1
 do
 echo Trial $i
-#time ./OPTSTM$command $args
+time ./DEB$command $args
 done
 echo
 echo
-echo Running Lock $command $@
-for i in 1 2 3 4 5
+#echo Running STM $command $@
+#for i in 1
+#do
+#echo Trial $i
+#time ./STM$command $args
+#done
+#echo
+#echo
+echo Running Optimized STM $command $@
+for i in 1
 do
 echo Trial $i
-time ./LOCK$command $args
+time ./OPTSTM$command $args
 done
 echo
 echo
-echo Running No JOPTIMIZE STM $command $@
-for i in 1 2 3 4 5
+echo Running Lock $command $@
+for i in 1
 do
 echo Trial $i
-#time ./STMNOJ$command $args
+time ./LOCK$command $args
 done
 echo
 echo
-echo Running No JOPTIMIZE Lock $command $@
-for i in 1 2 3 4 5
+echo Running DV $command $@
+for i in 1
 do
 echo Trial $i
-time ./LOCKNOJ$command $args
+time ./DV$command $args
 done
 echo
 echo
+#echo Running No JOPTIMIZE STM $command $@
+#for i in 1
+#do
+#echo Trial $i
+#time ./STMNOJ$command $args
+#done
+#echo
+#echo
+#echo Running No JOPTIMIZE Lock $command $@
+#for i in 1
+#do
+#echo Trial $i
+#time ./LOCKNOJ$command $args
+#done
+#echo
+#echo
 cd ..
 }
 #get plenty of stack space
 ulimit -s 45000
 
+
 #Kmeans
 #run KMeans KMeans.bin -m 15 -n 15 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 1
 #run KMeans KMeans.bin -m 15 -n 15 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 2
@@ -67,16 +92,16 @@ ulimit -s 45000
 #run KMeans KMeans.bin -m 15 -n 15 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 8
 
 #Kmeans low
-#run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 1
-#run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 2
-#run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 4
-#run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 8
+run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 1
+run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 2
+run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 4
+run KMeans KMeans.bin -m 40 -n 40 -t 0.00001 -i inputs/random-n65536-d32-c16.txt -nthreads 8
 
 #Labrynth
-#run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 1
-#run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 2
-#run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 4
-#run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 8
+run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 1
+run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 2
+run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 4
+run Labyrinth3D Labyrinth.bin -i inputs/random-x512-y512-z7-n512.txt -t 8
 
 #SSCA2
 run SSCA2 SSCA2.bin -s 20 -i 1.0 -u 1.0 -l 3 -p 3 -t 1
@@ -85,13 +110,37 @@ run SSCA2 SSCA2.bin -s 20 -i 1.0 -u 1.0 -l 3 -p 3 -t 4
 run SSCA2 SSCA2.bin -s 20 -i 1.0 -u 1.0 -l 3 -p 3 -t 8
 
 #Genome
-#run Genome Genome.bin -g 8192 -s 32 -n 167721 -t 1
-#run Genome Genome.bin -g 8192 -s 32 -n 167721 -t 2
-#run Genome Genome.bin -g 8192 -s 32 -n 167721 -t 4
-#run Genome Genome.bin -g 8192 -s 32 -n 167721 -t 8
+run Genome Genome.bin -g 8192 -s 64 -n 16777216 -t 1
+run Genome Genome.bin -g 8192 -s 64 -n 16777216 -t 2
+run Genome Genome.bin -g 8192 -s 64 -n 16777216 -t 4
+run Genome Genome.bin -g 8192 -s 64 -n 16777216 -t 8
+
+#Vacation
+run Vacation Vacation.bin -n 4 -q 60 -u 90 -r 1048576 -t 4194304 -c 1
+run Vacation Vacation.bin -n 4 -q 60 -u 90 -r 1048576 -t 4194304 -c 2
+run Vacation Vacation.bin -n 4 -q 60 -u 90 -r 1048576 -t 4194304 -c 4
+run Vacation Vacation.bin -n 4 -q 60 -u 90 -r 1048576 -t 4194304 -c 8
+
+#Yada
+run Yada yada.bin -a 15 -i input/ttimeu100000.2 -t 1
+run Yada yada.bin -a 15 -i input/ttimeu100000.2 -t 2
+run Yada yada.bin -a 15 -i input/ttimeu100000.2 -t 4
+run Yada yada.bin -a 15 -i input/ttimeu100000.2 -t 8
+
+#Intruder
+run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 1
+run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 2
+run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 4
+run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 8
 
-#run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 1
-#run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 2
-#run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 4
-#run Intruder Intruder.bin -a 10 -l 128 -n 262144 -s 1 -t 8
+#LeeRouting
+run LeeRouting LeeRouter.bin 1 sparselong.txt
+run LeeRouting LeeRouter.bin 2 sparselong.txt
+run LeeRouting LeeRouter.bin 4 sparselong.txt
+run LeeRouting LeeRouter.bin 8 sparselong.txt
 
+#Bayes
+run Bayes Bayes.bin -v 24 -r 1024 -n 2 -p 20 -s 0 -i 2 -e 2 -t 1
+run Bayes Bayes.bin -v 24 -r 1024 -n 2 -p 20 -s 0 -i 2 -e 2 -t 2
+run Bayes Bayes.bin -v 24 -r 1024 -n 2 -p 20 -s 0 -i 2 -e 2 -t 4
+run Bayes Bayes.bin -v 24 -r 1024 -n 2 -p 20 -s 0 -i 2 -e 2 -t 8
index 2c00241650ba4bfadcc89e589ee6c56df8beceaf..b51c20b87843790e30fd43b125a2e540c8ec2a23 100644 (file)
@@ -152,7 +152,7 @@ wc:
        wc Interface/*.java Analysis/*/*.java IR/*.java IR/*/*.java Lex/*.java Util/*.java ClassLibrary/*.java
 
 wcrun:
-       wc Runtime/*.[c,h] Runtime/DSTM/interface/*.[c,h]
+       wc Runtime/*.[c,h] Runtime/DSTM/interface/*.[c,h] Runtime/STM/*.[c,h]
 
 Parse/Parser.java Parse/Sym.java: Parse/java14.cup
        cd Parse && \
index f555f9fab969b21e2a8c193ca8aebeb441d93a75..09a2c52a5fbd95548cc05f2e0da93f61951e722b 100755 (executable)
@@ -7,7 +7,7 @@ shift
 dir=`pwd`
 
 echo Doing Test $ARG1
-../buildscript -debug -joptimize -robustroot ${dir}/../ -mainclass $ARG1 $ARG2 -o $ARG1
+../buildscript -64bit -debug -joptimize -robustroot ${dir}/../ -mainclass $ARG1 $ARG2 -o $ARG1
 $ARG1.bin $@ &> output/$ARG1.output
 diff output/$ARG1.output output/$ARG1.output.goal
 rm $ARG1.bin