|
|
@@ -48,9 +48,8 @@ echo ===== Running duoram $mode $size $iters
|
|
|
date "+===== Start %s %F %T"
|
|
|
|
|
|
if ["$5" = "3P"]; then
|
|
|
- echo ===== Running 3P-duoram $mode $size $iters
|
|
|
+
|
|
|
if [ "$4" = "online" ]; then
|
|
|
- echo ===== Running 3P-duoram online $mode $size $iters
|
|
|
# Run, saving the output
|
|
|
savefilep2=$$.p2.out
|
|
|
savefilep0=$$.p1.out
|
|
|
@@ -70,9 +69,10 @@ if ["$5" = "3P"]; then
|
|
|
date "+===== End %s %F %T"
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
+
|
|
|
if [ "$4" = "preproc" ]; then
|
|
|
# Run, saving the output
|
|
|
- echo ===== Running 3P-duoram preprocessing $mode $size $iters
|
|
|
savefilep2=$$.p2.out
|
|
|
savefilep0=$$.p1.out
|
|
|
savefilep1=$$.p0.out
|
|
|
@@ -90,8 +90,4 @@ if ["$5" = "3P"]; then
|
|
|
docker exec -w /root/duoram/preprocessing duoram_p1 rm -f $savefilep1
|
|
|
date "+===== End %s %F %T"
|
|
|
fi
|
|
|
-fi
|
|
|
-
|
|
|
-if ["$5" = "2P"]; then
|
|
|
- echo ===== Running 2P-duoram online
|
|
|
-fi
|
|
|
+fi
|