Difference between revisions of "Workflow Online Calculation"
Line 4: | Line 4: | ||
<p>Matgen also provides module to run and analyze Density Functional Theory (DFT) calculations. It relies on Tianhe-2 computing cluster to run simulation jobs, so users need to [[:login]] with their starlight account, [[:associate system account]] and make sure they have bought computing resources on Tianhe-2c WORK cluster before running DFT calculations through Matgen. Currently, Matgen only support DFT calculations which run with Vienna Ab initio Simulation Package (VASP), so to use this module, users must have valid VASP license.</p> | <p>Matgen also provides module to run and analyze Density Functional Theory (DFT) calculations. It relies on Tianhe-2 computing cluster to run simulation jobs, so users need to [[:login]] with their starlight account, [[:associate system account]] and make sure they have bought computing resources on Tianhe-2c WORK cluster before running DFT calculations through Matgen. Currently, Matgen only support DFT calculations which run with Vienna Ab initio Simulation Package (VASP), so to use this module, users must have valid VASP license.</p> | ||
<p>This module mainly supports workflow design, workflow submission and workflow status monitoring, analyzed data visualization and workflow cancellation.</p> | <p>This module mainly supports workflow design, workflow submission and workflow status monitoring, analyzed data visualization and workflow cancellation.</p> | ||
+ | <div>__TOC__</div> | ||
− | = | + | = Choose System for DFT calculation = |
<p>To run DFT simulation for a particular system, users can enter this module through “Inorganic Crystal Materials” module in the main page, and then users can search and choose the material for DFT calculation.</p> | <p>To run DFT simulation for a particular system, users can enter this module through “Inorganic Crystal Materials” module in the main page, and then users can search and choose the material for DFT calculation.</p> | ||
[[Image:1.png|500px|frameless|center]] | [[Image:1.png|500px|frameless|center]] | ||
Line 14: | Line 15: | ||
<p style="text-align:center">Pic 3 Enter DFT calculation page: click “RERUN</p> | <p style="text-align:center">Pic 3 Enter DFT calculation page: click “RERUN</p> | ||
− | + | = Workflow Design = | |
<p>Matgen provides a whole workflow which includes Magnetic Testing, Geometry Optimization, Static Calculation, Band Structure Calculation, Density of States Calculation, and Magnetic Calculation. Users can choose any calculation to run and modify Input Files for each calculation.</p> | <p>Matgen provides a whole workflow which includes Magnetic Testing, Geometry Optimization, Static Calculation, Band Structure Calculation, Density of States Calculation, and Magnetic Calculation. Users can choose any calculation to run and modify Input Files for each calculation.</p> | ||
− | + | == Calculation Process Design == | |
<p>Though Matgen provide five calculations in the workflow, it is not necessary to run all in reality and users may choose part of properties for simulation. In this case, users can click the calculation name and delete it.</p> | <p>Though Matgen provide five calculations in the workflow, it is not necessary to run all in reality and users may choose part of properties for simulation. In this case, users can click the calculation name and delete it.</p> | ||
[[Image:4.png|500px|frameless|center]] | [[Image:4.png|500px|frameless|center]] | ||
<p style="text-align:center">Pic 4 Delete “Magnetic Testing”: click “Magnetic Testing”; click “delete”</p> | <p style="text-align:center">Pic 4 Delete “Magnetic Testing”: click “Magnetic Testing”; click “delete”</p> | ||
− | + | == Input Parameter Setting == | |
<p>VASP has four input files, INCAR, KPOINTS, POSCAR and POTCAR. For INCAR, KPOINTS, and POSCAR, Matgen provides a default content so that the VASP calculation result can be more physically meaningful. Users can adjust file content directly through choosing calculation, click the file name users want to edit and modifying content in the right side. For POTCAR, as POTCAR file can be generated by combining POTCAR files of each element in the system together, users choose pseudo potential of each element instead of editing the whole POTCAR file.</p> | <p>VASP has four input files, INCAR, KPOINTS, POSCAR and POTCAR. For INCAR, KPOINTS, and POSCAR, Matgen provides a default content so that the VASP calculation result can be more physically meaningful. Users can adjust file content directly through choosing calculation, click the file name users want to edit and modifying content in the right side. For POTCAR, as POTCAR file can be generated by combining POTCAR files of each element in the system together, users choose pseudo potential of each element instead of editing the whole POTCAR file.</p> | ||
[[Image:5.png|500px|frameless|center]] | [[Image:5.png|500px|frameless|center]] | ||
<p style="text-align:center">Pic 5 Edit “Geometry Optimization” input files: click “Geometry Optimization”; click “Settings”; click the file to modify; modify directly</p> | <p style="text-align:center">Pic 5 Edit “Geometry Optimization” input files: click “Geometry Optimization”; click “Settings”; click the file to modify; modify directly</p> | ||
− | + | == Calculation Configuration Setting == | |
− | <p>For high-throughput jobs, users need to set calculation configurations to better run VASP. The main configuration is node number. In Matgen, users can choose node number | + | <p>For high-throughput jobs, users need to set calculation configurations to better run VASP. The main configuration is node number. In Matgen, users can choose node number less than 4 for each calculation except Band Structure Calculation.</p> |
[[Image:6.png|500px|frameless|center]] | [[Image:6.png|500px|frameless|center]] | ||
<p style="text-align:center">Pic 6 Set node number for each calculation: click “submit” button after editing input files; click “submit”; choose node number for each calculation; click submit to submit workflow</p> | <p style="text-align:center">Pic 6 Set node number for each calculation: click “submit” button after editing input files; click “submit”; choose node number for each calculation; click submit to submit workflow</p> | ||
− | + | = Workflow Status Monitoring = | |
− | <p>After workflow submission, users will enter job list page, and can check workflow status and status of each | + | <p>After workflow submission, users will enter job list page, and can check workflow status and status of each step in workflow.</p> |
[[Image:7.png|500px|frameless|center]] | [[Image:7.png|500px|frameless|center]] | ||
<p style="text-align:center">Pic 7 Get status of each calculation in a workflow: click “refresh” button; click “W” button; click “check” button</p> | <p style="text-align:center">Pic 7 Get status of each calculation in a workflow: click “refresh” button; click “W” button; click “check” button</p> | ||
Line 38: | Line 39: | ||
<p style="text-align:center">Pic 8 Status of each calculation in a workflow</p> | <p style="text-align:center">Pic 8 Status of each calculation in a workflow</p> | ||
− | + | = Data Visualization = | |
<p>Once each calculation in a workflow is finished and there is no error in calculation, users can see results which have been processed after calculation.</p> | <p>Once each calculation in a workflow is finished and there is no error in calculation, users can see results which have been processed after calculation.</p> | ||
[[Image:9.png|500px|frameless|center]] | [[Image:9.png|500px|frameless|center]] | ||
<p style="text-align:center">Pic 9 Get data after workflow calculation: click “view” button in job lists</p> | <p style="text-align:center">Pic 9 Get data after workflow calculation: click “view” button in job lists</p> | ||
− | + | = Workflow Cancellation = | |
<p>To cancel a running workflow, users can select this workflow from job list, and then cancel it.</p> | <p>To cancel a running workflow, users can select this workflow from job list, and then cancel it.</p> | ||
[[Image:10.png|500px|frameless|center]] | [[Image:10.png|500px|frameless|center]] |
Revision as of 01:08, 9 July 2020
Matgen also provides module to run and analyze Density Functional Theory (DFT) calculations. It relies on Tianhe-2 computing cluster to run simulation jobs, so users need to login with their starlight account, associate system account and make sure they have bought computing resources on Tianhe-2c WORK cluster before running DFT calculations through Matgen. Currently, Matgen only support DFT calculations which run with Vienna Ab initio Simulation Package (VASP), so to use this module, users must have valid VASP license.
This module mainly supports workflow design, workflow submission and workflow status monitoring, analyzed data visualization and workflow cancellation.
Choose System for DFT calculation
To run DFT simulation for a particular system, users can enter this module through “Inorganic Crystal Materials” module in the main page, and then users can search and choose the material for DFT calculation.
Pic 1 Enter “Inorganic Crystal Materials” module
Pic 2 Search the target material and enter material detail page
Pic 3 Enter DFT calculation page: click “RERUN
Workflow Design
Matgen provides a whole workflow which includes Magnetic Testing, Geometry Optimization, Static Calculation, Band Structure Calculation, Density of States Calculation, and Magnetic Calculation. Users can choose any calculation to run and modify Input Files for each calculation.
Calculation Process Design
Though Matgen provide five calculations in the workflow, it is not necessary to run all in reality and users may choose part of properties for simulation. In this case, users can click the calculation name and delete it.
Pic 4 Delete “Magnetic Testing”: click “Magnetic Testing”; click “delete”
Input Parameter Setting
VASP has four input files, INCAR, KPOINTS, POSCAR and POTCAR. For INCAR, KPOINTS, and POSCAR, Matgen provides a default content so that the VASP calculation result can be more physically meaningful. Users can adjust file content directly through choosing calculation, click the file name users want to edit and modifying content in the right side. For POTCAR, as POTCAR file can be generated by combining POTCAR files of each element in the system together, users choose pseudo potential of each element instead of editing the whole POTCAR file.
Pic 5 Edit “Geometry Optimization” input files: click “Geometry Optimization”; click “Settings”; click the file to modify; modify directly
Calculation Configuration Setting
For high-throughput jobs, users need to set calculation configurations to better run VASP. The main configuration is node number. In Matgen, users can choose node number less than 4 for each calculation except Band Structure Calculation.
Pic 6 Set node number for each calculation: click “submit” button after editing input files; click “submit”; choose node number for each calculation; click submit to submit workflow
Workflow Status Monitoring
After workflow submission, users will enter job list page, and can check workflow status and status of each step in workflow.
Pic 7 Get status of each calculation in a workflow: click “refresh” button; click “W” button; click “check” button
Pic 8 Status of each calculation in a workflow
Data Visualization
Once each calculation in a workflow is finished and there is no error in calculation, users can see results which have been processed after calculation.
Pic 9 Get data after workflow calculation: click “view” button in job lists
Workflow Cancellation
To cancel a running workflow, users can select this workflow from job list, and then cancel it.
Pic 10 Cancel workflow: select from job list; click “X” button