Unofficial mirror of Mlucas using autotools as build system. Please visit the author's homepage http://www.mersenneforum.org/mayer/README.html for more information.

Alex Vong cc08b5d4c6 Add new architecture: arm64/aarch64. 7 tahun lalu
COPYING.d 876dd02282 Merge branch 'ci' 9 tahun lalu
am 3a485ce5bd Move 'manpage.pl' from 'scripts/' to 'build-aux/'. 7 tahun lalu
build-aux d1a47681cd Change 'echo' to 'printf' to increase portability. 7 tahun lalu
doc 3a485ce5bd Move 'manpage.pl' from 'scripts/' to 'build-aux/'. 7 tahun lalu
html d5fed6cd9c Update html/README.html to revision 07 Feb 2016. 7 tahun lalu
patch 8808ab3e80 simplify the .gitignore files 9 tahun lalu
scripts d1a47681cd Change 'echo' to 'printf' to increase portability. 7 tahun lalu
src cc08b5d4c6 Add new architecture: arm64/aarch64. 7 tahun lalu
.gitignore 8808ab3e80 simplify the .gitignore files 9 tahun lalu
.gitlab-ci.yml eb0b5c1f50 add .gitlab-ci.yml 9 tahun lalu
AUTHORS 458fb9c17d add one of the authors Jason Papadopoulos's email 9 tahun lalu
COPYING 8dc0d7e86a Update COPYING. 7 tahun lalu
ChangeLog c5be1b6a06 Add copyright notice to ChangeLog. 7 tahun lalu
INSTALL beecbb34d0 add some (incomplete) documentation and some GNU standard required files 9 tahun lalu
Makefile.am 8ef72554a4 add license header or footer to all files 9 tahun lalu
Makefile.in 3a485ce5bd Move 'manpage.pl' from 'scripts/' to 'build-aux/'. 7 tahun lalu
NEWS 3005b6facc Update NEWS to revision 07 Feb 2016. 7 tahun lalu
README 55e10ab6f5 Update mlucas version from '14.1' to '14.2'. 7 tahun lalu
aclocal.m4 4a9f5a8c7a upgrade autotools to the version in Debian Sid 9 tahun lalu
bootstrap d1a47681cd Change 'echo' to 'printf' to increase portability. 7 tahun lalu
compile bc89501275 update autotools-generated files 8 tahun lalu
config.guess bc89501275 update autotools-generated files 8 tahun lalu
config.h.in 26799140bd make thread-support optional, add comments, quote shell code properly 9 tahun lalu
config.sub bc89501275 update autotools-generated files 8 tahun lalu
configure 55e10ab6f5 Update mlucas version from '14.1' to '14.2'. 7 tahun lalu
configure.ac 55e10ab6f5 Update mlucas version from '14.1' to '14.2'. 7 tahun lalu
install-sh bc89501275 update autotools-generated files 8 tahun lalu
missing bc89501275 update autotools-generated files 8 tahun lalu
test-driver bc89501275 update autotools-generated files 8 tahun lalu

README

Mlucas 14.2

mlucas is an open-source (and free/libre) program
for performing Lucas-Lehmer test on prime-exponent Mersenne numbers,
that is, integers of the form 2 ^ p - 1, with prime exponent p.
In short, everything you need to search for world-record Mersenne primes!
It has been used in the verification of various Mersenne primes,
including the 45th, 46th and 48th found Mersenne prime.

You may use it to test any suitable number as you wish,
but it is preferable that you do so in a coordinated fashion,
as part of the Great Internet Mersenne Prime Search (GIMPS).
For more information on GIMPS,
see for details.

Menu:
Installation
Usage
News
Licensing
Bugs
Copyright

Installation:
Generic installation guide can be found in INSTALL.

Basically, the 5 steps
1. $ mkdir build && cd build
2. $ ../configure
3. $ make -j
or $ make
4. $ make check
5. $ make install
will complete the installation.

Normally, configure should guess your system configuration.
However, you can always override it by passing flags to configure.

Running test in step 4 is optional.
Run it if you want to be safe or have passed flags to configure.

Below is a summary of the custom options understood by configure.
You can read all options by running `$ ../configure -h' in step 2

Custom Options:
(please note that all options mentioned below does NOT override one another)

--enable-NORMAL-CFLAGS='FOO' or --disable-NORMAL-CFLAGS
set CFLAGS for normal source files to FOO or nothing
['-Os']
--enable-TRICKY-CFLAGS='FOO' or --disable-TRICKY-CFLAGS
set CFLAGS for optimization-sensitive source files
to FOO or nothing ['-O1']
CFLAGS='FOO' set CFLAGS for all source files to FOO ['']
CPPFLAGS='FOO' set CPPFLAGS for all source files to FOO ['']
LDFLAGS='FOO' set LDFLAGS for all linking to FOO ['']
--host='FOO' skip autodetection and force detecting host as FOO
(set --host=none to disable host-specific
compilation flags)
--enable-instruction=[SSE2|AVX|AVX2] or --disable-instruction
build with SSE2, AVX, AVX2 or without extended
instruction set
--disable-threads force building without multithread-support
--enable-MLUCAS-DEFAULT-PATH
set MLUCAS_DEFAULT_PATH (unset by default) to
"$HOME/.mlucas.d/"
--disable-silent-rules increase make verbosity
--enable-verbose-compiler
enable verbose compiler

End of Custom Options

Usage:
For local documentation, please refer to html/README.html
For online documentation, please refer to
http://hogranch.com/mayer/README.html
To show the help menu of Mlucas, enter
$ /mlucas -h
After installation, you can read the man page by
$ man mlucas

News:
To read news taken from html/README.html in plain text, see NEWS.

Licensing:
Most of the files are licensed under
the GNU General Public License version 2 or later.
Other files are under permissive licenses or in the public domain.
All files except empty files or generated data
should have a license header or footer.
If not, please send a bug report (see section Bugs for details).

See COPYING for details regarding licensing.

Bugs:
The argument parser is buggy. The relative position of arguments is
relevant to mlucas, the order of arguments in SYNOPSIS in mlucas(1)
should be followed to avoid confusing the parser.
Only 100, 1000 and 10000 are supported for -iters flag. However,
the parser will not reject unsupported arguments. Using
unsupported arguments for -iters flag may trigger strange behaviour.

For problems regarding the program mlucas, please contact the author
Ernst W. Mayer . For installation and documentation
related problems regarding this package and this README, please
contact Alex Vong .

See BUGS section in mlucas(1) for details.

Copyright:
README - readme for Mlucas
Copyright (C) 2015, 2017 Alex Vong

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.