Synopsis: mpirun estimate_runs_diagonal_distribution \
[ -v-bound <v-bound> ] [ -delta-bound <delta-bound> ] \
[ -eta-bound <eta-bound> ] \
<distribution> { <distribution> }
Estimates the number of runs required to solve a diagonal distribution for the logarithm
This when accepting to search all combinations of peak indices
The results are written to the console and to logs/estimate-runs-diagonal.txt
.
Note: This is an MPI program. The node with rank zero acts as server. All other nodes are clients, requesting jobs from and reporting back to the server node. A minimum of two nodes is hence required.
Arguments <distribution>
where
<distribution>
is the path to a distribution
Flag specifying the bound
-
-v-bound <v-bound>
sets the bound$B_v$ to<v-bound>
Flag specifying the search bound DELTA_BOUND
):
-
-delta-bound <eta-bound>
sets$B_\Delta$ to<eta-bound>
All
$\Delta \in [-B_\Delta, B_\Delta] \cap \mathbb Z$ are searched when sampling$k$ given$j$ and$\eta$ .
Flag specifying the search bound
-
-eta-bound <eta-bound>
sets$B_\eta$ to<eta-bound>
All
$\eta_i \in [-B_\eta, B_\eta] \cap \mathbb Z$ are searched when sampling$j_i$ and$\eta_i$ .
The log file logs/estimate-runs-diagonal.txt
is on the format
# Processing: diagonal-distribution-det-dim-2048-m-2048-sigma-12-s-30.txt
# Bounds: (eta = <all> (0), delta = 1000000, v = 2)
# Timestamp: 2024-02-29 08:47:24 CET
m: 2048 sigma: 12 s: 30 n: 30 -- tau: 6.049514 v: 5.21266E+67 <1461>
m: 2048 sigma: 12 s: 30 n: 31 -- tau: 6.028474 v: 1.49257E+49 <1467>
m: 2048 sigma: 12 s: 30 n: 34 -- tau: 6.141849 v: 2.13424E-05 <1583>
m: 2048 sigma: 12 s: 30 n: 33 -- tau: 6.103036 v: 1.75424E+13 <1557>
where we find
-
$m$ is the bit length of the order$r$ , -
$\varsigma$ is the bit length of the padding, -
$s$ is the tradeoff factor such that$\ell = \lceil m / s \rceil$ , if$s$ was specified when the distribution was generated, otherwise$\ell$ is explicitly stated instead, -
$n$ is the number of runs, -
$\tau$ is a value related to the radius$R$ , -
$v$ is the number of vectors that we at most expect to have to enumerate, and - #errors is the number of sets of
$n$ simulated outputs for which$R$ was set to infinity due to sampling errors.
Note that the executable first computes estimates for