.. _job-section: ============================== Creating calculation Jobs ============================== .. note:: This chapter covers Quloud Ver.7.0.3 (checked on December 1, 2026). ------------------------------ Overview ------------------------------ Create a calculation Job from the Material details screen. 1. Choose an engine and a workflow. 2. Enter a Job name and set the input parameters for each step. 3. Click "Create" to register the Job. Registering a Job does not start the calculation. See :doc:`runjob` to run it. .. note:: In Ver.6.1.2 and earlier, each type of calculation had its own input form. In Ver.7.0, the fields depend on the engine and workflow you select. For details on how older Jobs appear, see :doc:`specifications`. ------------------------------ Prerequisites ------------------------------ - Register the Material you want to use. See :doc:`jobs_and_models_atom`. - You must belong to the Project that contains the Material. - The engine you want to use must be available in your tenant. See :doc:`introduction`. ------------------------------ Procedure ------------------------------ ################################## 1. Choose an engine and a workflow ################################## On the Material details screen, click "Create Job" to the right of "Initial Structure". The "Select Engine / Workflow" dialog opens. Choose from "ENGINES" on the left or "WORKFLOWS" on the right. You can start with either list. Both lists group the options by category and have a search field at the top. **Selecting an item filters the other list to compatible choices.** The count at the top right of each list shows how many choices match, such as "2 compatible". .. figure:: images/v70/calculation_selection_chosen.png :alt: Quantum ESPRESSO and Electronic Band Structure are selected. The two compatible engines are Quantum ESPRESSO and OpenMX. Of the 13 compatible workflows, Effective Mass and Electrostatic Potential appear below Electronic Band Structure. The selected pair appears at the bottom beside the enabled Open button. Selected engine and workflow Check your selection at the bottom. Click "Clear" to choose again or "Open" to go to the input form. See :doc:`specifications` for the list of engine and workflow combinations. .. note:: Unavailable combinations appear in gray. **Psi4 accepts only molecules.** **Quantum ESPRESSO and OpenMX accept only crystals.** You can select only engines assigned to your tenant. ################################################ 2. Enter a Job name and set the input parameters ################################################ The top of the "Create Job" form shows your workflow, engine and the steps that will run. .. figure:: images/v70/calculation_form_step1.png :alt: The Create Job form shows Electronic Band Structure, Quantum ESPRESSO and the sequence scf → bands → band_structure. Below Job Name are three step tabs. Step 1 shows two columns of Physical Model fields, including spin, exchange-correlation functional, k-grid and charge state. Create Job form for step 1 Enter a name in "Job Name". This field is required. **Each step in a multistep workflow has its own tab.** For example, "Electronic Band Structure" has three steps. Open each tab to set its parameters. Some steps have no input fields. .. figure:: images/v70/calculation_form_step3.png :alt: The Step 3 tab for Electronic Band Structure has no fields. Only the Cancel and Create buttons appear below the tabs. A step without input fields (step 3) The form groups related fields under headings. Scroll down inside the dialog to see the remaining groups. .. figure:: images/v70/calculation_form_groups.png :alt: Farther down the Create Job form, fields appear under Pseudopotential, Experimental Parameters and Instrument Parameters. Field groups lower in the form .. note:: Type a number directly or use the ▲ and ▼ buttons on the right of the field to change the value one increment at a time. If a button takes the value outside the limits in the "Range / constraints" column, the field keeps the value and displays an error below it. When you leave a field that uses scientific notation, it displays positive values within range to two significant figures. Quloud saves the value you entered at its original precision. Select the field again to see it. Some workflows add tabs for selecting structures or results from existing Jobs. - NEB (Nudged Elastic Band) uses "Select Initial Structure" and "Select Final Structure". - For "Exchange Coupling Parameters" (SPRKKR), use "Select SCF Result" to choose an SPR-KKR SCF result for the same Material. - For "Magnetic Monte Carlo" (Quloud-Mag), use "Select JXC Result" to choose an SPR-KKR exchange-coupling result for the same Material. - For "Effective Mass" (Quantum ESPRESSO), choose an electronic band structure Job in "Select Band Structure Result" in step 1. - For "Electrostatic Potential" (Quantum ESPRESSO), choose a single-point SCF, geometry optimization or lattice optimization Job in "Select SCF Result" in step 1. For effective mass and electrostatic potential, choose a Quantum ESPRESSO Job for the same Material in the same Project. The Job must have finished successfully and still have the required output. Neither workflow has parameters to set in step 2. .. figure:: images/v70/calculation_select_band_job.png :alt: In the Effective Mass form for Quantum ESPRESSO, Step 1 is Select Band Structure Result and Step 2 is Effective Mass. Four electronic band structure Jobs have radio buttons and columns for Job Name, Workflow and Finished. Select a band structure result for an effective mass calculation in step 1 .. figure:: images/v70/calculation_select_scf_job.png :alt: In the Electrostatic Potential form, Step 1 is Select SCF Result and Step 2 is Electrostatic Potential. The list shows two Jobs, one geometry optimization and one SCF calculation, with their names, workflows and finish dates. Select an SCF result for an electrostatic potential calculation in step 1 To use an optimized structure as the initial or final structure for NEB, first click "Save as Material" on the final structure result card. Select that saved Material in the NEB form. See :doc:`visualization`. For parameter descriptions, defaults and ranges, see "Input parameters" below. ############################## Using the new engines ############################## The following engines have specific requirements for the Material or the inputs you supply when creating a Job. .. list-table:: :header-rows: 1 :widths: 18 82 * - Engine - Creating the Job * - GROMACS - GROMACS generates the force field, charges and topology from the input structure. The form has no topology file upload field. For molecular dynamics, set the periodic boundary conditions, ensemble, temperature, pressure (for NPT) and output interval. If the system contains charged molecules, enter the charge for each species in "Net Charge per Species". See :doc:`specifications`. * - HybMD - Under "Pseudopotential", select a file and set the core width for each element. Selecting a file fills in the recommended width for the element and file family (BLPS or HQLPP). If you change an element's core width yourself, selecting another file preserves your value. * - RadonPy - RadonPy is available only for Materials with a SMILES string. The form fills in the SMILES from the Material and does not allow edits. A polymer property Job runs "QM Geometry Optimization & RESP Charges", then "Polymer Equilibration MD", then the property calculation you selected. * - Psi4 - Psi4 is available only for molecular Materials. Specify the spin multiplicity, reference, calculation method and basis set. Only certain reference and method combinations are available. For RadonPy, see "Select a polymer preset" in :doc:`jobs_and_models_atom`. For GROMACS, HybMD and Psi4 restrictions and supported combinations, see :doc:`specifications`. ############################## 3. Register the Job ############################## Click "Create". The Job appears under "Job" on the Material details screen with the status "Registered". You can edit, copy or delete the Job before you run it. See :doc:`jobdetail`. ------------------------------ Results ------------------------------ - The new Job appears in the Material's "Job" pane with the status "Registered". - At this point the calculation has not started and no points have been used. - Click "Run Job" to run the calculation. See :doc:`runjob`. ------------------------------ Notes ------------------------------ - Before registering a Job, check :doc:`specifications` for engine-specific restrictions and known issues. - To run a calculation from your own input files, supply them together when you register the Material. See :doc:`jobs_and_models_atom`. ------------------------------ Input parameters ------------------------------ The **engine and workflow combination** determines which fields appear. In a multistep workflow, each tab shows the fields for that step's combination. For example, "Electronic Band Structure" in Quantum ESPRESSO uses the following combinations in order. - Quantum ESPRESSO / Single-Point SCF - Quantum ESPRESSO / Fixed-Potential Electronic Structure (Band) - Quantum ESPRESSO / Electronic Band Structure The tables below list the input parameters for each combination. .. list-table:: :header-rows: 1 :widths: 20 80 * - Column - Meaning * - Name - The field label on the form. * - Key - An internal identifier that may also appear in input or output files. * - Type - The kind of input field. * - Unit - The unit of the value, or ``-`` for a field without a unit. * - Default - The value used if you leave the field unchanged. * - Range / constraints - The allowed range and whether a value is required. * - Options - The values available in a selection field. * - Shown when - The conditions on other fields that make this field visible. A field with no condition is always visible. The tables follow the order of the "Create Job" form and use the same group headings, "Physical Model", "Experimental Parameters" and "Instrument Parameters". .. note:: Two parameters in the tables have dedicated editors. - "Temperature Schedule" appears for LAMMPS molecular dynamics with the "NVT (canonical)" or "NPT (isothermal-isobaric)" ensemble. In each row, set the temperature, pressure (NPT only) and number of steps. Click "Add row" to add a row or use the button on the right to remove one. **The last row sets the temperature, pressure (for NPT) and number of steps for the production MD run, including measurements.** Each earlier row sets the number of steps over which the system moves to the values in the next row. With "NVE (microcanonical)", the schedule is hidden. Enter one temperature and one step count as before. - "Site Occupancy" appears for SPRKKR single-point SCF. For each atomic site, edit the elements and their occupancies in the table. Open the periodic table with the button at the top right to add elements. You can also remove elements you have added. **Occupancies at each site must add up to 1.** Otherwise, the site number appears in red and an error message appears. .. note:: The following fields and displays depend on the elements or structure of the selected Material, so they do not appear in the tables. - Pseudopotentials. Choose a "Pseudopotential Set" and a pseudopotential file for each element. - Atomic constraints and initial spins. Set these for each atomic site. Quantum ESPRESSO sets initial spins by element. When you select collinear or non-collinear magnetism under "Spin", use the element's "Initial Magnetic Moment (starting_magnetization)" field under "Pseudopotential". - HybMD pseudopotentials. - Atom correspondence table for "SCF for X-ray Absorption Spectrum". Under "Pseudopotential", the table lists the atoms in structure order and identifies each element. Enter the corresponding index in "Absorber Atom Index". .. include:: _generated/params_all.rst