Page MenuHomec4science

Test_the_installation.html
No OneTemporary

File Metadata

Created
Thu, May 30, 12:10

Test_the_installation.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Check the installation &mdash; pNbody v4 documentation</title>
<link rel="stylesheet" href="../_static/default.css" type="text/css" />
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: '../',
VERSION: '4',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="../_static/jquery.js"></script>
<script type="text/javascript" src="../_static/underscore.js"></script>
<script type="text/javascript" src="../_static/doctools.js"></script>
<link rel="top" title="pNbody v4 documentation" href="../index.html" />
<link rel="up" title="Installation" href="Installation.html" />
<link rel="next" title="Default configuration" href="Default_configurations.html" />
<link rel="prev" title="Installing from source" href="Installing_from_tarball.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../np-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="Default_configurations.html" title="Default configuration"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="Installing_from_tarball.html" title="Installing from source"
accesskey="P">previous</a> |</li>
<li><a href="../index.html">pNbody v4 documentation</a> &raquo;</li>
<li><a href="Installation.html" accesskey="U">Installation</a> &raquo;</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<div class="section" id="check-the-installation">
<h1>Check the installation<a class="headerlink" href="#check-the-installation" title="Permalink to this headline"></a></h1>
<p>You can check the installation by simply running the following
command:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">pNbody_checkall</span>
</pre></div>
</div>
<p>This command must of course be in your path. This will be the case
if you did not specified any <tt class="docutils literal"><span class="pre">--prefix</span></tt>. On the contrary if <tt class="docutils literal"><span class="pre">--prefix</span></tt>
is set to for example, <em>localdir</em> you should have your <em>PATH</em> environment
variable should contains:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">localdir</span><span class="o">/</span><span class="nb">bin</span>
</pre></div>
</div>
<p>and you <em>PYTHONPATH</em> environment should contains:</p>
<div class="highlight-python"><pre>localdir/lib/python2.x/site-packages/</pre>
</div>
<p>to ensure that the <strong>pNbody</strong> package will be found.</p>
<p>If everything goes well, you should see a lots of outputs on your screen,
as well as a window displaying an edge-on disk.</p>
<img alt="../_images/edge-on-disk.png" src="../_images/edge-on-disk.png" style="width: 200px;" />
<p>Close it when you see it.
The script should finally ends up with something like</p>
<div class="highlight-python"><pre>########################################################################
Good News ! pNbody with format gadget is working !
########################################################################
You are currently using the following paths
HOME : /home/leo
PNBODYPATH : /home/leo/local/lib/python2.6/site-packages/pNbody
CONFIGDIR : /home/leo/local/lib/python2.6/site-packages/pNbody/config
PARAMETERFILE : /home/leo/local/lib/python2.6/site-packages/pNbody/config/defaultparameters
UNITSPARAMETERFILE : /home/leo/local/lib/python2.6/site-packages/pNbody/config/unitsparameters
PALETTEDIR : /home/leo/local/lib/python2.6/site-packages/pNbody/config/rgb_tables
PLUGINSDIR : /home/leo/local/lib/python2.6/site-packages/pNbody/config/plugins
OPTDIR : /home/leo/local/lib/python2.6/site-packages/pNbody/config/opt
FORMATSDIR : /home/leo/local/lib/python2.6/site-packages/pNbody/config/formats</pre>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html">
<img class="logo" src="../_static/icon-small.jpg" alt="Logo"/>
</a></p>
<h4>Previous topic</h4>
<p class="topless"><a href="Installing_from_tarball.html"
title="previous chapter">Installing from source</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="Default_configurations.html"
title="next chapter">Default configuration</a></p>
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../_sources/rst/Test_the_installation.txt"
rel="nofollow">Show Source</a></li>
</ul>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="../search.html" method="get">
<input type="text" name="q" size="18" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="../np-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="Default_configurations.html" title="Default configuration"
>next</a> |</li>
<li class="right" >
<a href="Installing_from_tarball.html" title="Installing from source"
>previous</a> |</li>
<li><a href="../index.html">pNbody v4 documentation</a> &raquo;</li>
<li><a href="Installation.html" >Installation</a> &raquo;</li>
</ul>
</div>
<div class="footer">
&copy; Copyright 2011, Yves Revaz.
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.4.
</div>
</body>
</html>

Event Timeline