Compare commits
2 Commits
a55a8d4c2e
...
b8835a74e1
Author | SHA1 | Date | |
---|---|---|---|
b8835a74e1 | |||
43ac4821fc |
4
run.sh
4
run.sh
@ -30,9 +30,9 @@
|
||||
|
||||
# 这个存在问题
|
||||
DIR=/pub/data/chenzh/data/sat2022
|
||||
INSTANCE=d87714e099c66f0034fb95727fa47ccc-Wallace_Bits_Fast_2.cnf.cnf
|
||||
INSTANCE=3d2a6e5c2f8f58dee79fd50444009625-cfi-rigid-z2-0088-03-or_2_shuffle_all.cnf
|
||||
|
||||
make -j 16 && mpirun --bind-to none -np 9 --allow-run-as-root ./light -i $DIR/$INSTANCE --shuffle=1 --share=1 --threads=16 --times=3600 --share_method=0
|
||||
make -j 16 && mpirun --bind-to none -np 9 --allow-run-as-root ./light -i $DIR/$INSTANCE --shuffle=1 --share=1 --threads=16 --times=3600 --share_method=1
|
||||
|
||||
|
||||
|
||||
|
@ -326,9 +326,6 @@ void sharer::init_tree_transmission(std::vector<std::vector<int>> &sharing_group
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MPI_Barrier(MPI_COMM_WORLD);
|
||||
|
||||
}
|
||||
|
||||
void sharer::init_circular_transmission(std::vector<std::vector<int>> &sharing_groups) {
|
||||
|
@ -191,10 +191,13 @@ int light::solve() {
|
||||
s->producers.push(workers[j]);
|
||||
s->consumers.push(workers[j]);
|
||||
}
|
||||
printf("==============run1============\n");
|
||||
s->clause_sharing_init(sharing_groups);
|
||||
printf("==============run2============\n");
|
||||
}
|
||||
|
||||
while (!terminated) {
|
||||
|
||||
usleep(500000);
|
||||
|
||||
if(OPT(share)) s->do_clause_sharing();
|
||||
|
Loading…
x
Reference in New Issue
Block a user