|
|
@@ -48,8 +48,9 @@ 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
|
|
|
@@ -71,6 +72,7 @@ if ["$5" = "3P"]; then
|
|
|
|
|
|
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
|
|
|
@@ -88,4 +90,8 @@ if ["$5" = "3P"]; then
|
|
|
docker exec -w /root/duoram/preprocessing duoram_p1 rm -f $savefilep1
|
|
|
date "+===== End %s %F %T"
|
|
|
fi
|
|
|
-fi
|
|
|
+fi
|
|
|
+
|
|
|
+if ["$5" = "2P"]; then
|
|
|
+ echo ===== Running 2P-duoram online
|
|
|
+fi
|