Debian Codegraph @

README

raw
1 * [[https://www.mersenneforum.org/mayer/README.html][Mlucas 20.1.1]]
2
3 mlucas is an open-source (and free/libre) program for performing Lucas-Lehmer
4 test on prime-exponent Mersenne numbers, that is, integers of the form
5 2 ^ p - 1, with prime exponent p. In short, everything you need to search for
6 world-record Mersenne primes! It has been used in the verification of various
7 Mersenne primes, including the 45th, 46th, 48th, 49th and 50th found Mersenne
8 prime.
9
10 You may use it to test any suitable number as you wish, but it is preferable
11 that you do so in a coordinated fashion, as part of the Great Internet Mersenne
12 Prime Search ([[https://www.mersenne.org/primes/][GIMPS]]).
13
14 ** Usage
15
16 [[https://www.mersenneforum.org/mayer/README.html][Online documentation]] is available.
17 The help text can be found in the source code file:./upstream/help.txt
18 On a Debian system, the help text is also installed as
19 file:/usr/share/doc/mlucas/help.txt.gz
20
21 ** Installation
22
23 Run
24
25 #+BEGIN_SRC
26 ./configure
27 make
28 make check
29 make install
30 #+END_SRC
31
32 to complete the installation.
33
34 Normally, the configure script should guess your system configuration.
35 However, you can always override it by passing flags to the configure script.
36
37 Running test is optional. Run it if you want to be on the safe side.
38
39 Below is a summary of notable options understood by the configure script.
40 You can see all options by running ~./configure -h~.
41
42 ** Options
43
44 Run
45
46 #+BEGIN_SRC
47 ./configure -h
48 #+END_SRC
49
50 to see all options.
51
52 ** Licensing
53
54 Most of the files are licensed under the GNU General Public License version 2
55 or later. Other files are under permissive licenses or in the public domain.
56
57 See file:COPYING for details regarding licensing.
58
59 ** Bugs
60
61 [FIXME: This section is potentially outdated]
62
63 The argument parser is buggy. The relative position of arguments is relevant
64 to mlucas, the order of arguments in SYNOPSIS in mlucas(1) should be followed
65 to avoid confusing the parser. Only 100, 1000 and 10000 are supported for
66 iters flag. However, the parser will not reject unsupported arguments. Using
67 unsupported arguments for -iters flag may trigger strange behaviour.
68
69 For problems regarding the program mlucas, please contact the author
70 Ernst W. Mayer <ewmayer AT aol DOT com>.
71 For installation and documentation related problems regarding this package
72 and this file:README, please contact
73 Alex Vong <alexvong1995 AT protonmail DOT com>.
74
75 See BUGS section in mlucas(1) for details.
76
77 ** ROADMAP
78
79 [FIXME: This section is potentially outdated]
80
81 - simplify to reduce maintenance burden
82 + replace autogen by guile
83 + remove useless, duplicate files
84
85 - documentation
86 + use org-mode in various plain text files
87 + replace pod with something lispy
88
89 - configure script
90 + use sane defaults
91 + remove normal cflags, tricky flags
92 + detect if compilers support certain flags in configure script
93
94 - respect freedesktop standard
95 + use file:~/.local/share/mlucas/ instead of file:~/.mlucas.d/
96
97 - revert previous changes
98 + replace use of ~mlucas_fopen()~ by ~fopen()~
99 + and use ~chdir()~ instead
100 + replace use of ~system("mkdir -p ...")~ with ~mkdir_p()~ from busybox
101 + hence we can remove ~shell_quote()~ and friends
102
103 - find out memory bugs
104 + asan
105 + ubsan
106 + valgrind
107
108 ** Copyright
109
110 README - readme for Mlucas
111 Copyright (C) 2015-2021 Alex Vong <alexvong1995 AT protonmail DOT com>
112
113 This program is free software; you can redistribute it and/or
114 modify it under the terms of the GNU General Public License
115 as published by the Free Software Foundation; either version 2
116 of the License, or (at your option) any later version.
117
118 This program is distributed in the hope that it will be useful,
119 but WITHOUT ANY WARRANTY; without even the implied warranty of
120 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
121 GNU General Public License for more details.
122
123 You should have received a copy of the GNU General Public License
124 along with this program; if not, write to the Free Software Foundation,
125 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.