generated from ENCCS/sphinx-lesson-template
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 811cc29
Showing
442 changed files
with
54,806 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: be9b4b929f98b38a87c4babc79888bea | ||
tags: d77d1c0d9ca2f4c8421862c7c5a0d620 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
<!DOCTYPE html> | ||
<html class="writer-html5" lang="en" data-content_root="../../../"> | ||
<head> | ||
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>EXERCISE 0 - First serial run — Efficient materials modelling on HPC with Quantum ESPRESSO, Siesta and Yambo documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=80d5e7a1" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/togglebutton.css?v=13237357" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx_lesson.css?v=0c089442" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/term_role_formatting.css?v=4194e21c" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx_rtd_theme_ext_color_contrast.css?v=8e8ea19f" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/graphviz.css?v=eafc0fe6" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/tabs.css?v=a5c4661c" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/overrides.css?v=0572569b" /> | ||
|
||
|
||
<link rel="shortcut icon" href="../../../_static/favicon.ico"/> | ||
<!--[if lt IE 9]> | ||
<script src="../../../_static/js/html5shiv.min.js"></script> | ||
<![endif]--> | ||
|
||
<script src="../../../_static/jquery.js?v=5d32c60e"></script> | ||
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> | ||
<script src="../../../_static/documentation_options.js?v=187304be"></script> | ||
<script src="../../../_static/doctools.js?v=888ff710"></script> | ||
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script> | ||
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script> | ||
<script src="../../../_static/copybutton.js?v=f281be69"></script> | ||
<script src="../../../_static/minipres.js?v=a0d29692"></script> | ||
<script>let toggleHintShow = 'Click to show';</script> | ||
<script>let toggleHintHide = 'Click to hide';</script> | ||
<script>let toggleOpenOnPrint = 'true';</script> | ||
<script src="../../../_static/togglebutton.js?v=4a39c7ea"></script> | ||
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script> | ||
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script> | ||
<script data-domain="enccs.github.io/Efficient-materials-modelling-on-HPC" defer="defer" src="https://plausible.io/js/script.js"></script> | ||
<script src="../../../_static/js/theme.js"></script> | ||
<link rel="index" title="Index" href="../../../genindex/" /> | ||
<link rel="search" title="Search" href="../../../search/" /> | ||
</head> | ||
|
||
<body class="wy-body-for-nav"> | ||
<div class="wy-grid-for-nav"> | ||
<nav data-toggle="wy-nav-shift" class="wy-nav-side"> | ||
<div class="wy-side-scroll"> | ||
<div class="wy-side-nav-search" > | ||
|
||
|
||
|
||
<a href="../../../" class="icon icon-home"> | ||
Efficient materials modelling on HPC with Quantum ESPRESSO, Siesta and Yambo | ||
<img src="../../../_static/ENCCS.jpg" class="logo" alt="Logo"/> | ||
</a> | ||
<div role="search"> | ||
<form id="rtd-search-form" class="wy-form" action="../../../search/" method="get"> | ||
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" /> | ||
<input type="hidden" name="check_keywords" value="yes" /> | ||
<input type="hidden" name="area" value="default" /> | ||
</form> | ||
</div> | ||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> | ||
<p class="caption" role="heading"><span class="caption-text">Days 1 and 2 - Quantum ESPRESSO</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../lectures-day1/">Quantum ESPRESSO Lectures</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../lectures-day2/">Lectures</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Days 3 and 4 - Siesta</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../siesta-setup/">SIESTA setup</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../exercise-day3/">Day 3: SIESTA I</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../exercise-day4/">Day 4: SIESTA II</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Day 5 - Yambo</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../Day-5/yambo-tutorial/">Yambo tutorial: Quasiparticles in the GW approximation</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Reference</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../quick-reference/">Quick Reference</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../guide/">Instructor’s guide</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">About</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference external" href="https://enccs.se/lessons/">All lessons</a></li> | ||
<li class="toctree-l1"><a class="reference external" href="https://enccs.se/">ENCCS</a></li> | ||
</ul> | ||
|
||
</div> | ||
</div> | ||
</nav> | ||
|
||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" > | ||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> | ||
<a href="../../../">Efficient materials modelling on HPC with Quantum ESPRESSO, Siesta and Yambo</a> | ||
</nav> | ||
|
||
<div class="wy-nav-content"> | ||
<div class="rst-content"> | ||
<div role="navigation" aria-label="Page navigation"> | ||
<ul class="wy-breadcrumbs"> | ||
<li><a href="../../../" class="icon icon-home" aria-label="Home"></a></li> | ||
<li class="breadcrumb-item active">EXERCISE 0 - First serial run</li> | ||
<li class="wy-breadcrumbs-aside"> | ||
<a href="https://github.com/ENCCS/max-coe-workshop/blob/main/content/Day-1/ex0-run/README.md" class="fa fa-github"> Edit on GitHub</a> | ||
</li> | ||
</ul> | ||
<hr/> | ||
</div> | ||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> | ||
<div itemprop="articleBody"> | ||
|
||
<section id="exercise-0-first-serial-run"> | ||
<h1>EXERCISE 0 - First serial run<a class="headerlink" href="#exercise-0-first-serial-run" title="Link to this heading"></a></h1> | ||
<p>We will only use pw.x for this hands-on.<br /> | ||
The executable of QEv7.2 for CPU is compiled in the directory:</p> | ||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> /leonardo_work/EUHPC_TD02_030/builds/qe7.2/bin | ||
</pre></div> | ||
</div> | ||
<p>Check that the module works by submitting a quick serial test.<br /> | ||
Open the Slurm batch file, fill the dots with the right numbers/commands (dots at lines 3, 8, 9, 22, 25) and submit it:</p> | ||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> sbatch ex0-run.slurm | ||
</pre></div> | ||
</div> | ||
<p>To see the submission status of your job:</p> | ||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> squeue -u YOUR_USERNAME | ||
</pre></div> | ||
</div> | ||
</section> | ||
|
||
|
||
</div> | ||
</div> | ||
<footer> | ||
|
||
<hr/> | ||
|
||
<div role="contentinfo"> | ||
<p>© Copyright 2024, The contributors.</p> | ||
</div> | ||
|
||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a | ||
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> | ||
provided by <a href="https://readthedocs.org">Read the Docs</a>. | ||
|
||
|
||
</footer> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
<script> | ||
jQuery(function () { | ||
SphinxRtdTheme.Navigation.enable(true); | ||
}); | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,172 @@ | ||
<!DOCTYPE html> | ||
<html class="writer-html5" lang="en" data-content_root="../../../"> | ||
<head> | ||
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>EXERCISE 1 - Parallelization with pools — Efficient materials modelling on HPC with Quantum ESPRESSO, Siesta and Yambo documentation</title> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/pygments.css?v=80d5e7a1" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/css/theme.css?v=19f00094" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/copybutton.css?v=76b2166b" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/togglebutton.css?v=13237357" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx_lesson.css?v=0c089442" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/term_role_formatting.css?v=4194e21c" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/sphinx_rtd_theme_ext_color_contrast.css?v=8e8ea19f" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/graphviz.css?v=eafc0fe6" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/tabs.css?v=a5c4661c" /> | ||
<link rel="stylesheet" type="text/css" href="../../../_static/overrides.css?v=0572569b" /> | ||
|
||
|
||
<link rel="shortcut icon" href="../../../_static/favicon.ico"/> | ||
<!--[if lt IE 9]> | ||
<script src="../../../_static/js/html5shiv.min.js"></script> | ||
<![endif]--> | ||
|
||
<script src="../../../_static/jquery.js?v=5d32c60e"></script> | ||
<script src="../../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> | ||
<script src="../../../_static/documentation_options.js?v=187304be"></script> | ||
<script src="../../../_static/doctools.js?v=888ff710"></script> | ||
<script src="../../../_static/sphinx_highlight.js?v=dc90522c"></script> | ||
<script src="../../../_static/clipboard.min.js?v=a7894cd8"></script> | ||
<script src="../../../_static/copybutton.js?v=f281be69"></script> | ||
<script src="../../../_static/minipres.js?v=a0d29692"></script> | ||
<script>let toggleHintShow = 'Click to show';</script> | ||
<script>let toggleHintHide = 'Click to hide';</script> | ||
<script>let toggleOpenOnPrint = 'true';</script> | ||
<script src="../../../_static/togglebutton.js?v=4a39c7ea"></script> | ||
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script> | ||
<script>var togglebuttonSelector = '.toggle, .admonition.dropdown';</script> | ||
<script data-domain="enccs.github.io/Efficient-materials-modelling-on-HPC" defer="defer" src="https://plausible.io/js/script.js"></script> | ||
<script src="../../../_static/js/theme.js"></script> | ||
<link rel="index" title="Index" href="../../../genindex/" /> | ||
<link rel="search" title="Search" href="../../../search/" /> | ||
</head> | ||
|
||
<body class="wy-body-for-nav"> | ||
<div class="wy-grid-for-nav"> | ||
<nav data-toggle="wy-nav-shift" class="wy-nav-side"> | ||
<div class="wy-side-scroll"> | ||
<div class="wy-side-nav-search" > | ||
|
||
|
||
|
||
<a href="../../../" class="icon icon-home"> | ||
Efficient materials modelling on HPC with Quantum ESPRESSO, Siesta and Yambo | ||
<img src="../../../_static/ENCCS.jpg" class="logo" alt="Logo"/> | ||
</a> | ||
<div role="search"> | ||
<form id="rtd-search-form" class="wy-form" action="../../../search/" method="get"> | ||
<input type="text" name="q" placeholder="Search docs" aria-label="Search docs" /> | ||
<input type="hidden" name="check_keywords" value="yes" /> | ||
<input type="hidden" name="area" value="default" /> | ||
</form> | ||
</div> | ||
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu"> | ||
<p class="caption" role="heading"><span class="caption-text">Days 1 and 2 - Quantum ESPRESSO</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../lectures-day1/">Quantum ESPRESSO Lectures</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../lectures-day2/">Lectures</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Days 3 and 4 - Siesta</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../siesta-setup/">SIESTA setup</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../exercise-day3/">Day 3: SIESTA I</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../exercise-day4/">Day 4: SIESTA II</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Day 5 - Yambo</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../Day-5/yambo-tutorial/">Yambo tutorial: Quasiparticles in the GW approximation</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">Reference</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../quick-reference/">Quick Reference</a></li> | ||
<li class="toctree-l1"><a class="reference internal" href="../../../guide/">Instructor’s guide</a></li> | ||
</ul> | ||
<p class="caption" role="heading"><span class="caption-text">About</span></p> | ||
<ul> | ||
<li class="toctree-l1"><a class="reference external" href="https://enccs.se/lessons/">All lessons</a></li> | ||
<li class="toctree-l1"><a class="reference external" href="https://enccs.se/">ENCCS</a></li> | ||
</ul> | ||
|
||
</div> | ||
</div> | ||
</nav> | ||
|
||
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" > | ||
<i data-toggle="wy-nav-top" class="fa fa-bars"></i> | ||
<a href="../../../">Efficient materials modelling on HPC with Quantum ESPRESSO, Siesta and Yambo</a> | ||
</nav> | ||
|
||
<div class="wy-nav-content"> | ||
<div class="rst-content"> | ||
<div role="navigation" aria-label="Page navigation"> | ||
<ul class="wy-breadcrumbs"> | ||
<li><a href="../../../" class="icon icon-home" aria-label="Home"></a></li> | ||
<li class="breadcrumb-item active">EXERCISE 1 - Parallelization with pools</li> | ||
<li class="wy-breadcrumbs-aside"> | ||
<a href="https://github.com/ENCCS/max-coe-workshop/blob/main/content/Day-1/ex1-pools/README.md" class="fa fa-github"> Edit on GitHub</a> | ||
</li> | ||
</ul> | ||
<hr/> | ||
</div> | ||
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article"> | ||
<div itemprop="articleBody"> | ||
|
||
<section id="exercise-1-parallelization-with-pools"> | ||
<h1>EXERCISE 1 - Parallelization with pools<a class="headerlink" href="#exercise-1-parallelization-with-pools" title="Link to this heading"></a></h1> | ||
<p>Try to predict the best value of npool and check it by performing a series of runs.</p> | ||
<ol class="arabic"> | ||
<li><p>Open the batch file ‘ex1-pools.slurm’ and customize the user-related SLURM options like job-name and mail-user (not essential at all);<br /> | ||
Replace the dots with a list of proper values for npool, e.g:</p> | ||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> for ip in 1 2 3 4 5 6 -not necessarily the right values here! | ||
do | ||
</pre></div> | ||
</div> | ||
</li> | ||
<li><p>Submit the job file:</p> | ||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> sbatch ex1-pools.slurm | ||
</pre></div> | ||
</div> | ||
</li> | ||
<li><p>Look for total WALL time at the end of each output file:</p> | ||
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span> PWSCF : 2m 0.69s CPU 2m 5.06s WALL | ||
</pre></div> | ||
</div> | ||
</li> | ||
</ol> | ||
<p>and plot TIME(npool). Which is the best npool value? Why?</p> | ||
<ol class="arabic simple" start="4"> | ||
<li><p>You can try with different numbers of MPI tasks.</p></li> | ||
</ol> | ||
</section> | ||
|
||
|
||
</div> | ||
</div> | ||
<footer> | ||
|
||
<hr/> | ||
|
||
<div role="contentinfo"> | ||
<p>© Copyright 2024, The contributors.</p> | ||
</div> | ||
|
||
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a | ||
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> | ||
provided by <a href="https://readthedocs.org">Read the Docs</a>. | ||
|
||
|
||
</footer> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
<script> | ||
jQuery(function () { | ||
SphinxRtdTheme.Navigation.enable(true); | ||
}); | ||
</script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.