Changeset d720895 in flex_extract.git for Documentation/html/installation.html
- Timestamp:
- Dec 19, 2019, 8:12:11 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- e70c85f
- Parents:
- 76c37a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Documentation/html/installation.html
r30f7911 rd720895 94 94 <li class="toctree-l2"><a class="reference internal" href="#licence-agreement-for-public-datasets">Licence agreement for public datasets</a></li> 95 95 <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> 97 97 <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> 98 98 <li class="toctree-l3"><a class="reference internal" href="Installation/remote.html">Remote mode installation</a></li> … … 283 283 </dl> 284 284 </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> 287 287 <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> 288 288 <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. 289 289 We 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"><package-name></span> <span class="pre">|</span>  <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"><package_name></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> 290 296 </div> 291 297 <div class="section" id="installation-of-flex-extract"> … … 307 313 <div class="section" id="flex-extract-in-combination-with-flexpart"> 308 314 <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> 312 316 </div> 313 317 <div class="section" id="test-installation"> … … 315 319 <div class="section" id="fortran-program-test"> 316 320 <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> 321 323 <div class="admonition note"> 322 324 <p class="first admonition-title">Note</p> 323 325 <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> 324 326 </div> 325 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nb">cd</span> test/Installation/Convert326 <span class="c1"># callthe Fortran progam without arguments</span>327 ../../../ source/fortran/CONVERT2328 </pre></div> 329 </div> 330 <p>The installation was successfull if it showed the followingoutput:</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> 331 333 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span> readspectral: <span class="m">1</span> records <span class="nb">read</span> 332 334 readlatlon: <span class="m">8</span> records <span class="nb">read</span>
Note: See TracChangeset
for help on using the changeset viewer.