Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 5e1854624d3bc613bdd0dd13d1ef9ac7 > files > 2724

gap-system-4.4.12-5mdv2010.0.i586.rpm

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>GAP (polymaking) - Chapter 3: Global Variables</title>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="generator" content="GAPDoc2HTML" />
<link rel="stylesheet" type="text/css" href="manual.css" />
</head>
<body>


<div class="chlinktop"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chap4.html">4</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<div class="chlinkprevnexttop">&nbsp;<a href="chap0.html">Top of Book</a>&nbsp;  &nbsp;<a href="chap2.html">Previous Chapter</a>&nbsp;  &nbsp;<a href="chap4.html">Next Chapter</a>&nbsp;  </div>

<p><a id="X7D9044767BEB1523" name="X7D9044767BEB1523"></a></p>
<div class="ChapSects"><a href="chap3.html#X7D9044767BEB1523">3. <span class="Heading">Global Variables</span></a>
<div class="ContSect"><span class="nocss">&nbsp;</span><a href="chap3.html#X86AC0C6B807BEBDE">3.1 <span class="Heading">Getting information about polymake
output</span></a>
<span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap3.html#X85BA7A3D7C698B68">3.1-1 InfoPolymaking</a></span>
<span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap3.html#X79E1C63D8516D334">3.1-2 POLYMAKE_LAST_FAIL_REASON</a></span>
</div>
<div class="ContSect"><span class="nocss">&nbsp;</span><a href="chap3.html#X7B786DAF80136FF4">3.2 <span class="Heading">Variables for system interaction</span></a>
<span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap3.html#X7B35A5217C8C7B04">3.2-1 POLYMAKE_COMMAND</a></span>
<span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap3.html#X7C07B16B873BA46D">3.2-2 POLYMAKE_DATA_DIR</a></span>
<span class="ContSS"><br /><span class="nocss">&nbsp;&nbsp;</span><a href="chap3.html#X875BDBAE8075192A">3.2-3 POLYMAKE_CLIENT_PATHS</a></span>
</div>
</div>

<h3>3. <span class="Heading">Global Variables</span></h3>

<p><a id="X86AC0C6B807BEBDE" name="X86AC0C6B807BEBDE"></a></p>

<h4>3.1 <span class="Heading">Getting information about polymake
output</span></h4>

<p><a id="X85BA7A3D7C698B68" name="X85BA7A3D7C698B68"></a></p>

<h5>3.1-1 InfoPolymaking</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&gt; InfoPolymaking</code></td><td class="tdright">( info class )</td></tr></table></div>
<p>If set to at least 2, the output of polymake is shown. At level 1, warnings are shown. This is the default. And at level 0, the polymake package remains silent.</p>

<p><a id="X79E1C63D8516D334" name="X79E1C63D8516D334"></a></p>

<h5>3.1-2 POLYMAKE_LAST_FAIL_REASON</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&gt; POLYMAKE_LAST_FAIL_REASON</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>Contains a string that explains the last occurence of <code class="keyw">fail</code> as a return value of <code class="func">Polymake</code> (<a href="chap2.html#X7DBA99E87EC51D53"><b>2.5-1</b></a>).</p>

<p><a id="X7B786DAF80136FF4" name="X7B786DAF80136FF4"></a></p>

<h4>3.2 <span class="Heading">Variables for system interaction</span></h4>

<p>The variables for interaction with the system are contained in the file <code class="file">environment.gi</code>. Each of these variables has a function to set it, see <a href="chap1.html#X851C596486F918F0"><b>1.2</b></a>. If <code class="keyw">POLYMAKE_COMMAND</code> or <code class="keyw">POLYMAKE_DATA_DIR</code> are set at startup, they are not overwritten. So if you don't want (or don't have the rights) to modify <code class="file">environment.gi</code>, you can set the variables in your <code class="file">.gaprc</code> file.</p>

<p><a id="X7B35A5217C8C7B04" name="X7B35A5217C8C7B04"></a></p>

<h5>3.2-1 POLYMAKE_COMMAND</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&gt; POLYMAKE_COMMAND</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>This variable should contain the name of the polymake program in the form as returned by <code class="code">Filename</code> So a probable value is <code class="code">Filename(Directory("/usr/local/bin"),"polymake")</code>.</p>

<p><a id="X7C07B16B873BA46D" name="X7C07B16B873BA46D"></a></p>

<h5>3.2-2 POLYMAKE_DATA_DIR</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&gt; POLYMAKE_DATA_DIR</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>In this directory the files for polymake will be created. By default, this generates a temporary directory using <code class="keyw">DirectoryTemporary</code></p>

<p><a id="X875BDBAE8075192A" name="X875BDBAE8075192A"></a></p>

<h5>3.2-3 POLYMAKE_CLIENT_PATHS</h5>

<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">&gt; POLYMAKE_CLIENT_PATHS</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>A list of directories where polymake's the stand-alone clients live. By default, <code class="keyw">DirectoriesSystemPrograms</code> is used.</p>


<div class="chlinkprevnextbot">&nbsp;<a href="chap0.html">Top of Book</a>&nbsp;  &nbsp;<a href="chap2.html">Previous Chapter</a>&nbsp;  &nbsp;<a href="chap4.html">Next Chapter</a>&nbsp;  </div>


<div class="chlinkbot"><span class="chlink1">Goto Chapter: </span><a href="chap0.html">Top</a>  <a href="chap1.html">1</a>  <a href="chap2.html">2</a>  <a href="chap3.html">3</a>  <a href="chap4.html">4</a>  <a href="chapBib.html">Bib</a>  <a href="chapInd.html">Ind</a>  </div>

<hr />
<p class="foot">generated by <a href="http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>