mboehm7 commented on a change in pull request #1357:
URL: https://github.com/apache/systemds/pull/1357#discussion_r682014463
##########
File path: scripts/perftest/runAll.sh
##########
@@ -20,11 +20,67 @@
#
#-------------------------------------------------------------
+#if [ "$1" == "" -o "$2" == "" ]; then echo "Usage: $0 <hdfsDataDir> <MR |
SPARK | ECHO> e.g. $0 perftest SPARK" ; exit 1 ; fi
-# Micro Benchmarks:
+# Example usage:
+# ./runAll.sh temp MR
-./scripts/perftest/MatrixMult.sh
-./scripts/perftest/MatrixTranspose.sh
+# First argument is optional, but can be e.g. perftestTemp
+TEMPFOLDER=$1
+if [ "$TEMPFOLDER" == "" ]; then TEMPFOLDER=temp ; fi
-# Algorithms Benchmarks:
+# Second argument is optional, but can be MR | SPARK | ECHO
+COMMAND=$2
+if [ "$COMMAND" == "" ]; then COMMAND=MR ; fi
+
+# Set properties
+export LOG4JPROP='conf/log4j-off.properties'
+export SYSDS_QUIET=1
+#export SYSTEMDS_ROOT=$(pwd)
+#export PATH=$SYSTEMDS_ROOT/bin:$PATH
+
+
+# Initialize Intel MKL
Review comment:
either way is fine, if there is just a single README people will find it
too. Otherwise having it in runAll as comment is also ok.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]