Skip to content

Commit

Permalink
correct ranks in microbenchmark scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
solomonik committed Nov 25, 2018
1 parent 38891a3 commit 5857059
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions script/script_strongscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
# dim = 6
# size = int(30*nodes**(1./dim))

text_file.write("ibrun %s -model CP -tensor r -dim 6 -size 50 -rank 5 -maxiter 5 -filename CP_r_nodes=%s_processes=%s_dim=6_size=50_rank=5_bench.csv -resprint 1\n" % (exe,nodes,mpitask))
text_file.write("ibrun %s -model Tucker -tensor r2 -dim 6 -size 50 -rank 4 -maxiter 5 -filename Tucker_r2_nodes=%s_processes=%s_dim=6_size=50_rank=4_bench.csv -resprint 1\n" % (exe,nodes,mpitask))
text_file.write("ibrun %s -model CP -tensor r -dim 6 -size 50 -rank 6 -maxiter 5 -filename CP_r_nodes=%s_processes=%s_dim=6_size=50_rank=6_bench.csv -resprint 1\n" % (exe,nodes,mpitask))
text_file.write("ibrun %s -model Tucker -tensor r2 -dim 6 -size 50 -rank 6 -maxiter 5 -filename Tucker_r2_nodes=%s_processes=%s_dim=6_size=50_rank=6_bench.csv -resprint 1\n" % (exe,nodes,mpitask))


text_file.close()
4 changes: 2 additions & 2 deletions script/script_weakscaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
rank = int(4*nodes**(1./6))

text_file.write("ibrun test_suite\n")
text_file.write("ibrun %s -model CP -tensor r -dim 6 -size %s -rank %s -maxiter 5 -filename CP_r_nodes=%s_processes=%s_dim=6_size=%s_rank=5_bench.csv -resprint 1\n" % (exe,size,rank,nodes,mpitask,size))
text_file.write("ibrun %s -model Tucker -tensor r2 -dim 6 -size %s -rank %s -maxiter 5 -filename Tucker_r2_nodes=%s_processes=%s_dim=6_size=%s_rank=4_bench.csv -resprint 1\n" % (exe,size,rank,nodes,mpitask,size))
text_file.write("ibrun %s -model CP -tensor r -dim 6 -size %s -rank %s -maxiter 5 -filename CP_r_nodes=%s_processes=%s_dim=6_size=%s_rank=%s_bench.csv -resprint 1\n" % (exe,size,rank,nodes,mpitask,size,rank))
text_file.write("ibrun %s -model Tucker -tensor r2 -dim 6 -size %s -rank %s -maxiter 5 -filename Tucker_r2_nodes=%s_processes=%s_dim=6_size=%s_rank=%s_bench.csv -resprint 1\n" % (exe,size,rank,nodes,mpitask,size,rank))


text_file.close()

0 comments on commit 5857059

Please sign in to comment.