Compare commits
No commits in common. "895cd02778d0e8463bc045c9bd569a050a631a65" and "0fa24404e5b8df4e8bf3adc4d2a32600fb2f93d1" have entirely different histories.
895cd02778
...
0fa24404e5
21
README.org
21
README.org
@ -109,24 +109,3 @@ Notice that you can give a path for ctf for all of them by doing
|
||||
#+begin_src sh :eval no
|
||||
../../tools/configure-benches.sh --with-ctf=/absolute/path/to/ctf
|
||||
#+end_src
|
||||
|
||||
* Running benches
|
||||
|
||||
** Main benchmark
|
||||
|
||||
The main benchmark gets built in =bench/main= and is used to run an
|
||||
atrip run with random tensors.
|
||||
|
||||
A common run of this script will be the following
|
||||
|
||||
#+begin_src sh
|
||||
bench/main \
|
||||
--no 100 \
|
||||
--nv 1000 \
|
||||
--mod 1 \
|
||||
--% 0 \
|
||||
--dist group \
|
||||
--nocheckpoint \
|
||||
--max-iterations 1000
|
||||
#+end_src
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
int main(int argc, char** argv) {
|
||||
MPI_Init(&argc, &argv);
|
||||
|
||||
size_t checkpoint_it, max_iterations;
|
||||
size_t checkpoint_it;
|
||||
int no(10), nv(100), itMod(-1), percentageMod(10);
|
||||
float checkpoint_percentage;
|
||||
bool
|
||||
@ -30,9 +30,6 @@ int main(int argc, char** argv) {
|
||||
app.add_option("--no", no, "Occupied orbitals");
|
||||
app.add_option("--nv", nv, "Virtual orbitals");
|
||||
app.add_option("--mod", itMod, "Iteration modifier");
|
||||
app.add_option("--max-iterations",
|
||||
max_iterations,
|
||||
"Maximum number of iterations to run");
|
||||
app.add_flag("--keep-vppph", keepVppph, "Do not delete Vppph");
|
||||
app.add_flag("--nochrono", nochrono, "Do not print chrono");
|
||||
app.add_flag("--rank-round-robin", rankRoundRobin, "Do rank round robin");
|
||||
@ -202,7 +199,6 @@ int main(int argc, char** argv) {
|
||||
.with_iterationMod(itMod)
|
||||
.with_percentageMod(percentageMod)
|
||||
.with_tuplesDistribution(tuplesDistribution)
|
||||
.with_maxIterations(max_iterations)
|
||||
// checkpoint options
|
||||
.with_checkpointAtEveryIteration(checkpoint_it)
|
||||
.with_checkpointAtPercentage(checkpoint_percentage)
|
||||
|
||||
@ -86,7 +86,7 @@ namespace atrip {
|
||||
ADD_ATTRIBUTE(bool, rankRoundRobin, false)
|
||||
ADD_ATTRIBUTE(bool, chrono, false)
|
||||
ADD_ATTRIBUTE(bool, barrier, false)
|
||||
ADD_ATTRIBUTE(size_t, maxIterations, 0)
|
||||
ADD_ATTRIBUTE(int, maxIterations, 0)
|
||||
ADD_ATTRIBUTE(int, iterationMod, -1)
|
||||
ADD_ATTRIBUTE(int, percentageMod, -1)
|
||||
ADD_ATTRIBUTE(TuplesDistribution, tuplesDistribution, NAIVE)
|
||||
|
||||
@ -773,8 +773,6 @@ Atrip::Output Atrip::run(Atrip::Input<F> const& in) {
|
||||
Atrip::chrono["iterations"].stop();
|
||||
// ITERATION END %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%{{{1
|
||||
|
||||
if (in.maxIterations != 0 && i >= in.maxIterations) break;
|
||||
|
||||
}
|
||||
// END OF MAIN LOOP
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user