Workflow Online Calculation

From wiki
Revision as of 01:08, 9 July 2020 by Moq (Talk | contribs)

Jump to: navigation, search

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.

1.png

Pic 1 Enter “Inorganic Crystal Materials” module

2.png

Pic 2 Search the target material and enter material detail page

3.png

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.

4.png

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.

5.png

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.

6.png

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.

7.png

Pic 7 Get status of each calculation in a workflow: click “refresh” button; click “W” button; click “check” button

8.png

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.

9.png

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.

10.png

Pic 10 Cancel workflow: select from job list; click “X” button