|
@@ -33,7 +33,7 @@ Building
|
|
|
--------
|
|
--------
|
|
|
|
|
|
|
|
1. Download and install:
|
|
1. Download and install:
|
|
|
- * NTL
|
|
|
|
|
|
|
+ * NTL (>= 7.0, but != 11.2.0)
|
|
|
* GMP
|
|
* GMP
|
|
|
* NVIDIA CUDA Toolkit 9.0
|
|
* NVIDIA CUDA Toolkit 9.0
|
|
|
|
|
|
|
@@ -192,6 +192,39 @@ For these example makefiles, copy them into a `Makefile.local` file.
|
|
|
LIBEVENT ?= <fill this in>
|
|
LIBEVENT ?= <fill this in>
|
|
|
MPI ?= <leave this blank>
|
|
MPI ?= <leave this blank>
|
|
|
|
|
|
|
|
|
|
+Notes for compiling required libraries
|
|
|
|
|
+--------------------------------------
|
|
|
|
|
+
|
|
|
|
|
+ 1. GMP
|
|
|
|
|
+
|
|
|
|
|
+ tar --lzip -xvf gmp-*.tar.lz
|
|
|
|
|
+ cd gmp-*
|
|
|
|
|
+ ./configure --prefix="$HOME/libraries/gmp"
|
|
|
|
|
+ make
|
|
|
|
|
+ make check
|
|
|
|
|
+ make install
|
|
|
|
|
+
|
|
|
|
|
+ 2. NTL
|
|
|
|
|
+
|
|
|
|
|
+ tar -xzf ntl-*.tar.gz
|
|
|
|
|
+ cd ntl-*/src
|
|
|
|
|
+ ./configure PREFIX="$HOME/libraries/ntl"
|
|
|
|
|
+ make
|
|
|
|
|
+ make check
|
|
|
|
|
+ make install
|
|
|
|
|
+ # make sure it used GMP (look for "GMP version check" in make output)
|
|
|
|
|
+
|
|
|
|
|
+ 3. Libevent
|
|
|
|
|
+
|
|
|
|
|
+ tar -xzf libevent-*-stable.tar.gz
|
|
|
|
|
+ cd libevent-*-stable
|
|
|
|
|
+ ./configure --prefix="$HOME/libraries/libevent"
|
|
|
|
|
+ make
|
|
|
|
|
+ make check # may not be able to run due to many 'Nameserver
|
|
|
|
|
+ # 127.0.0.1:42868 has failed: request timed out.'
|
|
|
|
|
+ # messages, which cause it to be very slow
|
|
|
|
|
+ make install
|
|
|
|
|
+
|
|
|
Changelog
|
|
Changelog
|
|
|
---------
|
|
---------
|
|
|
|
|
|