Explorar el Código

Small changes to README.

Steven Engler hace 8 años
padre
commit
a5c493ffc6
Se han modificado 1 ficheros con 34 adiciones y 1 borrados
  1. 34 1
      README.md

+ 34 - 1
README.md

@@ -33,7 +33,7 @@ Building
 --------
 
  1. Download and install:
-      * NTL
+      * NTL (>= 7.0, but != 11.2.0)
       * GMP
       * NVIDIA CUDA Toolkit 9.0
 
@@ -192,6 +192,39 @@ For these example makefiles, copy them into a `Makefile.local` file.
         LIBEVENT ?= <fill this in>
         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
 ---------