summaryrefslogtreecommitdiff
path: root/lib/ldpc/install.html
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
committerhibby <d@vehibberd.com>2018-02-16 15:17:14 +0000
commit37f727ac0746fd85504aa46c1f023c09b3eff33a (patch)
treec8a7ce04545040a8f161ba279528730bd9a3e6ab /lib/ldpc/install.html
parentd63dd8d081a6fcd0715cd13f26df59fb831769d2 (diff)
New upstream version 1.8.0+repackupstream/1.8.0+repack
Diffstat (limited to 'lib/ldpc/install.html')
-rwxr-xr-xlib/ldpc/install.html82
1 files changed, 82 insertions, 0 deletions
diff --git a/lib/ldpc/install.html b/lib/ldpc/install.html
new file mode 100755
index 00000000..f6966ab5
--- /dev/null
+++ b/lib/ldpc/install.html
@@ -0,0 +1,82 @@
+<HTML><HEAD>
+
+<TITLE> Installing the LDPC Software </TITLE>
+
+</HEAD><BODY>
+
+<H1> Installing the LDPC Software </H1>
+
+The LDPC software is written in C, and may well work with any C
+compiler, though it has been tested only with gcc, in Unix and Linux
+environments, and in the <A HREF="http://www.cygwin.com">Cygwin</A>
+Unix-like environment that runs under Microsoft Windows. The
+installation instructions below assume that you are using a Unix-like
+system.
+
+<P>All the software, including the documentation you are viewing here,
+is contained in a tar file, which you can download by clicking one
+of the options below:
+<BLOCKQUOTE>
+ <A HREF="http://www.cs.utoronto.ca/~radford/ftp/LDPC-yyyy-mm-dd/LDPC-yyyy-mm-dd.tar">Tar
+ file of LDPC software</A> (0.9 Megabytes)<BR>
+ <A HREF="http://www.cs.utoronto.ca/~radford/ftp/LDPC-yyyy-mm-dd/LDPC-yyyy-mm-dd.tar.gz">Gzipped
+ tar file of LDPC software</A> (0.4 Megabytes)
+</BLOCKQUOTE>
+
+<P>Once you obtain the tar file (and uncompress it with gunzip if
+necessary), you should extract the files with the following Unix command:
+<BLOCKQUOTE><PRE>
+tar xf LDPC-yyyy-mm-dd.tar
+</PRE></BLOCKQUOTE>
+This will create a source directory called <TT>LDPC-yyyy-mm-dd</TT>, and place
+all the source, documentation, and other files in this directory.
+
+<P>If you prefer for this directory to be called something else,
+rename it <B>now</B>, before compiling the programs, since the file
+<TT>randfile</TT> in this directory, containing natural random numbers,
+is accessed according to its path when the programs were compiled.
+
+<P>Once the tar command above has finished, you should change into the
+newly-created directory, and type
+<BLOCKQUOTE><PRE>
+make
+</PRE></BLOCKQUOTE>
+If all goes well, this should compile all the programs (except for some
+test programs, which can be compiled with <TT>make test</TT>). You
+may want to edit the file <TT>Makefile</TT> before running <TT>make</TT>
+in order to change compilation options, such as the optimization level.
+
+<P>You can run the programs from this source directory, or you can copy
+them to some other directory by running the <TT>LDPC-install</TT>
+shell file. For instance, to install them in a bin directory in your
+home directory, do the following:
+<BLOCKQUOTE><PRE>
+./LDPC-install $HOME/bin
+</PRE></BLOCKQUOTE>
+
+<P>The source directory contains a copy of all the HTML files
+documenting the software, such as the one you are reading now, with
+the file <TT>index.html</TT> being the starting point. It is best to
+use this local copy when referring to the documentation, rather than
+get it off the web, since that is faster and also insures that the
+documentation is for the version that you are using. Just tell your
+browser to open the URL
+<BLOCKQUOTE><PRE>
+file:<I>path-to-software</I>/index.html
+</PRE></BLOCKQUOTE>
+where <TT><I>path-to-software</I></TT> is the full path (starting with "/")
+to the directory where you've put the software.
+
+<P>The command
+<BLOCKQUOTE><PRE>
+make clean
+</PRE></BLOCKQUOTE>
+will remove all the compiled programs, as well as the files created when
+the <A HREF="examples.html">examples</A> are run, and <TT>core</TT>, if it
+exists.
+
+<HR>
+
+<A HREF="index.html">Back to index for LDPC software</A>
+
+</BODY></HTML>