Changeset d720895 in flex_extract.git for Documentation/html/Installation/remote.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/remote.html
r30f7911 rd720895 94 94 <li class="toctree-l2"><a class="reference internal" href="../installation.html#licence-agreement-for-public-datasets">Licence agreement for public datasets</a></li> 95 95 <li class="toctree-l2"><a class="reference internal" href="../installation.html#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="../installation.html# environment-requirements">Environment requirements</a></li>96 <li class="toctree-l2"><a class="reference internal" href="../installation.html#dependencies">Dependencies</a></li> 97 97 <li class="toctree-l2 current"><a class="reference internal" href="../installation.html#installation-of-flex-extract">Installation of <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code></a><ul class="current"> 98 98 <li class="toctree-l3 current"><a class="current reference internal" href="#">Remote mode installation</a><ul> 99 <li class="toctree-l4"><a class="reference internal" href="#remote- environment-requirements">Remote environment requirements</a></li>99 <li class="toctree-l4"><a class="reference internal" href="#remote-mode-dependencies">Remote mode - dependencies</a></li> 100 100 <li class="toctree-l4"><a class="reference internal" href="#prepare-remote-environment">Prepare remote environment</a></li> 101 101 <li class="toctree-l4"><a class="reference internal" href="#remote-installation">Remote installation</a></li> … … 189 189 <div class="toctree-wrapper compound"> 190 190 </div> 191 <div class="section" id="remote-environment-requirements"> 192 <span id="ref-req-remote"></span><span id="ref-remote-mode"></span><h2>Remote environment requirements<a class="headerlink" href="#remote-environment-requirements" title="Permalink to this headline">¶</a></h2> 193 <p>The environment for <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> on ECMWF servers has to provide these 194 software packages and libraries:</p> 191 <div class="section" id="remote-mode-dependencies"> 192 <span id="ref-req-remote"></span><span id="ref-remote-mode"></span><h2>Remote mode - dependencies<a class="headerlink" href="#remote-mode-dependencies" title="Permalink to this headline">¶</a></h2> 193 <p>The following software is required, and already available at the ECMWF servers:</p> 195 194 <table border="1" class="docutils"> 196 195 <colgroup> … … 222 221 <div class="section" id="prepare-remote-environment"> 223 222 <span id="ref-prep-remote"></span><h2>Prepare remote environment<a class="headerlink" href="#prepare-remote-environment" title="Permalink to this headline">¶</a></h2> 224 <p>The environment on the ECMWF server (such as <em>ecgate</em> or <em>cca</em>) is already 225 prepared. ECMWF server provide all libraries via a module system which is 226 going to be selected by <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> automatically.</p> 223 <p>ECMWF servers provide all libraries via a module system. Loading the required modules is already built into <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> and no user action is needed.</p> 227 224 </div> 228 225 <div class="section" id="remote-installation"> 229 226 <span id="ref-install-remote"></span><h2>Remote installation<a class="headerlink" href="#remote-installation" title="Permalink to this headline">¶</a></h2> 230 <p>First, log in on one of the ECMWF Linux server, such as <em>ecgate</em> or <em>cca/ccb</em>.227 <p>First, log in on one of the ECMWF servers, such as <em>ecgate</em> or <em>cca/ccb</em>. 231 228 Substitute <em><ecuid></em> with your ECMWF user name:</p> 232 229 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>ssh -X <ecuid>@ecaccess.ecmwf.int … … 251 248 *************************************************************** 252 249 253 <ecuid>@ 131.130.157.5's password: ***250 <ecuid>@<ipname/address>'s password: *** 254 251 Select hostname (ecgate, cca, ccb) [ecgate]: ecgate 255 252 … … 257 254 </pre></div> 258 255 </div> 259 <p>Then, copy the <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> tar ball (from section <a class="reference internal" href="../installation.html#ref-download"><span class="std std-ref">Download flex_extract</span></a>) 260 to the <code class="docutils literal notranslate"><span class="pre">$HOME</span></code> directory of the ECMWF Linux server via <code class="docutils literal notranslate"><span class="pre">scp</span></code>. 261 Substitute the <em><localuser></em> and <em><server.edu></em> placeholders with your credentials. 256 <p>Substitute the <em><localuser></em> and <em><localmachine.tld></em> placeholders with your local user name and the IP name or address of your local machine. 262 257 Untar the file and change into the <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> root directory.</p> 263 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>scp <localuser>@< server.edu>:/path/to/tarfile/flex_extract_vX.X.tar.gz <span class="nv">$HOME</span>/258 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>scp <localuser>@<localmachine.tld>:</path/to/tarfile/>flex_extract_vX.X.tar.gz <span class="nv">$HOME</span>/ 264 259 <span class="nb">cd</span> <span class="nv">$HOME</span> 265 260 tar xvf flex_extract_vX.X.tar.gz … … 267 262 </pre></div> 268 263 </div> 269 <p>On these ECMWF servers, it is not necessary to prepare the environment or the 270 <code class="docutils literal notranslate"><span class="pre">Makefile</span></code> for the Fortran program (<code class="docutils literal notranslate"><span class="pre">CONVERT2</span></code>) as described above. 271 All third party libraries are available from a module system. The <code class="docutils literal notranslate"><span class="pre">Makefile</span></code> 272 is optimized for ECMWF servers and the compilation 273 script <code class="docutils literal notranslate"><span class="pre">compilejob.ksh</span></code>, which will be submitted by <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> to the 274 batch job queue at ECMWF, does load all relevant modules from the ECMWF’s module system.</p> 275 <p>So there is just the need to execute the <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> script from the 276 <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code> root directory for installation. 264 <p>Execute the <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> script from the <code class="docutils literal notranslate"><span class="pre">flex_extract</span></code>’s root directory. 277 265 Before executing it, it is necessary to adapt some parameters from <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> 278 266 described in <span class="xref std std-doc">Documentation/Input/setup</span>.</p> 279 <p>Open <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> with your editorand adapt the values:</p>267 <p>Open <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> with your preferred editor (e.g., <a href="#id1"><span class="problematic" id="id2">``</span></a>nano’‘) and adapt the values:</p> 280 268 <table border="1" class="docutils"> 281 269 <colgroup> … … 284 272 </colgroup> 285 273 <tbody valign="top"> 286 <tr class="row-odd"><td> Take this for target = <strong>ectrans</strong></td>287 <td> Take this for target = <strong>cca</strong></td>274 <tr class="row-odd"><td>Use this for target = <strong>ectrans</strong></td> 275 <td>Use this for target = <strong>cca</strong></td> 288 276 </tr> 289 277 <tr class="row-even"><td><div class="first last highlight-bash notranslate"><div class="highlight"><pre><span></span>... … … 329 317 </table> 330 318 <p><span class="underline">Please substitute the values of ECUID and ECGID 331 with your own credentials and settings.</span></p>319 with your own ones (look at any of your files with ``ls -l’’ to see uid and gid).</span></p> 332 320 <div class="admonition note"> 333 321 <p class="first admonition-title">Note</p> 334 <p class="last">If a local gateway server is available the transfer of files could be done 335 via the <code class="docutils literal notranslate"><span class="pre">ECaccess</span></code> commands. Therefore a valid <em>GATEWAY</em> and <em>DESTINATION</em> 336 have to be present and should be set in the <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> file.</p> 322 <p class="last">If a local gateway server is available, files can be transferred with <code class="docutils literal notranslate"><span class="pre">ECaccess</span></code> commands. In that case, a valid <em>GATEWAY</em> and <em>DESTINATION</em> have to be present in the <code class="docutils literal notranslate"><span class="pre">setup.sh</span></code> file (even if not used, the lines must not be deleted).</p> 337 323 </div> 338 324 <p>Afterwards, type:</p> … … 341 327 </pre></div> 342 328 </div> 343 <p>to start the installation. You should see the following o utput at the command line.</p>329 <p>to start the installation. You should see the following on standard output.</p> 344 330 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="c1"># Output of setup.sh</span> 345 331 Create tarball ... … … 348 334 </pre></div> 349 335 </div> 350 <p> The email content should look like this with a “SUCCESS” statement in the last line:</p>336 <p><code class="docutils literal notranslate"><span class="pre">Flex_extract</span></code> uses the email address connectd to the user account on ECMWF servers. The email content should look like this with a “SUCCESS” statement in the last line:</p> 351 337 <div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert<span class="o">=</span>big-endian -c -g -O3 -fopenmp phgrreal.f 352 338 gfortran -m64 -fdefault-real-8 -fcray-pointer -fno-second-underscore -ffixed-line-length-132 -fopenmp -fconvert<span class="o">=</span>big-endian -c -g -O3 -fopenmp grphreal.f
Note: See TracChangeset
for help on using the changeset viewer.