Changeset d720895 in flex_extract.git for Documentation/html/installation.html


Ignore:
Timestamp:
Dec 19, 2019, 8:12:11 PM (4 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
e70c85f
Parents:
76c37a9
Message:

updated online docu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Documentation/html/installation.html

    r30f7911 rd720895  
    9494<li class="toctree-l2"><a class="reference internal" href="#licence-agreement-for-public-datasets">Licence agreement for public datasets</a></li>
    9595<li class="toctree-l2"><a class="reference internal" href="#download-flex-extract">Download <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code></a></li>
    96 <li class="toctree-l2"><a class="reference internal" href="#environment-requirements">Environment requirements</a></li>
     96<li class="toctree-l2"><a class="reference internal" href="#dependencies">Dependencies</a></li>
    9797<li class="toctree-l2"><a class="reference internal" href="#installation-of-flex-extract">Installation of <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code></a><ul>
    9898<li class="toctree-l3"><a class="reference internal" href="Installation/remote.html">Remote mode installation</a></li>
     
    283283</dl>
    284284</div>
    285 <div class="section" id="environment-requirements">
    286 <span id="ref-requirements"></span><h2>Environment requirements<a class="headerlink" href="#environment-requirements" title="Permalink to this headline">¶</a></h2>
     285<div class="section" id="dependencies">
     286<span id="ref-requirements"></span><h2>Dependencies<a class="headerlink" href="#dependencies" title="Permalink to this headline">¶</a></h2>
    287287<p>The software required for running <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> depends on the <a class="reference internal" href="Documentation/Overview/app_modes.html"><span class="doc">Application Modes</span></a> and therefore is described in the respective specific installation sections.</p>
    288288<p>Generally speaking, <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> requires <a class="reference external" href="https://docs.python.org/3/">Python 3</a> and Fortran together with certain modules / libraries.
    289289We tested <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> with the python3 package from the the GNU/Linux distribution and Anaconda Python. The required python3 modules should prefarably be installed as distribution packages, or alternatively using Python’s own package manager <code class="docutils literal notranslate"><span class="pre">pip</span></code> (this may mess up some aspects of your python installation, especially if you use <code class="docutils literal notranslate"><span class="pre">pip</span></code> as root. Think about using virtual environments.).</p>
     290<p>Before installing the system packages check the availability with <code class="docutils literal notranslate"><span class="pre">dpkg</span> <span class="pre">-s</span> <span class="pre">&lt;package-name&gt;</span> <span class="pre">|</span>&#160; <span class="pre">grep</span> <span class="pre">Status</span></code> or <code class="docutils literal notranslate"><span class="pre">rpm</span> <span class="pre">-q</span> <span class="pre">&lt;package_name&gt;</span></code>, depending on your system. For example:</p>
     291<div class="highlight-sh notranslate"><div class="highlight"><pre><span></span>$ dpkg -s libeccodes-dev <span class="p">|</span>  grep Status
     292<span class="c1"># or</span>
     293$ rpm -q libeccodes-dev
     294</pre></div>
     295</div>
    290296</div>
    291297<div class="section" id="installation-of-flex-extract">
     
    307313<div class="section" id="flex-extract-in-combination-with-flexpart">
    308314<h2><code class="docutils literal notranslate"><span class="pre">Flex_extract</span></code> in combination with <code class="docutils literal notranslate"><span class="pre">FLEXPART</span></code><a class="headerlink" href="#flex-extract-in-combination-with-flexpart" title="Permalink to this headline">¶</a></h2>
    309 <p>Some users might like to incorporate <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> directly into the <code class="docutils literal notranslate"><span class="pre">FLEXPART</span></code>
    310 distribution. Then the installation path has to be changed by setting the parameter
    311 <cite>installdir</cite> in the <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> file to the <code class="docutils literal notranslate"><span class="pre">script</span></code> directory in the <code class="docutils literal notranslate"><span class="pre">FLEXPART</span></code> root directoy.</p>
     315<p>Some users might wish to incorporate <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> directly into the <code class="docutils literal notranslate"><span class="pre">FLEXPART</span></code> distribution. Then the installation path has to be changed by setting the parameter <cite>installdir</cite> in the <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> file to the <code class="docutils literal notranslate"><span class="pre">script</span></code> directory in the <code class="docutils literal notranslate"><span class="pre">FLEXPART</span></code> root directoy.</p>
    312316</div>
    313317<div class="section" id="test-installation">
     
    315319<div class="section" id="fortran-program-test">
    316320<h3>Fortran program test<a class="headerlink" href="#fortran-program-test" title="Permalink to this headline">¶</a></h3>
    317 <p>To check if the compilation of the Fortran program <code class="docutils literal notranslate"><span class="pre">CONVERT2</span></code> was successful
    318 a quick program call on a minimal prepared dataset can be done.</p>
    319 <p>For this, go from the <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> root directory to the test
    320 directory and call the executable of the Fortran program.</p>
     321<p>To check whether the Fortran program <code class="docutils literal notranslate"><span class="pre">CONVERT2</span></code> has been compiled and runs properly, it can be applied to a prepared minimal dataset.</p>
     322<p>For this, go from the <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> root directory to the <code class="docutils literal notranslate"><span class="pre">Testing/Installation/Convert/</span></code> directory and execute the Fortran program.</p>
    321323<div class="admonition note">
    322324<p class="first admonition-title">Note</p>
    323325<p class="last">Remember that you might have to log in at the ECMWF server if you used the installation for the <strong>remote</strong> or <strong>gateway</strong> mode. There you find the <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> root directory in your <code class="docutils literal notranslate"><span class="pre">$HOME</span></code> directory.</p>
    324326</div>
    325 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nb">cd</span> test/Installation/Convert
    326 <span class="c1"># call the Fortran progam without arguments</span>
    327 ../../../source/fortran/CONVERT2
    328 </pre></div>
    329 </div>
    330 <p>The installation was successfull if it showed the following output:</p>
     327<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nb">cd</span> Testing/Installation/Convert
     328<span class="c1"># execute the Fortran progam without arguments</span>
     329../../../Source/Fortran/CONVERT2
     330</pre></div>
     331</div>
     332<p>The installation was successfull if you obtain on standard output:</p>
    331333<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> readspectral:            <span class="m">1</span>  records <span class="nb">read</span>
    332334 readlatlon:            <span class="m">8</span>  records <span class="nb">read</span>
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG