Explore & Run Workflows¶
Quick Start¶
Tip
The majority of this guide covers initial setup for first-time users. For subsequent workflow runs, only steps 8-10 are necessary.
-
Initialize your Simmate database, which will be created at
~/simmate/my_env-database.sqlite3and wheremy_envis the name of your active conda environment:simmate database reset -
Create a structure file for sodium chloride, which we will use to practice calculations. Name it
POSCARand add the following text to it:Na1 Cl1 1.0 3.485437 0.000000 2.012318 1.161812 3.286101 2.012318 0.000000 0.000000 4.024635 Na Cl 1 1 direct 0.000000 0.000000 0.000000 Na 0.500000 0.500000 0.500000 Cl -
Use the following command to view a list of all available workflows:
simmate workflows list-all -
Learn about all workflows interactively with the following command:
simmate workflows exploreNote
There are a variety of software options for QM, DFT, or other analyses (e.g., VASP, Abinit, QE, LAMMPS, etc.). In this tutorial, we will use Quantum Espresso because we have Docker images for those who don't have it installed. If you prefer another program, check the
Appssection in our guides for specific instructions. -
Make sure you have Quantum Espresso (QE) installed using one of two options:
- (for beginners) Install Docker-Desktop. Then run the following command:
simmate config update "quantum_espresso.docker.enable=True" -
(for experts) Install QE using offical guides and make sure
pw.xis in the pathTip
If you choose Docker and need help, see our guides here for installation and common errors.
- (for beginners) Install Docker-Desktop. Then run the following command:
-
To run calculations with QE, we need psuedopotentials. Simmate helps load these from the popular SSSP library:
simmate-qe setup sssp -
Make sure QE is fully configured and ready to use:
simmate config test quantum_espresso -
With everything configured, you can submit your workflow using the website interface, command-line, or Python. Here, we'll use a settings file in YAML format. Create a file named
example.yamlwith the following content:workflow_name: static-energy.quantum-espresso.quality00 structure: POSCAR -
Run the workflow configuration file we just created:
simmate workflows run example.yaml -
The run will create a new folder (e.g.
simmate-task-abcd1234) for your run. Inside, you'll find files namedsimmate_metadata.yamlandsimmate_summary.yamlwhich contain some quick information. Some workflows (likeband-structurecalculations) will also generate plots for you.Tip
While the plots and summary files are useful for quick testing, more detailed information is stored in our database. We'll cover how to access your database in a subsequent tutorial.