Repository: systemml
Updated Branches:
  refs/heads/master a725b2d2e -> e4c74eda6


[HOTFIX] minor bug fix in perf test suite


Project: http://git-wip-us.apache.org/repos/asf/systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/e4c74eda
Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/e4c74eda
Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/e4c74eda

Branch: refs/heads/master
Commit: e4c74eda67ca4596fcdbae77603514259c1b6e10
Parents: a725b2d
Author: Nakul Jindal <[email protected]>
Authored: Thu Sep 28 15:43:44 2017 -0700
Committer: Nakul Jindal <[email protected]>
Committed: Thu Sep 28 15:43:44 2017 -0700

----------------------------------------------------------------------
 scripts/perftest/python/run_perftest.py | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/systemml/blob/e4c74eda/scripts/perftest/python/run_perftest.py
----------------------------------------------------------------------
diff --git a/scripts/perftest/python/run_perftest.py 
b/scripts/perftest/python/run_perftest.py
index f0b272a..4eeb0da 100755
--- a/scripts/perftest/python/run_perftest.py
+++ b/scripts/perftest/python/run_perftest.py
@@ -378,6 +378,12 @@ if __name__ == '__main__':
     perftest_args_dict, systemml_args_dict, backend_args_dict = 
split_config_args(all_arg_dict)
 
     # temp_dir hdfs / local path check
+    if args.file_system_type is None:
+        if args.exec_type == 'hybrid_spark':
+            args.file_system_type = 'hdfs'
+        else:
+            args.file_system_type = 'local'
+            
     perftest_args_dict['temp_dir'] = get_default_dir(args.file_system_type, 
args.temp_dir, args.exec_type, default_config_dir)
 
     # default_mat_type validity

Reply via email to