DavidSandruTU commented on a change in pull request #1357:
URL: https://github.com/apache/systemds/pull/1357#discussion_r680544056
##########
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:
You mean these three lines?
- . ~/intel/bin/compilervars.sh intel64
- . ~/intel/oneapi/setvars.sh intel64
- . /opt/intel/bin/compilervars.sh intel64
Would it maybe be better if I just mention these three lines in the README
near the requirements?
--
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]