You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h1>jobflow<aclass="headerlink" href="#jobflow" title="Link to this heading">#</a></h1>
393
+
<p><aclass="reference external" href="https://materialsproject.github.io/jobflow/index.html"><codeclass="docutils literal notranslate"><spanclass="pre">jobflow</span></code></a> and <aclass="reference external" href="https://materialsproject.github.io/atomate2/index.html"><codeclass="docutils literal notranslate"><spanclass="pre">atomate2</span></code></a> are key packages of the <aclass="reference external" href="https://materialsproject.org/">Materials Project</a> . <codeclass="docutils literal notranslate"><spanclass="pre">jobflow</span></code> was especially designed to simplify the execution of dynamic workflows – when the actual number of jobs is dynamically determined upon runtime instead of being statically fixed before running the workflow(s). <codeclass="docutils literal notranslate"><spanclass="pre">jobflow</span></code>’s overall flexibility allows for building workflows that go beyond the usage in materials science. <codeclass="docutils literal notranslate"><spanclass="pre">jobflow</span></code> serves as the basis of <codeclass="docutils literal notranslate"><spanclass="pre">atomate2</span></code>, which implements data generation workflows in the context of materials science and will be used for data generation in the Materials Project in the future.</p>
392
394
<sectionid="define-workflow-with-jobflow">
393
395
<h2>Define workflow with jobflow<aclass="headerlink" href="#define-workflow-with-jobflow" title="Link to this heading">#</a></h2>
396
+
<p>We start by importing the job decorator and Flow class from <codeclass="docutils literal notranslate"><spanclass="pre">jobflow</span></code> and the respective PWD tools.</p>
@@ -420,6 +423,10 @@ <h2>Define workflow with jobflow<a class="headerlink" href="#define-workflow-wit
420
423
</div>
421
424
</div>
422
425
</div>
426
+
</section>
427
+
<sectionid="quantum-espresso-workflow">
428
+
<h2>Quantum Espresso Workflow<aclass="headerlink" href="#quantum-espresso-workflow" title="Link to this heading">#</a></h2>
429
+
<p>We will use the knowledge from the previous arithmetic workflow example to create the Quantum Espresso-related tasks for calculating an “Energy vs. Volume” curve. It’s important to note that this is only a basic implementation, and further extensions towards data validation or for a simplified user experience can be added. For example, one can typically configure run commands for quantum-chemical programs via configuration files in atomate2.</p>
@@ -483,6 +491,7 @@ <h2>Define workflow with jobflow<a class="headerlink" href="#define-workflow-wit
483
491
</div>
484
492
</div>
485
493
</div>
494
+
<p>Next, for the “Energy vs. Volume” curve, we meed to specify the number of strained structures and save them into a list object. For each of the strained structures, we will carry out a QE calculation.</p>
@@ -552,6 +562,7 @@ <h2>Define workflow with jobflow<a class="headerlink" href="#define-workflow-wit
552
562
</section>
553
563
<sectionid="load-workflow-with-aiida">
554
564
<h2>Load Workflow with aiida<aclass="headerlink" href="#load-workflow-with-aiida" title="Link to this heading">#</a></h2>
565
+
<p>Now, we can import the workflow, run it with <codeclass="docutils literal notranslate"><spanclass="pre">aiida</span></code> and plot the “Energy vs. Volume” curve.</p>
0 commit comments