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
|
<?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" />
<script src="manual.js" type="text/javascript"></script>
<script type="text/javascript">overwriteStyle();</script>
</head>
<body class="chap3" onload="jscontent()">
<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"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap2.html">[Previous Chapter]</a> <a href="chap4.html">[Next Chapter]</a> </div>
<p id="mathjaxlink" class="pcenter"><a href="chap3_mj.html">[MathJax on]</a></p>
<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="tocline"><span class="nocss"> </span><a href="chap3.html#X86AC0C6B807BEBDE">3.1 <span class="Heading">Getting information about polymake
output</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap3.html#X85BA7A3D7C698B68">3.1-1 InfoPolymaking</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap3.html#X79E1C63D8516D334">3.1-2 POLYMAKE_LAST_FAIL_REASON</a></span>
</div></div>
<div class="ContSect"><span class="tocline"><span class="nocss"> </span><a href="chap3.html#X7B786DAF80136FF4">3.2 <span class="Heading">Variables for system interaction</span></a>
</span>
<div class="ContSSBlock">
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap3.html#X7B35A5217C8C7B04">3.2-1 POLYMAKE_COMMAND</a></span>
<span class="ContSS"><br /><span class="nocss"> </span><a href="chap3.html#X7C07B16B873BA46D">3.2-2 POLYMAKE_DATA_DIR</a></span>
</div></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">‣ InfoPolymaking</code></td><td class="tdright">( info class )</td></tr></table></div>
<p>If set to at least <span class="SimpleMath">2</span>, the output of polymake is shown. At level <span class="SimpleMath">1</span>, warnings are shown. This is the default. And at level <span class="SimpleMath">0</span>, 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">‣ POLYMAKE_LAST_FAIL_REASON</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>Contains a string that explains the last occurrence of <code class="keyw">fail</code> as a return value of <code class="func">Polymake</code> (<a href="chap2.html#X7DBA99E87EC51D53"><span class="RefLink">2.5-1</span></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"><span class="RefLink">1.2</span></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">‣ 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">‣ 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>
<div class="chlinkprevnextbot"> <a href="chap0.html">[Top of Book]</a> <a href="chap0.html#contents">[Contents]</a> <a href="chap2.html">[Previous Chapter]</a> <a href="chap4.html">[Next Chapter]</a> </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="https://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc">GAPDoc2HTML</a></p>
</body>
</html>
|