1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219
|
<HTML>
<HEAD><TITLE>ACL2 Version 8.0 Installation Guide: Requirements</TITLE></HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" STYLE="font-family:'Verdana'">
<H1>Requirements</A></H1>
<b><font>[<a href="installation.html">Back to main page of Installation Guide.</a>]</font></b>
<p><hr size=3 noshade><p>
ACL2 Version 8.0<br> Copyright (C) 2017, Regents of the University of
Texas<br>
ACL2 is licensed under the terms of
the <a href="../LICENSE">LICENSE</a>
file distributed with ACL2. See also the documentation topic,
<a href="../../manual/index.html?topic=ACL2____COPYRIGHT">COPYRIGHT</a>.
<p><hr size=3 noshade><p>
<H3>Table of Contents</H3>
<UL>
<LI><A HREF="#Performance">Performance comparisons</A>
<LI><A HREF="#Obtaining-Lisp">Obtaining Common Lisp</A> (alphabetical listing)
<UL>
<LI><A HREF="#Obtaining-Allegro">Obtaining Allegro Common Lisp</A>
<LI><A HREF="#Obtaining-CCL">Obtaining CCL (OpenMCL)</A>
<LI><A HREF="#Obtaining-CLISP">Obtaining CLISP</A>
<LI><A HREF="#Obtaining-CMUCL">Obtaining CMU Common Lisp</A>
<LI><A HREF="#Obtaining-GCL">Obtaining GCL</A>
<LI><A HREF="#Obtaining-LispWorks">Obtaining LispWorks</A>
<LI><A HREF="#Obtaining-SBCL">Obtaining SBCL</A>
</UL>
</UL>
<p><hr size=3 noshade><p>
<H3><A NAME="Performance">Performance comparisons</A></H3>
You can see recent performance numbers by following <a
href="http://www.cs.utexas.edu/users/moore/acl2/v8-0/HTML/new.html#performance">this
link</a>, or by going to the <a
href="http://www.cs.utexas.edu/users/moore/acl2/">ACL2 home page on
the web</a> and following the link "Recent changes to this page".
<H3><A NAME="Obtaining-Lisp">Obtaining Common Lisp</A></H3>
ACL2 works on Unix, GNU-Linux, and Mac OS X, which we call "Unix-like
systems", as well as many Windows operating systems (at least
including Windows 98, Windows 2000, and Windows XP). It can be built
on top of any of the following Common Lisps, listed here
alphabetically.
<ul>
<LI><A HREF="#Obtaining-Allegro">Allegro Common Lisp</A></B><P>
<LI><A HREF="#Obtaining-CCL">CCL (OpenMCL)</A></B><P>
<LI><A HREF="#Obtaining-CLISP">CLISP</A></B><P>
<LI><A HREF="#Obtaining-CMUCL">CMU Common Lisp</A></B><P>
<LI><A HREF="#Obtaining-GCL">GCL</A></B><P>
<LI><A HREF="#Obtaining-LispWorks">LispWorks</A></B><P>
<LI><A HREF="#Obtaining-SBCL">SBCL</A></B><P>
</ul>
<p>
<P><B><A NAME="Obtaining-Allegro">Obtaining Allegro Common Lisp</A></B><P>
The website for Allegro Common Lisp, a commercial implementation, is
<code><a href="http://www.franz.com/">http://www.franz.com/</a></code>.
You may be able to obtain a trial version there.
<P><B><A NAME="Obtaining-CCL">Obtaining CCL (OpenMCL)</A></B><P>
Clozure Common Lisp (Clozure CL, or CCL) was formerly known as
OpenMCL. Quoting from the <a href="http://ccl.clozure.com/">Clozure
Common Lisp web page</a> (July, 2014): ``Some distinguishing features
of the implementation include fast compilation speed, native threads,
a precise, generational, compacting garbage collector, and a
convenient foreign-function interface.''
<p>
<font color="red">NOTE</font>:
Certain <a href="http://www.cs.utexas.edu/users/moore/acl2/current/combined-manual/index.html?topic=ACL2____HONS-ENABLED">ACL2
features</a> are optimized for 64-bit CCL. Some large developments
may even fail with 32-bit CCL; so for CCL, the 64-bit version is
preferred. To check if your CCL is a 64-bit CCL, evaluate the
following expression in your CCL; the result should
be <code>YES</code>.
<pre>
#+x86_64 'yes #-x86_64 'no
</pre>
Here are <a href="ccl.html">instructions for fetching and installing
CCL</a>.
<p>
<P><B><A NAME="Obtaining-CLISP">Obtaining CLISP</A></B><P>
CLISP is a non-commercial Common Lisp implementation, available from
<code><a href="http://clisp.cons.org/">http://clisp.cons.org/</a></code>.
We do not recommend CLISP as a platform for ACL2, for the following
reasons.
<ul>
<li>CLISP appears to run ACL2 much more slowly than the other supported
Common Lisp implementations.</li>
<li>Only minimal testing is done for ACL2 built on CLISP.</li>
<li>CLISP does not support building the
default, <a href="http://www.cs.utexas.edu/users/moore/acl2/current/combined-manual/index.html?topic=ACL2____HONS-ENABLED">hons-enabled</a>
ACL2 (ACL2(h)), but only (with the limitations expressed above)
a discontinued version, ACL2(c).</li>
</ul>
<P><B><A NAME="Obtaining-CMUCL">Obtaining CMU Common Lisp</A></B><P>
<blockquote>
<font color="red"><b>NOTE</b>: ACL2 Version 8.0 cannot be reliably run
on CMUCL, so we have disabled building ACL2 on CMUCL. The CMUCL
implementor is aware of the problem, and we are hoping for a fix
before the next ACL2 release so that we can remove this note.</font>
</blockquote>
<p>
CMU Common Lisp (sometimes called CMUCL) is a non-commercial Common Lisp
implementation, available from <code><a
href="http://www.cons.org/cmucl/">http://www.cons.org/cmucl/</a></code>.
<P><B><A NAME="Obtaining-GCL">Obtaining GCL</A></B><P>
You might be able
to <A HREF="http://packages.qa.debian.org/a/acl2.html">download a
binary Debian package for ACL2</A>. Thanks to Camm Maguire for
maintaining this package. Note however that it may take some time
after each ACL2 release for this binary Debian package to be updated
for that release.
<p>
Otherwise, it should be easy to obtain and build GCL yourself. Note
that ACL2 requires ANSI GCL version 2.6.12 or later. Perhaps simplest
is to fetch it via git and then build the
executable <code>gcl/gcl/bin/gcl</code> as follows.
<pre>
git clone git://git.sv.gnu.org/gcl.git
cd gcl/gcl
git checkout Version_2_6_13pre
./configure --enable-ansi && make
</pre>
It may also be possible to fetch it from
the <a href="http://www.gnu.org/software/gcl/">main GNU website for
GCL</a> or perhaps
from <code><a href="http://backports.debian.org">backports.debian.org</a></code>,
in which case ANSI GCL can be built as shown above:
<pre>
cd gcl && ./configure --enable-ansi && make
</pre>
<P><B><A NAME="Obtaining-LispWorks">Obtaining LispWorks</A></B><P>
LispWorks is a commercial Common Lisp implementation. You can download
a free, restricted, version
from <code><a href="http://www.lispworks.com/">http://www.lispworks.com/</a></code>.
You may ask the vendor for an evaluation license for the full product
if you are considering purchasing a license.
<P><B><A NAME="Obtaining-SBCL">Obtaining SBCL</A></B><P>
SBCL (Steel Bank Common Lisp) is a non-commercial Common Lisp
implementation, available from <code><a
href="http://sbcl.sourceforge.net/">http://sbcl.sourceforge.net/</a></code>.
<p>
Building ACL2 may initially fail with SBCL because of insufficient heap
memory. Harsh Raju Chamarthi points out that a fix is to run SBCL
with an increased heap size limit. As of 2014 we find that the
the option <code>--dynamic-space-size 2000</code> following works well
on 64-bit linux, for example using a script like the following for
SBCL.
<pre>
#!/bin/sh
<sbcl-dir-path>/src/runtime/sbcl --core <sbcl-dir-path>/output/sbcl.core --dynamic-space-size 2000 "$@"
</pre>
<p>
If you try to run large jobs using ACL2 build on SBCL, such as
building the ACL2+books combined manual, you may fail with and error,
"Immobile space exhausted". We have avoided this error by building
SBCL from source rather than obtaining a binary, using options as
follows:
<pre>
sh make.sh --without-immobile-space --without-immobile-code --without-compact-instance-header
</pre>
<p>
<b><font size="+2">[<a href="installation.html">Back to Installation Guide.</a>]</font></b>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
</BODY>
</HTML>
|