-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsym.sh
executable file
·30 lines (23 loc) · 982 Bytes
/
sym.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/perl
#!/bin/perl
@matrices = ("wind","bone010","GHS_psdef-ldoor","kkt_power","grid3d-200","nlpkkt200");
@rblock = ("2","4","8");
@procs = ("1","2","4","8","16");
foreach $matrices (@matrices)
{
foreach $rblock (@rblock)
{
foreach $procs (@procs)
{
$str = "CILK_NPROC=$procs numactl --cpunodebind 0 ./spmv_r$rblock ../BinaryMatrices/$matrices.bin nosym binary";
print $str;
system($str);
$str = "CILK_NPROC=$procs numactl --cpunodebind 0 ./spmv_r$rblock ../BinaryMatrices/$matrices\_rcm.bin nosym binary";
print $str;
system($str);
$str = "CILK_NPROC=$procs numactl --cpunodebind 0 ./sym_r$rblock ../BinaryMatrices/$matrices\_rcm.bin nosym binary";
print $str;
system($str);
}
}
}