]> git-server-git.apps.pok.os.sepia.ceph.com Git - jerasure.git/commitdiff
Added compilation instructions for when you don't have GF-Complete
authorJim Plank <plank@cs.utk.edu>
Fri, 7 Feb 2014 16:39:19 +0000 (11:39 -0500)
committerJim Plank <plank@cs.utk.edu>
Fri, 7 Feb 2014 16:39:19 +0000 (11:39 -0500)
installed as root.

README
README.nd
README.txt

diff --git a/README b/README
index 29d4aa5f5f3b451038d5a16a4d3d8c8a1b62d82c..1d9015150d81b5555f99a9d1255dd26a2d6982a4 100644 (file)
--- a/README
+++ b/README
@@ -2,10 +2,11 @@ This is revision 2.0 of Jerasure.  This is pretty much Jerasure 1.2 without the
 original Galois Field backend.  Version 2.0 links directly to GF-Complete, which 
 is more flexible than the original, and *much* faster, because it leverages SIMD
 instructions.
-
 Authors: James S. Plank (University of Tennessee)
          Kevin M. Greenan (Box)
 
+------------------------------------------------------------
+
 External Documentation:
 
 See the file Manual.pdf for the programmer's manual and tutorial.  This manual
@@ -13,26 +14,45 @@ is also available at http://web.eecs.utk.edu/~plank/plank/papers/UT-EECS-14-721.
 
 See https://bitbucket.org/jimplank/gf-complete for GF-Complete.
 
-NOTE: You must have GF-Complete installed in order to use Jerasure 2.0.
+NOTE: You must have GF-Complete installed (or compiled) in order to use Jerasure 2.0.
 
 There are two directories of source code:
 
 The src directory contains the jerasure code.
 The Examples directory contains the example programs.  
 
+------------------------------------------------------------
+
 The makefile assumes that Examples is a subdirectory of the home directory.
 
-Installing:
+Installing if you are allowed to install GF-Complete on your machine:
 
 1.) Install GF-Complete
 2.) ./configure
 3.) make
 4.) sudo make install 
 
-This will install the examples under PREFIX/bin, the library under PREFIX/lib
-and the header files under PREFIX/include
+This will install the library into your machine's lib directory,
+the headers into include, and the example programs into bin.
+
+------------------------------------------------------------
+
+Installing if you can compile GF-Complete, but you cannot install it:
+
+1.) Install GF-Complete.  Let's suppose the full path to GF-Complete is
+    in the environment variable  GFP
+2A.) On Linux, set the environment variable LD_LIBRARY_PATH so that it 
+     includes $GFP/src/.libs
+2B.) On a mac, set the environment variable DYLD_LIBRARY_PATH so that it
+     includes $GFP/src/.libs
+2.) ./configure LDFLAGS=-L$GFP/src/.libs/ CPPFLAGS=-I$GFP/include
+3.) make
+
+The examples will be in the directory Examples.  The include files will
+be in the directory include, and the library will be called libJerasure.a
+in the directory src/.libs.
 
-Inclusion of GF-Complete:
+------------------------------------------------------------
 
 As long as GF-Complete is installed, Jerasure 2.0 can be used just as previous
 versions.  There is no need to define custom Galois Fields.  Jerasure will 
index 29d4aa5f5f3b451038d5a16a4d3d8c8a1b62d82c..1d9015150d81b5555f99a9d1255dd26a2d6982a4 100644 (file)
--- a/README.nd
+++ b/README.nd
@@ -2,10 +2,11 @@ This is revision 2.0 of Jerasure.  This is pretty much Jerasure 1.2 without the
 original Galois Field backend.  Version 2.0 links directly to GF-Complete, which 
 is more flexible than the original, and *much* faster, because it leverages SIMD
 instructions.
-
 Authors: James S. Plank (University of Tennessee)
          Kevin M. Greenan (Box)
 
+------------------------------------------------------------
+
 External Documentation:
 
 See the file Manual.pdf for the programmer's manual and tutorial.  This manual
@@ -13,26 +14,45 @@ is also available at http://web.eecs.utk.edu/~plank/plank/papers/UT-EECS-14-721.
 
 See https://bitbucket.org/jimplank/gf-complete for GF-Complete.
 
-NOTE: You must have GF-Complete installed in order to use Jerasure 2.0.
+NOTE: You must have GF-Complete installed (or compiled) in order to use Jerasure 2.0.
 
 There are two directories of source code:
 
 The src directory contains the jerasure code.
 The Examples directory contains the example programs.  
 
+------------------------------------------------------------
+
 The makefile assumes that Examples is a subdirectory of the home directory.
 
-Installing:
+Installing if you are allowed to install GF-Complete on your machine:
 
 1.) Install GF-Complete
 2.) ./configure
 3.) make
 4.) sudo make install 
 
-This will install the examples under PREFIX/bin, the library under PREFIX/lib
-and the header files under PREFIX/include
+This will install the library into your machine's lib directory,
+the headers into include, and the example programs into bin.
+
+------------------------------------------------------------
+
+Installing if you can compile GF-Complete, but you cannot install it:
+
+1.) Install GF-Complete.  Let's suppose the full path to GF-Complete is
+    in the environment variable  GFP
+2A.) On Linux, set the environment variable LD_LIBRARY_PATH so that it 
+     includes $GFP/src/.libs
+2B.) On a mac, set the environment variable DYLD_LIBRARY_PATH so that it
+     includes $GFP/src/.libs
+2.) ./configure LDFLAGS=-L$GFP/src/.libs/ CPPFLAGS=-I$GFP/include
+3.) make
+
+The examples will be in the directory Examples.  The include files will
+be in the directory include, and the library will be called libJerasure.a
+in the directory src/.libs.
 
-Inclusion of GF-Complete:
+------------------------------------------------------------
 
 As long as GF-Complete is installed, Jerasure 2.0 can be used just as previous
 versions.  There is no need to define custom Galois Fields.  Jerasure will 
index 29d4aa5f5f3b451038d5a16a4d3d8c8a1b62d82c..1d9015150d81b5555f99a9d1255dd26a2d6982a4 100644 (file)
@@ -2,10 +2,11 @@ This is revision 2.0 of Jerasure.  This is pretty much Jerasure 1.2 without the
 original Galois Field backend.  Version 2.0 links directly to GF-Complete, which 
 is more flexible than the original, and *much* faster, because it leverages SIMD
 instructions.
-
 Authors: James S. Plank (University of Tennessee)
          Kevin M. Greenan (Box)
 
+------------------------------------------------------------
+
 External Documentation:
 
 See the file Manual.pdf for the programmer's manual and tutorial.  This manual
@@ -13,26 +14,45 @@ is also available at http://web.eecs.utk.edu/~plank/plank/papers/UT-EECS-14-721.
 
 See https://bitbucket.org/jimplank/gf-complete for GF-Complete.
 
-NOTE: You must have GF-Complete installed in order to use Jerasure 2.0.
+NOTE: You must have GF-Complete installed (or compiled) in order to use Jerasure 2.0.
 
 There are two directories of source code:
 
 The src directory contains the jerasure code.
 The Examples directory contains the example programs.  
 
+------------------------------------------------------------
+
 The makefile assumes that Examples is a subdirectory of the home directory.
 
-Installing:
+Installing if you are allowed to install GF-Complete on your machine:
 
 1.) Install GF-Complete
 2.) ./configure
 3.) make
 4.) sudo make install 
 
-This will install the examples under PREFIX/bin, the library under PREFIX/lib
-and the header files under PREFIX/include
+This will install the library into your machine's lib directory,
+the headers into include, and the example programs into bin.
+
+------------------------------------------------------------
+
+Installing if you can compile GF-Complete, but you cannot install it:
+
+1.) Install GF-Complete.  Let's suppose the full path to GF-Complete is
+    in the environment variable  GFP
+2A.) On Linux, set the environment variable LD_LIBRARY_PATH so that it 
+     includes $GFP/src/.libs
+2B.) On a mac, set the environment variable DYLD_LIBRARY_PATH so that it
+     includes $GFP/src/.libs
+2.) ./configure LDFLAGS=-L$GFP/src/.libs/ CPPFLAGS=-I$GFP/include
+3.) make
+
+The examples will be in the directory Examples.  The include files will
+be in the directory include, and the library will be called libJerasure.a
+in the directory src/.libs.
 
-Inclusion of GF-Complete:
+------------------------------------------------------------
 
 As long as GF-Complete is installed, Jerasure 2.0 can be used just as previous
 versions.  There is no need to define custom Galois Fields.  Jerasure will