From 00282c53c32bde171a8ac838771a2b88a219103d Mon Sep 17 00:00:00 2001
From: Anubhav Jain Bases: Hook method for setting up class fixture before running tests in the class. Bases: Bases: Bases: Checks if path contains valid data for assimilation, and then returns
the valid paths. The paths returned can be a list of directory or file
paths, depending on what kind of data you are assimilating. For
@@ -215,27 +215,27 @@ Post-processing for various files other than the QChem input and output files.
Currently only looks for custodian.json. Modify this if other files need to be processed. Process a QChem run which is known to include multiple calculations
in a single input/output pair. Process a QChem calculation, aka an input/output pair. os.path.exists() for paramiko’s SCP object Connect to the remote host via paramiko using the private key.
If the host key is not present it will be added automatically. Get builder using only a db file. Get a MaterialsEhullBuilder using only a db file. Bases: Enter a BoltzTraP run into the database. Note that this assumes you are in a current dir
+that has the uniform band structure data with a sub-directory called “boltztrap” containing
+the BoltzTraP information. hall_doping (bool): set True to retain hall_doping in dict
+additional_fields (dict): fields added to the document such as user-defined tags or name, ids, etc This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Analyzes the stress/strain data of an elastic workflow to produce
+an elastic tensor and various other quantities. order (int): order of fit to perform
+fw_spec_field (str): if set, will update the task doc with the contents This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Bases: Retrieve the energy and volume data and fit it to the given equation of state. The summary dict
+is written to ‘bulk_modulus.json’ file. db_file (str): path to the db file to_db (bool): if True, the data will be inserted to “eos” collection; otherwise, dumped to a .json file.
+eos (str): equation of state used for fitting the energies and the volumes. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Compute the quasi-harmonic gibbs free energy. There are 2 options available for the
+quasi-harmonic approximation (set via ‘qha_type’ parameter):
+1. use the phonopy package quasi-harmonic approximation interface or
+2. use the debye model.
+Note: Instead of relying on fw_spec, this task gets the required data directly from the
+tasks collection for processing. The summary dict is written to ‘gibbs.json’ file. db_file (str): path to the db file t_min (float): min temperature
+t_step (float): temperature step
+t_max (float): max temperature
+mesh (list/tuple): reciprocal space density
+eos (str): equation of state used for fitting the energies and the volumes. pressure (float): in GPa, optional.
+poisson (float): poisson ratio. Defaults to 0.25.
+anharmonic_contribution (bool): consider anharmonic contributions to pressure (float): in GPa, optional.
+metadata (dict): meta data This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Bases: Insert the a JSON file (default: task.json) directly into the tasks database.
+Note that if the JSON file contains a “task_id” key, that task_id must not already be present
+in the tasks collection. json_filename (str): name of the JSON file to insert (default: “task.json”)
+db_file (str): path to file containing the database credentials. Supports env_chk.
+calc_dir (str): path to dir (on current filesystem) that contains VASP output files. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Recovers the same branch polarization and spontaneous polarization
+for a ferroelectric workflow. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: See: 10.1103/PhysRevB.73.104304.
+The frequencies are in the units of cm^-1. To convert the frequency to THz: multiply by 0.1884. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Bases: Compute the quasi-harmonic thermal expansion coefficient using phonopy. db_file (str): path to the db file t_min (float): min temperature
+t_step (float): temperature step
+t_max (float): max temperature
+mesh (list/tuple): reciprocal space density
+eos (str): equation of state used for fitting the energies and the volumes. pressure (float): in GPa, optional. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Enter a VASP run into the database. Uses current directory unless you
+specify calc_dir or calc_loc. additional_fields (dict): dict of additional fields to add
+db_file (str): path to file containing the database credentials. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Run Boltztrap directly. Requires vasprun.xml and OUTCAR to be in current dir. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Do NOT run vasp. Do nothing. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Run VASP using custodian “on rails”, i.e. in a simple way that supports most common options. gzip_output: (bool) - gzip output (default=T)
+max_errors: (int) - maximum # of errors to fix before giving up (default=5)
+ediffg: (float) shortcut for setting EDIFFG in special custodian jobs
+auto_npar: (bool) - use auto_npar (default=F). Recommended set to T wall_time (int): Total wall time in seconds. Activates WalltimeHandler if set.
+half_kpts_first_relax (bool): Use half the k-points for the first relaxation This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Execute a command directly (no custodian). This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Vasp Emulator This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Modify an INCAR file. incar_update (dict): overwrite Incar dict key. Supports env_chk.
+incar_multiply ([{<str>:<float>}]) - multiply Incar key by a constant input_filename (str): Input filename (if not “INCAR”)
+output_filename (str): Output filename (if not “INCAR”) This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Modify Potcar file. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Displace the structure from the previous calculation along the provided normal mode by the
+given amount and write the corresponding Poscar file. The fw_spec must contain a “normalmodes”
+key with “eigenvecs” sub-key that is likely produced by a previous calc. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Apply the provided transformations to the input structure and write the
+input set for that structure. Reads structure from POSCAR if no structure provided. Note that
+if a transformation yields many structures from one, only the last structure in the list is
+used. structure (Structure): input structure
+transformations (list): list of names of transformation classes as defined in vasp_input_set (VaspInputSet): VASP input set. override_default_vasp_params (dict): additional user input settings.
+prev_calc_dir: path to previous calculation if using structure from another calculation. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Create VASP input files using implementations of pymatgen’s AbstractVaspInputSet. An input set
+can be provided as an object or as a String/parameter combo. structure (Structure): structure
+vasp_input_set (AbstractVaspInputSet or str): Either a VaspInputSet object or a string This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Grabs CONTCARS from two previous calculations to create interpolated
+structure. Create VASP input files using implementations of pymatgen’s
+AbstractVaspInputSet. An input set can be provided as String/parameter
+combo. start (str): name of fw for start of interpolation.
+end (str): name of fw for end of interpolation.
+this_image (int): which interpolation this is.
+nimages (int) : number of interpolations.
+autosort_tol (float): a distance tolerance in angstrom in which vasp_input_set (str): a string name for the VASP input set (e.g., “MPRelaxSet”). This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Write VASP files using pymatgen objects. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Writes input files for HSE band structure run. Assumes that output files from a
+a previous job can be accessed. Since HSE always re-optimizes the charge density (no nSCF mode),
+the previous job is used to get the location of VBM/CBM for mode=”gap” (otherwise just used to
+get the structure / starting charge density). This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Writes input files for a NMR calculation prev_calc_dir: path to previous calculation, else current directory
+mode (str): the NMR calculation type: cs or efg, default is cs
+isotopes (list): list of isotopes to include, default is to include the reciprocol_density (int): the reciprocol density for the kpoint mesh, defaults to 100
+other_aprams (dict) : any other params passsed to MPNMRSet as a dictionary This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Writes input files for an NSCF static run. Assumes that output files from an
+scf job can be accessed. There are many options, e.g. uniform mode,
+line mode, adding the optical properties, etc. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Writes input files for a spinorbit coupling calculation. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Writes input files for a static run. Assumes that output files from a previous
+(e.g., optimization) run can be accessed in current dir or prev_calc_dir. Also allows
+lepsilon (dielectric constant) calcs. This method gets called when the Firetask is run. It can take in a
+Firework spec, perform some task using that data, and then return an
+output in the form of a FWAction. Bases: Hook method for setting up class fixture before running tests in the class. Bases: Hook method for setting up class fixture before running tests in the class. Bases: Bases: Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. Hook method for setting up class fixture before running tests in the class. Remove the scratch directory and teardown the test db. Bases: Hook method for setting up class fixture before running tests in the class. Bases: Run Boltztrap (which includes writing bolztrap input files and parsing outputs). Assumes
+you have a previous FW with the calc_locs passed into the current FW. structure (Structure): - only used for setting name of FW
+name (str): name of this FW
+db_file (str): path to the db file
+parents (Firework): Parents of this particular Firework. FW or list of FWS.
+prev_calc_dir (str): Path to a previous calculation to copy from
+scissor (float): if scissor > 0, apply scissor on the band structure so that new doping: ([float]) doping levels you want to compute
+tmax: (float) max temperature to evaluate
+tgrid: (float) temperature interval
+soc (bool): whether the band structure is calculated with spin-orbit coupling
+additional_fields (dict): fields added to the document such as user-defined tags or name, ids, etc
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: name (str): Name for the Firework.
+lepsilon (bool): Turn on LEPSILON to calculate polar properties
+vasp_cmd (str): Command to run vasp.
+copy_vasp_outputs (str or bool): Whether to copy outputs from previous prev_calc_dir (str): Path to a previous calculation to copy from
+db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. user_incar_settings (dict): Parameters in INCAR to override
+pass_nm_results (bool): if true the normal mode eigen vals and vecs are passed so that **kwargs: Other kwargs that are passed to Firework.__init__. Bases: For getting a more accurate band gap or a full band structure with HSE - requires previous
+calculation that gives VBM/CBM info or the high-symmetry kpoints. parents (Firework): Parents of this particular Firework. FW or list of FWS.
+prev_calc_dir (str): Path to a previous calculation to copy from
+structure (Structure): Input structure - used only to set the name of the FW.
+mode (string): options: name (str): Name for the Firework.
+vasp_cmd (str): Command to run vasp.
+db_file (str): Path to file specifying db credentials.
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: Standard static calculation Firework for dielectric constants using DFPT. name (str): Name for the Firework.
+vasp_cmd (str): Command to run vasp.
+copy_vasp_outputs (bool): Whether to copy outputs from previous db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. mode (int): normal mode index.
+displacement (float): displacement along the normal mode in Angstroms.
+user_incar_settings (dict): Parameters in INCAR to override
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: Standard firework for a single MD run. structure (Structure): Input structure.
+start_temp (float): Start temperature of MD run.
+end_temp (float): End temperature of MD run.
+nsteps (int): Number of MD steps
+name (string): Name for the Firework.
+vasp_input_set (string): string name for the VASP input set (e.g., vasp_cmd (string): Command to run vasp.
+override_default_vasp_params (dict): If this is not None, wall_time (int): Total wall time in seconds before writing STOPCAR.
+copy_vasp_outputs (bool): Whether to copy outputs from previous run. Defaults to True.
+db_file (string): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. FW or list of FWS.
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: CI-NEB Firework in NEB Workflow. Task 2) Run NEB VASP using Custodian
+Task 3) Update structure to spec
+Task 4) Pass CalcLocs named “neb_{}”.format(neb_label) spec (dict): Specification of the job to run.
+neb_label (str): “1”, “2”…, label neb run.
+from_images (bool): Set True to initialize from image structures, False starting user_incar_settings (dict): Additional INCAR settings.
+user_kpoints_settings (dict): Additional KPOINTS settings.
+additional_cust_args (dict): Other kwargs that are passed to RunVaspCustodian.
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: Relaxation Firework in NEB Workflow. Task 1) Read in a structure with “st_label” (“rlx”, “ep0” or “ep1”) and generates input sets.
+Task 2) Run VASP using Custodian
+Task 3) Update structure to spec
+Task 4) Pass CalcLocs named “{}_dir”.format(st_label) Bases: Standard NonSCF Calculation Firework supporting both
+uniform and line modes. structure (Structure): Input structure - used only to set the name of the FW.
+name (str): Name for the Firework.
+mode (str): “uniform” or “line” mode.
+vasp_cmd (str): Command to run vasp.
+copy_vasp_outputs (bool): Whether to copy outputs from previous prev_calc_dir (str): Path to a previous calculation to copy from
+db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. **kwargs: Other kwargs that are passed to Firework.__init__. Bases: Optimize the given structure. structure (Structure): Input structure.
+name (str): Name for the Firework.
+vasp_input_set (VaspInputSet): input set to use. Defaults to MPRelaxSet() if None.
+override_default_vasp_params (dict): If this is not None, these params are passed to vasp_cmd (str): Command to run vasp.
+ediffg (float): Shortcut to set ediffg in certain jobs
+db_file (str): Path to file specifying db credentials to place output parsing.
+force_gamma (bool): Force gamma centered kpoint generation
+job_type (str): custodian job type (default “double_relaxation_run”)
+max_force_threshold (float): max force on a site allowed at end; otherwise, reject job
+auto_npar (bool or str): whether to set auto_npar. defaults to env_chk: “>>auto_npar<<”
+half_kpts_first_relax (bool): whether to use half the kpoints for the first relaxation
+parents ([Firework]): Parents of this particular Firework.
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: Static calculation Firework that computes the DFPT dielectric constant for
+structure displaced along the given normal mode direction. mode (int): normal mode index.
+displacement (float): displacement along the normal mode in Angstroms.
+name (str): Name for the Firework.
+prev_calc_dir (str): Path to a previous calculation to copy from
+vasp_cmd (str): Command to run vasp.
+db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. user_incar_settings (dict): Parameters in INCAR to override
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: Firework for spin orbit coupling calculation. name (str): Name for the Firework.
+prev_calc_dir (str): Path to a previous calculation to copy from
+vasp_cmd (str): Command to run vasp.
+copy_vasp_outputs (bool): Whether to copy outputs from previous db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. **kwargs: Other kwargs that are passed to Firework.__init__. Bases: Standard static calculation Firework - either from a previous location or from a structure. name (str): Name for the Firework.
+vasp_input_set (VaspInputSet): input set to use (for jobs w/no parents) vasp_input_set_params (dict): Dict of vasp_input_set kwargs.
+vasp_cmd (str): Command to run vasp.
+prev_calc_loc (bool or str): If true (default), copies outputs from previous calc. If prev_calc_dir (str): Path to a previous calculation to copy from
+db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. FW or list of FWS.
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: Standard static calculation Firework that interpolates structures from two previous calculations. structure (Structure): Input structure used to name FireWork.
+start (str): PassCalcLoc name of StaticFW or RelaxFW run of starting structure.
+end (str): PassCalcLoc name of StaticFW or RelaxFW run of ending structure.
+name (str): Name for the Firework.
+vasp_input_set (str): Input set to use. Defaults to MPStaticSet.
+vasp_input_set_params (dict): Dict of vasp_input_set_kwargs.
+vasp_cmd (str): Command to run vasp.
+copy_vasp_outputs (bool): Whether to copy outputs from previous run. Defaults to True.
+db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. FW or list of FWS.
+this_image (int): which interpolation to use for this run
+nimages (int): number of interpolations
+autosort_tol (float): a distance tolerance in angstrom in which **kwargs: Other kwargs that are passed to Firework.__init__. Bases: Apply the transformations to the input structure, write the input set corresponding
+to the transformed structure, and run vasp on them. Note that if a transformation yields
+many structures from one, only the last structure in the list is used. structure (Structure): Input structure.
+transformations (list): list of names of transformation classes as defined in name (string): Name for the Firework.
+vasp_cmd (string): Command to run vasp.
+copy_vasp_outputs (bool): Whether to copy outputs from previous run. Defaults to True.
+prev_calc_dir (str): Path to a previous calculation to copy from
+db_file (string): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. FW or list of FWS.
+override_default_vasp_params (dict): additional user input settings for vasp_input_set.
+**kwargs: Other kwargs that are passed to Firework.__init__. Bases: Firework for NMR tensor calculations mode (str): the NMR calculation type: cs or efg, default is cs
+isotopes (list): list of isotopes to include, default is to include the name (str): Name for the Firework.
+prev_calc_dir (str): Path to a previous calculation to copy from
+vasp_cmd (str): Command to run vasp.
+copy_vasp_outputs (bool): Whether to copy outputs from previous db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. kwargs: Other kwargs that are passed to Firework.__init__. Bases: Static Firework that calculates the dipole moment of structure or a single interpolated image of structures
+output by two calculations specified by PassCalcLoc names start and end. This Firework uses three steps to calculate the dipole moment.
+1. A StaticFW or StaticInterpolatFW calculation is performed to compute the band gap of the structure.
+2. Because VASP cannot compute the dipole moment of metallic structures, CheckBandgap checks that the structure
+has a band gap greater than gap_threshold. If the structure has a band gap less than gap_threshold,
+the Firework defuses. Otherwise,
+3. a polarization calculation (LCALCPOL=TRUE) is performed to calculate the dipole moment. If interpolate is equal to True, the keywords start and end are PassCalcLoc names used to locate the output
+structures (CONTCAR) of two previous calculations. These two structures must have the same number and
+type of atoms given in identical order in the structures. These structures are used to create nimages structures
+interpolations. this_image specifies which of the interpolated structures to use in this Firework. For example in the
+ferroelectric workflow, two structures that can be distorted into one another (a
+high-symmetry nonpolar structure and a low-symmetry polar structure) are relaxed using OptimizeFW. Then the
+dipole moment is calculated for nimages intermediate structures generated by interpolating between these two
+relaxed structures. name (str): Name for the polarization FireWork.
+static_name (str): Name for the SCF run to be used in PassCalcLoc if copy_vasp_outputs != True.
+vasp_cmd (str): Command to run vasp.
+vasp_input_set (str): string name for the VASP input set (e.g., “MITMDVaspInputSet”).
+vasp_input_set_params (dict): Dict of vasp_input_set_kwargs.
+db_file (str): Path to file specifying db credentials.
+parents (Firework): Parents of this particular Firework. FW or list of FWS.
+gap_threshold: Band gap cutoff for determining whether polarization calculation will proceed from start (str): PassCalcLoc name of StaticFW or RelaxFW run of starting structure
+end (str): PassCalcLoc name of StaticFW or RelaxFW run of ending structure
+this_image (int): which interpolation to use for this run of the nimage interpolations.
+nimages (int): number of interpolations between CONTCAR structures from calculations indicated by start and Adapted from matgendb.creator set the ‘analysis’ key For all VaspToDbTasks in a given workflow, add information to “additional_fields” to be
+placed in the task doc. Every FireWork that enters into the Db has a band gap check afterwards, e.g. min_gap and max_gap Apply the common powerups such as add_namefile, use_scratch_dir etc. from the given config dict. Every FireWork that runs VASP has a ModifyIncar task just beforehand. For example, allows
+you to modify the INCAR based on the Worker using env_chk or using hard-coded changes. If you set the “incar_update” parameter in the Worker env, the INCAR will update this
+parameter for all matching VASP runs Every FireWork that runs VASP has a ModifyIncar task just beforehand. For example, allows
+you to modify the INCAR based on the Worker using env_chk or using hard-coded changes. Every FireWork begins by writing an empty file with the name
+“FW–<fw.name>”. This makes it easy to figure out what jobs are in what
+launcher directories, e.g. “ls -l launch*/FW–*” from within a “block” dir. Adds priority to a workflow In all FWs with specified name constraints, add a ‘small_gap_multiply’ parameter that
+multiplies the k-mesh density of compounds with gap < gap_cutoff by density multiplier.
+Useful for increasing the k-point mesh for metallic or small gap systems.
+Note that this powerup only works on FireWorks with the appropriate WriteVasp* tasks that
+accept the small_gap_multiply argument… Every FireWork that enters into the Db has a CheckStability task afterward. This
+allows defusing jobs that are not stable. In practice, you might want
+to set the fw_name_constraint so that the stability is only checked at the
+beginning of the workflow Adds tags to all Fireworks in the Workflow, WF metadata, as well as additional_fields for
+the VaspDrone to track them later (e.g. all fireworks and vasp tasks related to a research project) Every FireWork that runs VASP also tracks the OUTCAR, OSZICAR, etc using FWS Trackers. Adds structure metadata to a workflow Cleans up files after another fireworks. Default behavior is to remove WAVECAR after running VASP Simple powerup that clears the modifications to a workflow. Takes a regular workflow and transforms its VASP fireworkers that are specified with
+fw_name_constraints to non-collinear calculations taking spin orbit coupling into account. set _preserve_fworker spec of Fireworker(s) of a Workflow. Can be used to pin a workflow to
+the first fworker it is run with. Very useful when running on multiple machines that can’t
+share files. fw_name_constraint can be used to only preserve fworker after a certain point
+where file passing becomes important Replaces all tasks with “RunVasp*” (e.g. RunVaspCustodian) to be RunVaspDirect. set _fworker spec of Fireworker(s) of a Workflow. It can be used to specify a queue;
+e.g. run large-memory jobs on a separate queue. original_wf (Workflow):
+fworker_name (str): user-defined tag to be added under fw.spec._fworker category (str): category of FWorker that should pul job
+fw_name_constraint (str): name of the Fireworks to be tagged (all if None is passed)
+task_name_constraint (str): name of the Firetasks to be tagged (e.g. None or ‘RunVasp’) Replaces all tasks with “RunVasp*” (e.g. RunVaspDirect) to be RunVaspCustodian. Thus, this
+powerup adds error correction into VASP runs if not originally present and/or modifies
+the correction behavior. original_wf (Workflow): original workflow
+fw_name_constraint (str): Only apply changes to FWs where fw_name contains this substring. Replaces all tasks with “RunVasp” (e.g. RunVaspDirect) to be RunVaspFake. Thus, we do not
+actually run VASP but copy pre-determined inputs and outputs. For all RunVaspCustodian tasks, add the desired scratch dir. Instead of running VASP, does nothing and pass task documents from task.json files in ref_dirs
+to task database. For all RunVaspCustodian tasks, add the desired scratch dir. Bases: Hook method for setting up class fixture before running tests in the class. Bases: Input class for MP slab calcs, mostly to change parameters
+and defaults slightly Initialize self. See help(type(self)) for accurate signature. Incar object Function to generate a a slab firework. Returns a TransmuterFW if
+bulk_structure is specified, constructing the necessary transformations
+from the slab and slab generator parameters, or an OptimizeFW if only a
+slab is specified. parents (Fireworks or list of ints): parent FWs
+db_file (string): path to database file
+vasp_cmd (string): vasp command
+name (string): name of firework
+add_slab_metadata (bool): whether to add slab metadata to task doc Gets a set of slab transformation params Gets a workflow corresponding to a slab calculation along with optional
+adsorbate calcs and precursor oriented unit cell optimization slabs (list of Slabs or Structures): slabs to calculate
+include_bulk_opt (bool): whether to include bulk optimization, adsorbates ([Molecule]): list of molecules to place as adsorbates
+ads_structures_params (dict): parameters to be supplied as db_file (string): path to database file
+vasp_cmd (string): vasp command Convenience constructor that allows a user to construct a workflow
+that finds all adsorption configurations (or slabs) for a given
+max miller index. bulk_structure (Structure): bulk structure from which to construct slabs
+include_bulk_opt (bool): whether to include bulk optimization adsorbates ([Molecule]): adsorbates to place on surfaces
+max_index (int): max miller index
+slab_gen_params (dict): dictionary of kwargs for generate_all_slabs
+ads_structures_params (dict): dictionary of kwargs for generating vasp_cmd (str): vasp command
+db_file (str): location of db file
+add_molecules_in_box (bool): whether to add molecules in a box Returns the workflow that computes the bulk modulus by fitting to the given equation of state. structure (Structure): input structure.
+deformations (list): list of deformation matrices(list of lists).
+vasp_input_set (VaspInputSet): for the static deformation calculations
+vasp_cmd (str): vasp command to run.
+db_file (str): path to the db file.
+user_kpoints_settings (dict): example: {“grid_density”: 7000}
+eos (str): equation of state used for fitting the energies and the volumes. user_incar_settings (dict): Get a workflow given a structure and a name of file from the workflow library. Possible options for wf_filename are listed in: atomate.vasp.workflows.base.library and
+include band structure, dielectric constant, NEB, and more. You can also override some of the parameters via the function arguments. structure: (Structure) structure to run
+wf_filename: filename in library subdir, e.g. “band_structure.yaml”
+params: (list of dicts) set params for each Firework; format is list common_params: (dict) set common params
+vis: (VaspInputSet) A VaspInputSet to use for the first FW
+wf_metadata: (dict) workflow metadata Returns a structure deformation workflow. Firework 1 : structural relaxation
+Firework 2 - len(deformations): Deform the optimized structure and run static calculations. structure (Structure): input structure to be optimized and run
+deformations (list of 3x3 array-likes): list of deformations
+name (str): some appropriate name for the transmuter fireworks.
+vasp_input_set (DictVaspInputSet): vasp input set for static deformed structure calculation.
+vasp_cmd (str): command to run
+db_file (str): path to file containing the database credentials.
+tag (str): some unique string that will be appended to the names of the fireworks so that metadata (dict): meta data Generates a list of “strain-states” Returns a workflow to calculate elastic constants. Firework 2 - number of total deformations: Static runs on the deformed structures last Firework : Analyze Stress/Strain data and fit the elastic tensor structure (Structure): input structure to be optimized and run.
+strain_states (list of Voigt-notation strains): list of ratios of nonzero elements db_file (str): path to file containing the database credentials.
+conventional (bool): flag to convert input structure to conventional structure, sym_reduce (bool): Whether or not to apply symmetry reductions
+tag (str):
+copy_vasp_outputs (bool): whether or not to copy previous vasp outputs.
+kwargs (keyword arguments): additional kwargs to be passed to get_wf_deformations Returns a workflow to calculate the spontaneous polarization of polar_structure using
+a nonpolar reference phase structure and linear interpolations between the polar and
+nonpolar structure. The nonpolar and polar structures must be in the same space group setting and atoms ordered
+such that a linear interpolation can be performed to create intermediate structures along
+the distortion. For example, to calculate the polarization of orthorhombic BaTiO3 (space group 38) using
+the cubic structure (space group 221) as the nonpolar reference phase, we must transform
+the cubic to the orthorhombic setting. This can be accomplished using Bilbao Crystallographic
+Server’s Structure Relations tool. (http://www.cryst.ehu.es/cryst/rel.html) polar_structure (Structure): polar structure of candidate ferroelectric
+nonpolar_structure (Structure): nonpolar reference structure in polar setting
+vasp_input_set_polar (DictVaspInputSet): VASP polar input set. Defaults to MPStaticSet.
+vasp_input_set_nonpolar (DictVaspInputSet): VASP nonpolar input set. Defaults to MPStaticSet.
+vasp_relax_input_set_polar (DictVaspInputSet): VASP polar input set. Defaults to MPRelaxSet.
+vasp_relax_input_set_nonpolar (DictVaspInputSet): VASP nonpolar input set. Defaults to MPRelaxSet.
+vasp_cmd (str): command to run
+db_file (str): path to file containing the database credentials.
+nimages: Number of interpolations calculated from polar to nonpolar structures, including the nonpolar. add_analysis_task: Analyze polarization and energy trends as part of workflow. Default False.
+wfid (string): Unique worfklow id starting with “wfid_”. If None this is atomatically generated (recommended).
+tags (list of strings): Additional tags to add such as identifiers for structures. Returns: Returns quasi-harmonic gibbs free energy workflow.
+Note: phonopy package is required for the final analysis step if qha_type=”phonopy” structure (Structure): input structure.
+deformations (list): list of deformation matrices(list of lists).
+vasp_input_set (VaspInputSet)
+vasp_cmd (str): vasp command to run.
+db_file (str): path to the db file.
+user_kpoints_settings (dict): example: {“grid_density”: 7000}
+t_step (float): temperature step (in K)
+t_min (float): min temperature (in K)
+t_max (float): max temperature (in K)
+mesh (list/tuple): reciprocal space density
+eos (str): equation of state used for fitting the energies and the volumes. pressure (float): in GPa
+poisson (float): poisson ratio
+anharmonic_contribution (bool): consider anharmonic contributions to metadata (dict): meta data
+tag (str): something unique to identify the tasks in this workflow. If None a random uuid This module defines the Nudged Elastic Band (NEB) workflow. Get a CI-NEB workflow from given endpoints.
+Workflow: (Endpoints relax – ) NEB_1 – NEB_2 - … - NEB_r parent (Structure): parent structure.
+endpoints (list[Structure]): The endpoint structures.
+user_incar_settings([dict]): Additional user_incar_settings. Note that the order of the additional_spec (dict): User spec settings to overwrite default_spec.
+user_kpoints_settings ([dict]): Additional user_kpoints_settings, which contains at at Get a CI-NEB workflow from given images.
+Workflow: NEB_1 – NEB_2 - … - NEB_n parent (Structure): parent structure.
+images ([Structure]): All images and two endpoints.
+user_incar_settings([dict]): Additional user_incar_settings. Note that the order of the additional_spec (dict): User spec settings to overwrite default_spec.
+user_kpoints_settings ([dict]): Additional user_kpoints_settings, which contains at at Obtain the CI-NEB workflow staring with a parent structure. This works only under the single
+vacancy diffusion mechanism. structure (Structure): The parent structure.
+user_incar_settings([dict]): Additional user_incar_settings. Note that the order of the additional_spec (dict): User spec settings to overwrite default_spec.
+user_kpoints_settings ([dict]): Additional user_kpoints_settings, which contains at at structure (Structure): Input structure.
+modes (tuple/list): list of modes for which the Raman spectra need to be calculated. vasp_cmd (str): vasp command to run.
+db_file (str): path to file containing the database credentials. Returns quasi-harmonic thermal expansion workflow.
+Note: phonopy package is required for the final analysis step. structure (Structure): input structure.
+deformations (list): list of deformation matrices(list of lists).
+vasp_input_set (VaspInputSet)
+vasp_cmd (str): vasp command to run.
+db_file (str): path to the db file.
+user_kpoints_settings (dict): example: {“grid_density”: 7000}
+t_step (float): temperature step (in K)
+t_min (float): min temperature (in K)
+t_max (float): max temperature (in K)
+mesh (list/tuple): reciprocal space density
+eos (str): equation of state used for fitting the energies and the volumes. pressure (float): in GPa
+tag (str): something unique to identify the tasks in this workflow. If None a random uuid Bulk modulus workflow from the given structure and config dict. Gibbs free energy workflow from the given structure and config dict. Nudged elastic band (NEB) workflow from the given structures and config dict. ‘is_optimized’ default False
+‘neb_round’ default 1 Length of Structure list and “is_optimized” are used to determine the workflow:
+1 structure # The parent structure & two endpoint indexes provided; need relaxation. >=3 structures # All images including two endpoints are provided. parent (Structure): parent structure used to get two endpoints.
+c (dict): workflow config dict, basic format: Raman spectra workflow from the given structure and config dict Thermal expansion coefficient workflow from the given structure and config dict. Bases: Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. Bases: This test will either actually run VASP (if VASP_CMD is set) or artificially pass on outputs
+(if not VASP_CMD) and test the whole bulk modulus workflow and its implementation and outputs
+for an example calculation for silicon. note for the developer of the test:
+This tests can be run in two modes if not VASP_CMD:
+1. first all inputs and outputs of all deformations are present in which case Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. Bases: Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. Bases: Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. Bases: Bases: This test will either actually run VASP (if VASP_CMD is set) or artificially pass on outputs
+(if not VASP_CMD) and test the NMR workflow and its implementation and outputs
+for an example calculation for LiAlSiO4. Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. Bases: Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. Bases: Create scratch directory(removes the old one if there is one) and change to it.
+Also initialize launchpad. v0.8.6 v0.8.5 Once you have identified each calculation or analysis step as a Firework in our graph, we must determine which Fireworks correspond to each node in our graph. The full Python documentation for each of the atomate Fireworks can be found in the Once you have identified each calculation or analysis step as a Firework in our graph, we must determine which Fireworks correspond to each node in our graph. The full Python documentation for each of the atomate Fireworks can be found in the You’ll notice that more generic Fireworks and Fireworks for analysis tasks are not in this list. Because they are intended to be simple and modular, these Fireworks are actually written as plain Firetasks that will get wrapped into a Firework when the Workflow is constructed. We’ll cover how to use them as Fireworks in the next section, but know that they can be found at places like With each of the Fireworks identified for our sketched workflow, they can assemble them into a complete atomate Workflow in Python. In order to understand what’s going on here, you should be comfortable with creating instances of classes and using functions. To demonstrate how to assemble and use a workflow, we will use a slightly modified version of the Gibbs Free Energy Workflow and step through each line of code to explain what is going on. For context, the Gibbs Free Energy Workflow calculates for a structure. Two methods for doing this are using the Debye model (see Blanco et al. Comput. Phys. Commun., 158, (2004)) or through vibration frequencies of atoms (see Togo and Tanaka, Scr. Mater., 108 (2015). It does this by first optimizing the desired structure. Next, that optimized structure has its volume scaled and a VASP calculation that is either a static calculation or calculation with density functional perturbation theory (the For context, the Gibbs Free Energy Workflow calculates for a structure. Two methods for doing this are using the Debye model (see Blanco et al. Comput. Phys. Commun., 158, (2004)) or through vibration frequencies of atoms (see Togo and Tanaka, Scr. Mater., 108 (2015). It does this by first optimizing the desired structure. Next, that optimized structure has its volume scaled and a VASP calculation that is either a static calculation or calculation with density functional perturbation theory (the The Python implementation of the modified Gibbs Free Energy Workflow is: Note The documentation and source for the actual Gibbs Free Energy Workflow is found at The documentation and source for the actual Gibbs Free Energy Workflow is found at In the above code example, we start by importing the classes and functions we’ll be using and defining our Lines 41-51 is where we define the optimization Firework. First we check if a vasp_input_set_relax parameter was passed, if not we default to MPRelaxSet and update that set if the Powerups ( Powerups ( Some useful powerups that affect the behavior of VASP are The Creating Workflows guide gave details on constructing workflows. This group of tutorials will give specific examples for customizations to workflows as you create them. For some of these customizations, preset workflows cannot be used. Preset workflows are designed to give generically reasonable options. More full access for customizing the workflows can be achieved by using the For some of these customizations, preset workflows cannot be used. Preset workflows are designed to give generically reasonable options. More full access for customizing the workflows can be achieved by using the Navigation
Subpackagesatomate.common.firetasks.tests package
@@ -632,7 +632,7 @@ Submodules
Navigation
atomate.common.firetasks.tests package
diff --git a/docs/atomate.common.firetasks.tests.html b/docs/atomate.common.firetasks.tests.html
index 83fad6666..de5f94c7d 100644
--- a/docs/atomate.common.firetasks.tests.html
+++ b/docs/atomate.common.firetasks.tests.html
@@ -6,10 +6,10 @@
- Submodules¶
-atomate.common.firetasks.tests.test_glue_tasks module¶
+atomate.common.firetasks.tests.test_glue_tasks module¶
+
+
+
+atomate.common.firetasks.tests.test_glue_tasks.
TestCopyFilesFromCalcLoc
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUpClass
()¶
+
+
+test_copyfilesfromcalcloc
()¶
+
+
+atomate.common.firetasks.tests.test_glue_tasks.
TestCreateFolder
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+test_createfolder
()¶
+
+
+atomate.common.firetasks.tests.test_glue_tasks.
TestDeleteFiles
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+test_cleanupfiles
()¶
+
+
atomate.common.firetasks.tests.test_glue_tasks.
TestPassCalcLocs
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+test_passcalclocs
()¶atomate.common.firetasks.tests.test_parse_outputs module¶
@@ -118,11 +168,11 @@ atomate.common.firetasks.tests.test_glue_tasks module
SubpackagesSubpackages
@@ -47,7 +47,7 @@
@@ -75,7 +75,7 @@ Subpackages
Navigation
Submodules
Navigation
Submodules
Navigation
Submodules
diff --git a/docs/atomate.feff.fireworks.html b/docs/atomate.feff.fireworks.html
index 2e2ec99cb..95766b5ee 100644
--- a/docs/atomate.feff.fireworks.html
+++ b/docs/atomate.feff.fireworks.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.feff.fireworks.tests.html b/docs/atomate.feff.fireworks.tests.html
index ce6be0047..696dd7449 100644
--- a/docs/atomate.feff.fireworks.tests.html
+++ b/docs/atomate.feff.fireworks.tests.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.feff.html b/docs/atomate.feff.html
index ac16f39f2..7ed884e1d 100644
--- a/docs/atomate.feff.html
+++ b/docs/atomate.feff.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.feff.workflows.html b/docs/atomate.feff.workflows.html
index 4e2c4419b..1471b78da 100644
--- a/docs/atomate.feff.workflows.html
+++ b/docs/atomate.feff.workflows.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.feff.workflows.tests.html b/docs/atomate.feff.workflows.tests.html
index 9238bf6c8..fadb3c6a9 100644
--- a/docs/atomate.feff.workflows.tests.html
+++ b/docs/atomate.feff.workflows.tests.html
@@ -6,10 +6,10 @@
- Navigation
SubpackagesSubpackages
@@ -279,12 +279,12 @@ SubpackagesSubpackages
@@ -292,25 +292,25 @@
SubpackagesSubmodules
SubpackagesSubpackages
-
Subpackagesatomate.vasp.config module
Subpackages
diff --git a/docs/atomate.html b/docs/atomate.html
index 5b3ca3b26..236f438ad 100644
--- a/docs/atomate.html
+++ b/docs/atomate.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.lammps.firetasks.html b/docs/atomate.lammps.firetasks.html
index f6eb9246b..9887a6d42 100644
--- a/docs/atomate.lammps.firetasks.html
+++ b/docs/atomate.lammps.firetasks.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.lammps.fireworks.html b/docs/atomate.lammps.fireworks.html
index 9f6d0eea0..1d3eb3e4f 100644
--- a/docs/atomate.lammps.fireworks.html
+++ b/docs/atomate.lammps.fireworks.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.lammps.html b/docs/atomate.lammps.html
index ff33f9bad..a33e4d54e 100644
--- a/docs/atomate.lammps.html
+++ b/docs/atomate.lammps.html
@@ -6,10 +6,10 @@
- schema
= {'root': {'input', 'output', 'state', 'dir_name', 'completed_at', 'last_updated', 'schema'}}¶schema
= {'root': {'completed_at', 'dir_name', 'input', 'last_updated', 'output', 'schema', 'state'}}¶
@@ -223,7 +223,7 @@ Submodules
Navigation
Submodules
diff --git a/docs/atomate.lammps.workflows.html b/docs/atomate.lammps.workflows.html
index 7e1b495f4..87eda42db 100644
--- a/docs/atomate.lammps.workflows.html
+++ b/docs/atomate.lammps.workflows.html
@@ -6,10 +6,10 @@
- Navigation
atomate.qchem.firetasks.run_calc module
diff --git a/docs/atomate.qchem.firetasks.html b/docs/atomate.qchem.firetasks.html
index 38d036633..fc4e9e571 100644
--- a/docs/atomate.qchem.firetasks.html
+++ b/docs/atomate.qchem.firetasks.html
@@ -6,10 +6,10 @@
- Navigation
atomate.qchem.firetasks.tests.test_run_calc module
diff --git a/docs/atomate.qchem.firetasks.tests.html b/docs/atomate.qchem.firetasks.tests.html
index 20f93f1a2..2b9cc08bd 100644
--- a/docs/atomate.qchem.firetasks.tests.html
+++ b/docs/atomate.qchem.firetasks.tests.html
@@ -6,10 +6,10 @@
- atomate.qchem.fireworks.core module
@@ -56,7 +56,7 @@ Navigation
Submodules
diff --git a/docs/atomate.qchem.html b/docs/atomate.qchem.html
index 80a512a75..14a629e05 100644
--- a/docs/atomate.qchem.html
+++ b/docs/atomate.qchem.html
@@ -6,10 +6,10 @@
- get_valid_paths
(path)¶get_valid_paths
(self, path)¶
Submodules
post_process
(d)¶post_process
(dir_name, d)¶
process_qchem_multirun
(input_files, output_files)¶process_qchem_multirun
(dir_name, input_files, output_files)¶
process_qchemrun
(taskname, input_file, output_file)¶process_qchemrun
(dir_name, taskname, input_file, output_file)¶
schema
= {'input': {'job_type', 'initial_molecule'}, 'output': {'job_type', 'initial_molecule'}, 'root': {'chemsys', 'cputime', 'input', 'output', 'dir_name', 'smiles', 'calcs_reversed', 'walltime', 'pointgroup', 'formula_anonymous', 'formula_pretty'}}¶schema
= {'input': {'initial_molecule', 'job_type'}, 'output': {'initial_molecule', 'job_type'}, 'root': {'calcs_reversed', 'chemsys', 'cputime', 'dir_name', 'formula_anonymous', 'formula_pretty', 'input', 'output', 'pointgroup', 'smiles', 'walltime'}}¶
@@ -262,7 +262,7 @@
atomate.qchem.powerups module
Navigation
atomate.qchem.workflows.base.torsion_potential module
diff --git a/docs/atomate.qchem.workflows.base.html b/docs/atomate.qchem.workflows.base.html
index 313bbd646..4de33ce13 100644
--- a/docs/atomate.qchem.workflows.base.html
+++ b/docs/atomate.qchem.workflows.base.html
@@ -6,10 +6,10 @@
- Subpackages
@@ -74,7 +74,7 @@ Navigation
atomate.qchem.workflows.tests.test_torsion_potential module
diff --git a/docs/atomate.qchem.workflows.tests.html b/docs/atomate.qchem.workflows.tests.html
index dcf7de642..c7010b9c9 100644
--- a/docs/atomate.qchem.workflows.tests.html
+++ b/docs/atomate.qchem.workflows.tests.html
@@ -6,10 +6,10 @@
- Navigation
Module contents
diff --git a/docs/atomate.tools.html b/docs/atomate.tools.html
index ed576e200..243579d6f 100644
--- a/docs/atomate.tools.html
+++ b/docs/atomate.tools.html
@@ -6,10 +6,10 @@
- Navigation
Module contents
diff --git a/docs/atomate.tools.post_process.html b/docs/atomate.tools.post_process.html
index ab46d81a1..8abcf18ae 100644
--- a/docs/atomate.tools.post_process.html
+++ b/docs/atomate.tools.post_process.html
@@ -6,10 +6,10 @@
- Navigation
Module contents
diff --git a/docs/atomate.tools.tests.html b/docs/atomate.tools.tests.html
index a92296fb2..a9224fc52 100644
--- a/docs/atomate.tools.tests.html
+++ b/docs/atomate.tools.tests.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.utils.html b/docs/atomate.utils.html
index e54f5beda..6f3b2eb6c 100644
--- a/docs/atomate.utils.html
+++ b/docs/atomate.utils.html
@@ -6,10 +6,10 @@
- exists
(path)¶exists
(sftp, path)¶
Submodules
get_ssh_connection
(host, private_key)¶get_ssh_connection
(username, host, private_key)¶
@@ -467,7 +467,7 @@
Submodules
Navigation
Submodules
diff --git a/docs/atomate.utils.tests.html b/docs/atomate.utils.tests.html
index cf4c4604a..a6f772a8b 100644
--- a/docs/atomate.utils.tests.html
+++ b/docs/atomate.utils.tests.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.vasp.analysis.html b/docs/atomate.vasp.analysis.html
index 01c8067a1..4bbda7722 100644
--- a/docs/atomate.vasp.analysis.html
+++ b/docs/atomate.vasp.analysis.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.vasp.builders.examples.html b/docs/atomate.vasp.builders.examples.html
index 0929114fb..709f10ae5 100644
--- a/docs/atomate.vasp.builders.examples.html
+++ b/docs/atomate.vasp.builders.examples.html
@@ -6,10 +6,10 @@
- Navigation
Submodules
diff --git a/docs/atomate.vasp.builders.html b/docs/atomate.vasp.builders.html
index 004af9f50..6ef1b370b 100644
--- a/docs/atomate.vasp.builders.html
+++ b/docs/atomate.vasp.builders.html
@@ -6,10 +6,10 @@
- from_file
(m='materials', **kwargs)¶from_file
(db_file, m='materials', **kwargs)¶
Submodules
from_file
(m='materials', **kwargs)¶from_file
(db_file, m='materials', **kwargs)¶
Submodules
Navigation
atomate.vasp.examples.builders_example module
diff --git a/docs/atomate.vasp.examples.html b/docs/atomate.vasp.examples.html
index d1a344708..fda762124 100644
--- a/docs/atomate.vasp.examples.html
+++ b/docs/atomate.vasp.examples.html
@@ -6,10 +6,10 @@
- Navigation
Subpackagesatomate.vasp.firetasks.tests package
diff --git a/docs/atomate.vasp.firetasks.html b/docs/atomate.vasp.firetasks.html
index 34097cf00..04d00a021 100644
--- a/docs/atomate.vasp.firetasks.html
+++ b/docs/atomate.vasp.firetasks.html
@@ -6,10 +6,10 @@
-
@@ -578,17 +578,1489 @@ Submodules
-
atomate.vasp.firetasks.parse_outputs module¶
+atomate.vasp.firetasks.parse_outputs module¶
+
+
+
+atomate.vasp.firetasks.parse_outputs.
BoltztrapToDBTask
(*args, **kwargs)¶
+
+
+atomate.vasp.firetasks.parse_outputs.
BoltztrapToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+optional_params
= ['db_file', 'hall_doping', 'additional_fields']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
ElasticTensorToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+
+
+
+
+optional_params
= ['db_file', 'order', 'fw_spec_field', 'fitting_method']¶
+
+
+required_params
= ['structure']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
ElasticTensorToDbTask
(*args, **kwargs)¶atomate.vasp.firetasks.parse_outputs.ElasticTensorToDb
+
+
+atomate.vasp.firetasks.parse_outputs.
FitEOSToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+optional_params
= ['to_db', 'eos']¶
+
+
+required_params
= ['tag', 'db_file']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
FitEquationOfStateTask
(*args, **kwargs)¶
+
+
+atomate.vasp.firetasks.parse_outputs.
GibbsAnalysisToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+
+
+
+
+optional_params
= ['qha_type', 't_min', 't_step', 't_max', 'mesh', 'eos', 'pressure', 'poisson', 'anharmonic_contribution', 'metadata']¶
+
+
+required_params
= ['tag', 'db_file']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
GibbsFreeEnergyTask
(*args, **kwargs)¶atomate.vasp.firetasks.parse_outputs.GibbsAnalysisToDb
+
+
+atomate.vasp.firetasks.parse_outputs.
JsonToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+optional_params
= ['json_filename', 'db_file', 'calc_dir']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
JsonToDbTask
(*args, **kwargs)¶
+
+
+atomate.vasp.firetasks.parse_outputs.
PolarizationToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+optional_params
= ['db_file']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
RamanSusceptibilityTensorToDbTask
(*args, **kwargs)¶
+
+
+atomate.vasp.firetasks.parse_outputs.
RamanTensorToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+optional_params
= ['db_file']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
ThermalExpansionCoeffTask
(*args, **kwargs)¶atomate.vasp.firetasks.parse_outputs.ThermalExpansionCoeffToDb
+
+
+atomate.vasp.firetasks.parse_outputs.
ThermalExpansionCoeffToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+optional_params
= ['t_min', 't_step', 't_max', 'mesh', 'eos', 'pressure']¶
+
+
+required_params
= ['tag', 'db_file']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.parse_outputs.
VaspToDb
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+
+
+optional_params
= ['calc_dir', 'calc_loc', 'parse_dos', 'bandstructure_mode', 'additional_fields', 'db_file', 'fw_spec_field', 'defuse_unsuccessful', 'task_fields_to_push', 'parse_chgcar', 'parse_aeccar']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
atomate.vasp.firetasks.parse_outputs.
VaspToDbTask
(*args, **kwargs)¶atomate.vasp.firetasks.run_calc module¶
+atomate.vasp.firetasks.run_calc module¶
+
+
+
+atomate.vasp.firetasks.run_calc.
RunBoltztrap
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['scissor', 'tmax', 'tgrid', 'doping', 'soc']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.run_calc.
RunNoVasp
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.run_calc.
RunVaspCustodian
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+
+
+optional_params
= ['job_type', 'handler_group', 'max_force_threshold', 'scratch_dir', 'gzip_output', 'max_errors', 'ediffg', 'auto_npar', 'gamma_vasp_cmd', 'wall_time', 'half_kpts_first_relax']¶
+
+
+required_params
= ['vasp_cmd']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.run_calc.
RunVaspDirect
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['expand_vars']¶
+
+
+required_params
= ['vasp_cmd']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
atomate.vasp.firetasks.run_calc.
RunVaspFake
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+optional_params
= ['params_to_check', 'check_incar', 'check_kpoints', 'check_poscar', 'check_potcar']¶
+
+
+required_params
= ['ref_dir']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+atomate.vasp.firetasks.write_inputs module¶
+atomate.vasp.firetasks.write_inputs module¶
+
+
+
+atomate.vasp.firetasks.write_inputs.
ModifyIncar
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+optional_params
= ['incar_update', 'incar_multiply', 'incar_dictmod', 'input_filename', 'output_filename']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
ModifyPotcar
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['functional', 'input_filename', 'output_filename']¶
+
+
+required_params
= ['potcar_symbols']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteNormalmodeDisplacedPoscar
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+required_params
= ['mode', 'displacement']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteTransmutedStructureIOSet
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+optional_params
= ['prev_calc_dir', 'transformation_params', 'override_default_vasp_params']¶
+
+
+required_params
= ['structure', 'transformations', 'vasp_input_set']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteVaspFromIOSet
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+
+
+optional_params
= ['vasp_input_params']¶
+
+
+required_params
= ['structure', 'vasp_input_set']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteVaspFromIOSetFromInterpolatedPOSCAR
(*args, **kwargs)¶atomate.vasp.firetasks.glue_tasks.GetInterpolatedPOSCAR
+
+
+
+
+
+
+
+
+optional_params
= ['vasp_input_params', 'autosort_tol']¶
+
+
+required_params
= ['start', 'end', 'this_image', 'nimages', 'vasp_input_set']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteVaspFromPMGObjects
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['incar', 'poscar', 'kpoints', 'potcar']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteVaspHSEBSFromPrev
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['prev_calc_dir', 'mode', 'reciprocal_density', 'kpoints_line_density']¶
+
+
+required_params
= []¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteVaspNMRFromPrev
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+
+
+optional_params
= ['mode', 'isotopes', 'reciprocal_density', 'other_params']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteVaspNSCFFromPrev
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['prev_calc_dir', 'copy_chgcar', 'nbands_factor', 'reciprocal_density', 'kpoints_line_density', 'small_gap_multiply', 'standardize', 'sym_prec', 'international_monoclinic', 'mode', 'nedos', 'optics', 'other_params']¶
+
+
+required_params
= []¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
+atomate.vasp.firetasks.write_inputs.
WriteVaspSOCFromPrev
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['prev_calc_dir', 'copy_chgcar', 'nbands_factor', 'reciprocal_density', 'small_gap_multiply', 'standardize', 'sym_prec', 'international_monoclinic', 'other_params']¶
+
+
+required_params
= ['magmom', 'saxis']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+
+
+
atomate.vasp.firetasks.write_inputs.
WriteVaspStaticFromPrev
(*args, **kwargs)¶fireworks.core.firework.FiretaskBase
+
+
+
+
+optional_params
= ['prev_calc_dir', 'reciprocal_density', 'small_gap_multiply', 'standardize', 'sym_prec', 'international_monoclinic', 'lepsilon', 'other_params']¶
+
+
+run_task
(fw_spec)¶
+
+
+
+Module contents
Navigation
atomate.vasp.firetasks.tests package
Submodules¶
atomate.vasp.firetasks.tests.test_copy module¶
+atomate.vasp.firetasks.tests.test_copy module¶
+
+
+
atomate.vasp.firetasks.tests.test_copy.
TestCopyVaspOutputs
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUpClass
()¶
+
+
+test_gzip_copy
()¶
+
+
+test_plain_copy
()¶
+
+
+test_plain_copy_more
()¶
+
+
+test_relax2_copy
()¶
+
+
+test_unittestsetup
()¶atomate.vasp.firetasks.tests.test_get_interpolated_poscar module¶
+atomate.vasp.firetasks.tests.test_get_interpolated_poscar module¶
+
+
+
atomate.vasp.firetasks.tests.test_get_interpolated_poscar.
TestGetInterpolatedPOSCAR
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUpClass
()¶
+
+
+test_getinterpolatedposcar
()¶atomate.vasp.firetasks.tests.test_polarization_to_db module¶
+atomate.vasp.firetasks.tests.test_polarization_to_db module¶
+
+
+
atomate.vasp.firetasks.tests.test_polarization_to_db.
TestFerroelectricWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+test_polarizationtodb
()¶atomate.vasp.firetasks.tests.test_write_vasp module¶
+atomate.vasp.firetasks.tests.test_write_vasp module¶
+
+
+
atomate.vasp.firetasks.tests.test_write_vasp.
TestWriteVasp
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+setUpClass
()¶
+
+
+tearDown
()¶
+
+
+test_ioset_explicit
()¶
+
+
+test_ioset_implicit
()¶
+
+
+test_ioset_params
()¶
+
+
+test_modify_incar
()¶
+
+
+test_modify_potcar
()¶
+
+
+test_pmgobjects
()¶atomate.vasp.firetasks.tests.test_write_vasp_from_interpolated_poscar module¶
+atomate.vasp.firetasks.tests.test_write_vasp_from_interpolated_poscar module¶
+
+
+
atomate.vasp.firetasks.tests.test_write_vasp_from_interpolated_poscar.
TestWriteVaspFromInterpolatedPOSCAR
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUpClass
()¶
+
+
+test_writevaspfrominterpolatedposcar
()¶Module contents
Navigation
atomate.vasp.fireworks package
Submodules¶
atomate.vasp.fireworks.core module¶
+atomate.vasp.fireworks.core module¶
+
+
+
+atomate.vasp.fireworks.core.
BoltztrapFW
(parents=None, structure=None, name='boltztrap', db_file=None, scissor=0.0, doping=None, tmax=1300, tgrid=50, prev_calc_dir=None, soc=False, additional_fields=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(parents=None, structure=None, name='boltztrap', db_file=None, scissor=0.0, doping=None, tmax=1300, tgrid=50, prev_calc_dir=None, soc=False, additional_fields=None, **kwargs)¶
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
DFPTFW
(structure=None, prev_calc_dir=None, name='static dielectric', vasp_cmd='vasp', copy_vasp_outputs=True, lepsilon=True, db_file=None, parents=None, user_incar_settings=None, pass_nm_results=False, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure=None, prev_calc_dir=None, name='static dielectric', vasp_cmd='vasp', copy_vasp_outputs=True, lepsilon=True, db_file=None, parents=None, user_incar_settings=None, pass_nm_results=False, **kwargs)¶
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
HSEBSFW
(parents=None, prev_calc_dir=None, structure=None, mode='gap', name=None, vasp_cmd='vasp', db_file=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(parents=None, prev_calc_dir=None, structure=None, mode='gap', name=None, vasp_cmd='vasp', db_file=None, **kwargs)¶
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
LepsFW
(structure, name='static dielectric', vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, parents=None, phonon=False, mode=None, displacement=None, user_incar_settings=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure, name='static dielectric', vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, parents=None, phonon=False, mode=None, displacement=None, user_incar_settings=None, **kwargs)¶
+
+
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
MDFW
(structure, start_temp, end_temp, nsteps, name='molecular dynamics', vasp_input_set=None, vasp_cmd='vasp', override_default_vasp_params=None, wall_time=19200, db_file=None, parents=None, copy_vasp_outputs=True, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure, start_temp, end_temp, nsteps, name='molecular dynamics', vasp_input_set=None, vasp_cmd='vasp', override_default_vasp_params=None, wall_time=19200, db_file=None, parents=None, copy_vasp_outputs=True, **kwargs)¶
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
NEBFW
(spec, neb_label, from_images=True, user_incar_settings=None, user_kpoints_settings=None, additional_cust_args=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+
+
+__init__
(spec, neb_label, from_images=True, user_incar_settings=None, user_kpoints_settings=None, additional_cust_args=None, **kwargs)¶
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
NEBRelaxationFW
(spec, label, user_incar_settings=None, user_kpoints_settings=None, additional_cust_args=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(spec, label, user_incar_settings=None, user_kpoints_settings=None, additional_cust_args=None, **kwargs)¶
+
+
+
+
+atomate.vasp.fireworks.core.
NonSCFFW
(parents=None, prev_calc_dir=None, structure=None, name='nscf', mode='uniform', vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(parents=None, prev_calc_dir=None, structure=None, name='nscf', mode='uniform', vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, **kwargs)¶
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
OptimizeFW
(structure, name='structure optimization', vasp_input_set=None, vasp_cmd='vasp', override_default_vasp_params=None, ediffg=None, db_file=None, force_gamma=True, job_type='double_relaxation_run', max_force_threshold=0.25, auto_npar='>>auto_npar<<', half_kpts_first_relax=False, parents=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure, name='structure optimization', vasp_input_set=None, vasp_cmd='vasp', override_default_vasp_params=None, ediffg=None, db_file=None, force_gamma=True, job_type='double_relaxation_run', max_force_threshold=0.25, auto_npar='>>auto_npar<<', half_kpts_first_relax=False, parents=None, **kwargs)¶
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
RamanFW
(mode, displacement, prev_calc_dir=None, structure=None, name='raman', vasp_cmd='vasp', db_file=None, parents=None, user_incar_settings=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(mode, displacement, prev_calc_dir=None, structure=None, name='raman', vasp_cmd='vasp', db_file=None, parents=None, user_incar_settings=None, **kwargs)¶
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
SOCFW
(magmom, structure=None, name='spin-orbit coupling', saxis=(0, 0, 1), prev_calc_dir=None, vasp_cmd='vasp_ncl', copy_vasp_outputs=True, db_file=None, parents=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(magmom, structure=None, name='spin-orbit coupling', saxis=(0, 0, 1), prev_calc_dir=None, vasp_cmd='vasp_ncl', copy_vasp_outputs=True, db_file=None, parents=None, **kwargs)¶
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
StaticFW
(structure=None, name='static', vasp_input_set=None, vasp_input_set_params=None, vasp_cmd='vasp', prev_calc_loc=True, prev_calc_dir=None, db_file=None, vasptodb_kwargs={}, parents=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure=None, name='static', vasp_input_set=None, vasp_input_set_params=None, vasp_cmd='vasp', prev_calc_loc=True, prev_calc_dir=None, db_file=None, vasptodb_kwargs={}, parents=None, **kwargs)¶
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.core.
StaticInterpolateFW
(structure, start, end, name='static', vasp_input_set='MPStaticSet', vasp_input_set_params=None, vasp_cmd='vasp', db_file=None, parents=None, this_image=None, nimages=None, autosort_tol=0, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure, start, end, name='static', vasp_input_set='MPStaticSet', vasp_input_set_params=None, vasp_cmd='vasp', db_file=None, parents=None, this_image=None, nimages=None, autosort_tol=0, **kwargs)¶
+
+
+
+
+
+
atomate.vasp.fireworks.core.
TransmuterFW
(structure, transformations, transformation_params=None, vasp_input_set=None, prev_calc_dir=None, name='structure transmuter', vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, parents=None, override_default_vasp_params=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure, transformations, transformation_params=None, vasp_input_set=None, prev_calc_dir=None, name='structure transmuter', vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, parents=None, override_default_vasp_params=None, **kwargs)¶
+
+
+
+
+
+atomate.vasp.fireworks.nmr module¶
+atomate.vasp.fireworks.nmr module¶
+
+
+
atomate.vasp.fireworks.nmr.
NMRFW
(structure=None, mode='cs', isotopes=None, name='nmr tensor', prev_calc_dir=None, vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, parents=None, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure=None, mode='cs', isotopes=None, name='nmr tensor', prev_calc_dir=None, vasp_cmd='vasp', copy_vasp_outputs=True, db_file=None, parents=None, **kwargs)¶
+
+
+
+
+
+
+
+
+
+atomate.vasp.fireworks.polarization module¶
+atomate.vasp.fireworks.polarization module¶
+
+
+
atomate.vasp.fireworks.polarization.
LcalcpolFW
(structure, name='static dipole moment', static_name='static', vasp_cmd='vasp', vasp_input_set=None, vasp_input_set_params=None, db_file=None, parents=None, gap_threshold=0.01, interpolate=False, start=None, end=None, this_image=0, nimages=5, **kwargs)¶fireworks.core.firework.Firework
+
+
+__init__
(structure, name='static dipole moment', static_name='static', vasp_cmd='vasp', vasp_input_set=None, vasp_input_set_params=None, db_file=None, parents=None, gap_threshold=0.01, interpolate=False, start=None, end=None, this_image=0, nimages=5, **kwargs)¶
+
+
+
+
+
+
+
+
+
+Module contents
Navigation
SubpackagesSubpackages
@@ -91,25 +91,25 @@
SubpackagesSubmodules
SubpackagesSubpackages
-
Submodules
schema
= {'analysis': {'delta_volume_as_percent', 'warnings', 'delta_volume', 'errors', 'max_force'}, 'calcs_reversed': {'input', 'nsites', 'formula_reduced_abc', 'vasp_version', 'task', 'dir_name', 'output', 'has_vasp_completed', 'nelements', 'elements', 'composition_reduced', 'composition_unit_cell', 'completed_at', 'formula_anonymous', 'run_type', 'formula_pretty'}, 'input': {'pseudo_potential', 'is_hubbard', 'potcar_spec', 'structure', 'is_lasph', 'hubbards', 'xc_override'}, 'output': {'bandgap', 'cbm', 'vbm', 'energy', 'density', 'spacegroup', 'is_gap_direct', 'is_metal', 'structure', 'forces', 'stress', 'energy_per_atom'}, 'root': {'chemsys', 'input', 'nsites', 'formula_reduced_abc', 'output', 'state', 'dir_name', 'run_stats', 'nelements', 'elements', 'composition_reduced', 'analysis', 'calcs_reversed', 'completed_at', 'formula_anonymous', 'composition_unit_cell', 'schema', 'formula_pretty'}}¶schema
= {'analysis': {'delta_volume', 'delta_volume_as_percent', 'errors', 'max_force', 'warnings'}, 'calcs_reversed': {'completed_at', 'composition_reduced', 'composition_unit_cell', 'dir_name', 'elements', 'formula_anonymous', 'formula_pretty', 'formula_reduced_abc', 'has_vasp_completed', 'input', 'nelements', 'nsites', 'output', 'run_type', 'task', 'vasp_version'}, 'input': {'hubbards', 'is_hubbard', 'is_lasph', 'potcar_spec', 'pseudo_potential', 'structure', 'xc_override'}, 'output': {'bandgap', 'cbm', 'density', 'energy', 'energy_per_atom', 'forces', 'is_gap_direct', 'is_metal', 'spacegroup', 'stress', 'structure', 'vbm'}, 'root': {'analysis', 'calcs_reversed', 'chemsys', 'completed_at', 'composition_reduced', 'composition_unit_cell', 'dir_name', 'elements', 'formula_anonymous', 'formula_pretty', 'formula_reduced_abc', 'input', 'nelements', 'nsites', 'output', 'run_stats', 'schema', 'state'}}¶
@@ -472,8 +472,372 @@ set_analysis
(max_force_threshold=0.5, volume_change_threshold=0.2)¶set_analysis
(d, max_force_threshold=0.5, volume_change_threshold=0.2)¶
Submodules
-
atomate.vasp.powerups module¶
+atomate.vasp.powerups module¶
+
+
+
+atomate.vasp.powerups.
add_additional_fields_to_taskdocs
(original_wf, update_dict=None, task_name_constraint='VaspToDb')¶
+
+
+
+
+atomate.vasp.powerups.
add_bandgap_check
(original_wf, check_bandgap_params=None, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
add_common_powerups
(wf, c=None)¶
+
+
+
+
+atomate.vasp.powerups.
add_modify_incar
(original_wf, modify_incar_params=None, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
add_modify_incar_envchk
(original_wf, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
add_modify_potcar
(original_wf, modify_potcar_params=None, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
add_namefile
(original_wf, use_slug=True)¶
+
+
+
+
+atomate.vasp.powerups.
add_priority
(original_wf, root_priority, child_priority=None)¶
+
+
+
+
+atomate.vasp.powerups.
add_small_gap_multiply
(original_wf, gap_cutoff, density_multiplier, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
add_stability_check
(original_wf, check_stability_params=None, fw_name_constraint=None)¶
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.powerups.
add_trackers
(original_wf, tracked_files=None, nlines=25)¶
+
+
+
+
+atomate.vasp.powerups.
add_wf_metadata
(original_wf, structure)¶
+
+
+
+
+atomate.vasp.powerups.
clean_up_files
(original_wf, files=('WAVECAR*', ), fw_name_constraint=None, task_name_constraint='RunVasp')¶
+
+
+
+
+atomate.vasp.powerups.
clear_modify
(original_wf, fw_name_constraint=None)¶
+
+
+
+
+
+
+atomate.vasp.powerups.
modify_to_soc
(original_wf, nbands, structure=None, modify_incar_params=None, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
preserve_fworker
(original_wf, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
remove_custodian
(original_wf, fw_name_constraint=None)¶
+
+
+
+
+atomate.vasp.powerups.
set_execution_options
(original_wf, fworker_name=None, category=None, fw_name_constraint=None, task_name_constraint=None)¶
+
+
+
+
+
+
+atomate.vasp.powerups.
use_custodian
(original_wf, fw_name_constraint=None, custodian_params=None)¶
+
+
+
+
+
+
+
+
+atomate.vasp.powerups.
use_fake_vasp
(original_wf, ref_dirs, params_to_check=None)¶
+
+
+
+
+atomate.vasp.powerups.
use_gamma_vasp
(original_wf, gamma_vasp_cmd)¶
+
+
+
+
+atomate.vasp.powerups.
use_no_vasp
(original_wf, ref_dirs)¶
+
+
+
+
atomate.vasp.powerups.
use_scratch_dir
(original_wf, scratch_dir)¶
+
+atomate.vasp.submission_filter module¶
@@ -530,8 +894,8 @@ atomate.vasp.powerups module
atomate.vasp.vasp_config module¶
atomate.vasp.vasp_powerups module¶
+atomate.vasp.vasp_powerups module¶
Module contents¶
@@ -544,7 +908,7 @@ atomate.vasp.vasp_powerups module
Navigation
Submodules
-
atomate.vasp.tests.test_vasp_powerups module¶
+atomate.vasp.tests.test_vasp_powerups module¶
+
+
+
atomate.vasp.tests.test_vasp_powerups.
TestVaspPowerups
(methodName='runTest')¶unittest.case.TestCase
+
+
+setUpClass
()¶
+
+
+test_add_clean_up
()¶
+
+
+test_add_priority
()¶
+
+
+test_add_small_gap_multiply
()¶
+
+
+
+
+
+
+test_add_trackers
()¶
+
+
+test_add_wf_metadata
()¶
+
+
+test_custodian_powerups
()¶
+
+
+test_modify_incar
()¶
+
+
+test_modify_potcar
()¶
+
+
+test_use_scratch_dir
()¶Module contents¶
@@ -133,13 +195,13 @@ atomate.vasp.tests.test_vasp_powerups module
Navigation
atomate.vasp.workflows.base package
Submodules¶
atomate.vasp.workflows.base.adsorption module¶
+atomate.vasp.workflows.base.adsorption module¶
+
+
+
+atomate.vasp.workflows.base.adsorption.
MPSurfaceSet
(structure, bulk=False, auto_dipole=None, **kwargs)¶pymatgen.io.vasp.sets.MVLSlabSet
+
+
+__init__
(structure, bulk=False, auto_dipole=None, **kwargs)¶
+
+
+incar
¶
+
+
+atomate.vasp.workflows.base.adsorption.
get_slab_fw
(slab, transmuter=False, db_file=None, vasp_input_set=None, parents=None, vasp_cmd='vasp', name='', add_slab_metadata=True)¶
+
+
+
+
+
+
+atomate.vasp.workflows.base.adsorption.
get_slab_trans_params
(slab)¶
+
+
+
+
+atomate.vasp.workflows.base.adsorption.
get_wf_molecules
(molecules, vasp_input_set=None, db_file=None, vasp_cmd='vasp', name='')¶
+
+
+
+
+atomate.vasp.workflows.base.adsorption.
get_wf_slab
(slab, include_bulk_opt=False, adsorbates=None, ads_structures_params=None, vasp_cmd='vasp', db_file=None, add_molecules_in_box=False)¶
+
+
+
+
+
+
+
+
+
+
atomate.vasp.workflows.base.adsorption.
get_wfs_all_slabs
(bulk_structure, include_bulk_opt=False, adsorbates=None, max_index=1, slab_gen_params=None, ads_structures_params=None, vasp_cmd='vasp', db_file=None, add_molecules_in_box=False)¶
+
+
+
+
+
+
+
+atomate.vasp.workflows.base.bulk_modulus module¶
+atomate.vasp.workflows.base.bulk_modulus module¶
+
+
+
atomate.vasp.workflows.base.bulk_modulus.
get_wf_bulk_modulus
(structure, deformations, vasp_input_set=None, vasp_cmd='vasp', db_file=None, user_kpoints_settings=None, eos='vinet', tag=None, user_incar_settings=None)¶
+
+
+
+
+
+atomate.vasp.workflows.base.core module¶
+atomate.vasp.workflows.base.core module¶
+
+
+
atomate.vasp.workflows.base.core.
get_wf
(structure, wf_filename, params=None, common_params=None, vis=None, wf_metadata=None)¶
+
+
+
+atomate.vasp.workflows.base.deformations module¶
+atomate.vasp.workflows.base.deformations module¶
+
+
+
atomate.vasp.workflows.base.deformations.
get_wf_deformations
(structure, deformations, name='deformation', vasp_input_set=None, vasp_cmd='vasp', db_file=None, tag='', copy_vasp_outputs=True, metadata=None)¶
+
+
+
+
+
+atomate.vasp.workflows.base.elastic module¶
+atomate.vasp.workflows.base.elastic module¶
+
+
+
+atomate.vasp.workflows.base.elastic.
get_default_strain_states
(order=2)¶
+
+
atomate.vasp.workflows.base.elastic.
get_wf_elastic_constant
(structure, strain_states=None, stencils=None, db_file=None, conventional=False, order=2, vasp_input_set=None, analysis=True, sym_reduce=False, tag='elastic', copy_vasp_outputs=False, **kwargs)¶
+
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.workflows.base.ferroelectric module¶
+atomate.vasp.workflows.base.ferroelectric module¶
+
+
+
atomate.vasp.workflows.base.ferroelectric.
get_wf_ferroelectric
(polar_structure, nonpolar_structure, vasp_cmd='vasp', db_file=None, vasp_input_set_polar='MPStaticSet', vasp_input_set_nonpolar='MPStaticSet', relax=False, vasp_relax_input_set_polar=None, vasp_relax_input_set_nonpolar=None, nimages=9, hse=False, add_analysis_task=False, wfid=None, tags=None)¶
+
+
+
+atomate.vasp.workflows.base.gibbs module¶
+atomate.vasp.workflows.base.gibbs module¶
+
+
+
atomate.vasp.workflows.base.gibbs.
get_wf_gibbs_free_energy
(structure, deformations, vasp_input_set=None, vasp_cmd='vasp', db_file=None, user_kpoints_settings=None, t_step=10, t_min=0, t_max=1000, mesh=(20, 20, 20), eos='vinet', qha_type='debye_model', pressure=0.0, poisson=0.25, anharmonic_contribution=False, metadata=None, tag=None)¶
+
+
+
+
+
+
+
+
+
+atomate.vasp.workflows.base.neb module¶
+atomate.vasp.workflows.base.neb module¶
+
+
+
+atomate.vasp.workflows.base.neb.
get_wf_neb_from_endpoints
(parent, endpoints, user_incar_settings=None, additional_spec=None, user_kpoints_settings=None, additional_cust_args=None)¶
+
+
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.workflows.base.neb.
get_wf_neb_from_images
(parent, images, user_incar_settings, additional_spec=None, user_kpoints_settings=None, additional_cust_args=None)¶
+
+
+
+
+
+
+
+
+
+
atomate.vasp.workflows.base.neb.
get_wf_neb_from_structure
(structure, user_incar_settings=None, additional_spec=None, user_kpoints_settings=None, additional_cust_args=None)¶
+
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.workflows.base.raman module¶
+atomate.vasp.workflows.base.raman module¶
+
+
+
atomate.vasp.workflows.base.raman.
get_wf_raman_spectra
(structure, modes=None, step_size=0.005, vasp_cmd='vasp', db_file=None)¶
+
+
+
+
+
+atomate.vasp.workflows.base.thermal_expansion module¶
+atomate.vasp.workflows.base.thermal_expansion module¶
+
+
+
atomate.vasp.workflows.base.thermal_expansion.
get_wf_thermal_expansion
(structure, deformations, vasp_input_set=None, vasp_cmd='vasp', db_file=None, user_kpoints_settings=None, t_step=10, t_min=0, t_max=1000, mesh=(20, 20, 20), eos='vinet', pressure=0.0, tag=None)¶
+
+
+
+
+
+Module contents
Navigation
Subpackagesatomate.vasp.workflows.base package
Module contents
Navigation
atomate.vasp.workflows.presets package
Submodules¶
atomate.vasp.workflows.presets.core module¶
+atomate.vasp.workflows.presets.core module¶
+
+
+
+atomate.vasp.workflows.presets.core.
wf_bandstructure
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_bandstructure_hse
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_bandstructure_no_opt
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_bandstructure_plus_boltztrap
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_bandstructure_plus_hse
(structure, gap_only=True, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_bulk_modulus
(structure, c=None)¶
+
+
+
+
+atomate.vasp.workflows.presets.core.
wf_dielectric_constant
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_dielectric_constant_no_opt
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_elastic_constant
(structure, c=None, order=2, sym_reduce=False)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_elastic_constant_minimal
(structure, c=None, order=2, sym_reduce=True)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_gibbs_free_energy
(structure, c=None)¶
+
+
+
+
+atomate.vasp.workflows.presets.core.
wf_nmr
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_nudged_elastic_band
(structures, parent, c=None)¶
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+atomate.vasp.workflows.presets.core.
wf_piezoelectric_constant
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_raman_spectra
(structure, c=None)¶
+
+
+
+
+atomate.vasp.workflows.presets.core.
wf_static
(structure, c=None)¶
+
+
+atomate.vasp.workflows.presets.core.
wf_structure_optimization
(structure, c=None)¶
+
+
atomate.vasp.workflows.presets.core.
wf_thermal_expansion
(structure, c=None)¶
+
+atomate.vasp.workflows.presets.scan module¶
+atomate.vasp.workflows.presets.scan module¶
+
+
+
atomate.vasp.workflows.presets.scan.
wf_scan_opt
(structure, c=None)¶Module contents¶
@@ -59,12 +225,12 @@ atomate.vasp.workflows.presets.scan module
Navigation
atomate.vasp.workflows.tests package
Submodules¶
atomate.vasp.workflows.tests.test_adsorbate_workflow module¶
+atomate.vasp.workflows.tests.test_adsorbate_workflow module¶
+
+
+
atomate.vasp.workflows.tests.test_adsorbate_workflow.
TestAdsorptionWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+test_input_sets
()¶
+
+
+test_wf
()¶
+
+
+test_wf_functions
()¶atomate.vasp.workflows.tests.test_bulk_modulus_workflow module¶
+atomate.vasp.workflows.tests.test_bulk_modulus_workflow module¶
+
+
+
atomate.vasp.workflows.tests.test_bulk_modulus_workflow.
TestBulkModulusWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+
+
+
+
+
+
+setUp
()¶
+
+
+setup_task_docs
()¶
+
+
+test_wf
()¶
+
+
+write_task_docs
()¶atomate.vasp.workflows.tests.test_elastic_workflow module¶
+atomate.vasp.workflows.tests.test_elastic_workflow module¶
+
+
+
atomate.vasp.workflows.tests.test_elastic_workflow.
TestElasticWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+test_wf
()¶atomate.vasp.workflows.tests.test_ferroelectric_workflow module¶
+atomate.vasp.workflows.tests.test_ferroelectric_workflow module¶
+
+
+
atomate.vasp.workflows.tests.test_ferroelectric_workflow.
TestFerroelectricWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+test_wf
()¶
+
+
+untarTestFiles
()¶atomate.vasp.workflows.tests.test_neb_workflow module¶
+atomate.vasp.workflows.tests.test_neb_workflow module¶
+
+
+
atomate.vasp.workflows.tests.test_neb_workflow.
TestNudgedElasticBandWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+
+
+test_wf
()¶atomate.vasp.workflows.tests.test_nmr module¶
+atomate.vasp.workflows.tests.test_nmr module¶
+
+
+
atomate.vasp.workflows.tests.test_nmr.
TestNMRWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+test_wf
()¶atomate.vasp.workflows.tests.test_raman_workflow module¶
+atomate.vasp.workflows.tests.test_raman_workflow module¶
+
+
+
atomate.vasp.workflows.tests.test_raman_workflow.
TestRamanWorkflow
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+test_wf
()¶atomate.vasp.workflows.tests.test_vasp_workflows module¶
+atomate.vasp.workflows.tests.test_vasp_workflows module¶
+
+
+
atomate.vasp.workflows.tests.test_vasp_workflows.
TestVaspWorkflows
(methodName='runTest')¶atomate.utils.testing.AtomateTest
+
+
+setUp
()¶
+
+
+test_bandgap_check_Vasp
()¶
+
+
+test_bandstructure_Vasp
()¶
+
+
+test_chgcar_db_read
()¶
+
+
+test_chgcar_db_read_write
()¶
+
+
+test_single_Vasp
()¶
+
+
+test_single_Vasp_dbinsertion
()¶
+
+
+test_trackers
()¶Module contents
Navigation
Running builders
Navigation
Navigation
atomate Changelog¶
+
+
Navigation
Navigation
Tuning performance on different machines
Navigation
Contributors
+
Navigation
Navigation
Sketch the workflow
Finding Fireworks¶
-atomate.vasp.fireworks module
documentation or the corresponding documentation page for the software you want to use. Currently FEFF, LAMMPS, and VASP are supported. Some available VASP Fireworks areatomate.vasp.fireworks module
documentation or the corresponding documentation page for the software you want to use. Currently FEFF, LAMMPS, and VASP are supported. Some available VASP Fireworks are
Finding Fireworks
atomate.common.firetasks module
for software-agnostic tasks such as PassCalcLocs
or atomate.vasp.firetasks package <atomate.vasp.firetasks
for some VASP specific ones, including the analysis tasks usually found in atomate.vasp.firetasks.parse_outputs
.
+atomate.common.firetasks module
for software-agnostic tasks such as PassCalcLocs
or atomate.vasp.firetasks package <atomate.vasp.firetasks
for some VASP specific ones, including the analysis tasks usually found in atomate.vasp.firetasks.parse_outputs
.Creating the workflow¶
IBRION = 7 or 8
INCAR setting) is performed depending on what type of analysis is used. In the analysis, the Debye model or a phonon calculation is used to extrapolate the from 0K to finite temperatures using the harmonic approximation, giving each structure an dependence. Then each of these structures are considered together and fit to an equation of state which allows us express for this structure, which we can transform to to get the Gibbs free energy of that structure. The phonopy website has a good visualization for Helmholtz energies and volumes with increasing temperature.IBRION = 7 or 8
INCAR setting) is performed depending on what type of analysis is used. In the analysis, the Debye model or a phonon calculation is used to extrapolate the from 0K to finite temperatures using the harmonic approximation, giving each structure an dependence. Then each of these structures are considered together and fit to an equation of state which allows us express for this structure, which we can transform to to get the Gibbs free energy of that structure. The phonopy website has a good visualization for Helmholtz energies and volumes with increasing temperature.atomate.vasp.workflows.base.gibbs
. Here we have simplified some of the options and explicitly added each Firework.atomate.vasp.workflows.base.gibbs
. Here we have simplified some of the options and explicitly added each Firework.wf_gibbs_free_energy
function with all of the parameters we’d like to control from a workflow level and the documentation for those parameters. Running the function will return a FireWorks Workflow to add to the LaunchPad.user_kpoints_settings
parameter was passed. It’s common to see a similar parameter for user_incar_settings
. On line 49 we create our list of Fireworks (fws
) with the OptimizeFW
that we imported. Take note that this is the only Firework we pass our structure to, which allows for more flexibility. More on this later.Creating the workflow
More help¶
-
atomate.vasp.workflows.base
) would be a good place to find functional examples with reasonable parametersatomate.vasp.workflows.base
) would be a good place to find functional examples with reasonable parametersModifying workflows
Powerups¶
-atomate.vasp.powerups
) enable modifications to be made to workflows after they have been created. The benefit of these is that you can apply powerups conditionally in code or to a large list of Workflows that you’ll later add to your LaunchPad. Some powerups affect the behavior of your calculations, others simply add metadata or change how the individual Fireworks interact with the database under the hood.atomate.vasp.powerups
) enable modifications to be made to workflows after they have been created. The benefit of these is that you can apply powerups conditionally in code or to a large list of Workflows that you’ll later add to your LaunchPad. Some powerups affect the behavior of your calculations, others simply add metadata or change how the individual Fireworks interact with the database under the hood.
add_modify_incar
: Update the INCAR of Fireworks specifed by (partially matched) name at runtimeConclusion
Navigation
Navigation
Introduction¶
atomate.vasp.workflows.base
workflows instead of the presets.atomate.vasp.workflows.base
workflows instead of the presets.Objectives¶
@@ -244,7 +244,7 @@ Use a different POTCAR
(optional) Run unit tests
@@ -112,7 +112,7 @@ Navigation
Index
| E
| F
| G
+ | H
| I
+ | J
| L
| M
| N
@@ -119,8 +121,42 @@ _
A
A
A
+
A
A
A
B
H
+
+
+
+ I
+
J
+
+
+
+
+ L
diff --git a/docs/running_workflows.html b/docs/running_workflows.html index 03a76ac90..5d4823774 100644 --- a/docs/running_workflows.html +++ b/docs/running_workflows.html @@ -6,10 +6,10 @@
-
+
- + @@ -36,7 +36,7 @@
-
+
@@ -142,9 +142,9 @@
In the installation tutorial, you set up your FW_config.yaml
, you indicated the atomate Fireworks can be found at atomate.vasp.fireworks
.
-Similarly, atomate preset workflows can be imported from atomate.vasp.workflows.presets.core
,
-which thinly wraps the base workflows (atomate.vasp.workflows.base
) allowing for common settings to be changed with configuration dictionaries.
+
In the installation tutorial, you set up your FW_config.yaml
, you indicated the atomate Fireworks can be found at atomate.vasp.fireworks
.
+Similarly, atomate preset workflows can be imported from atomate.vasp.workflows.presets.core
,
+which thinly wraps the base workflows (atomate.vasp.workflows.base
) allowing for common settings to be changed with configuration dictionaries.
We can setup the workflow and add it to our LaunchPad ready to run in just a few lines of Python.
Create the workflow script
In the same directory as the POSCAR, create a Python script named mgo_bandstructure.py
with the following contents:
@@ -249,7 +249,7 @@
atwf add POSCAR -s eos.yaml
The YAML file format is typically considered easy to read, but it is less practical for more complicated workflows. The Python implementation of the EOS workflow is at atomate.vasp.workflows.base.bulk_modulus
and it uses the existing deformation workflow to express the same as the above YAML file in less than 20 lines of Python code, including imports. Another advantage of using Python is being able to have more control over Fireworks and create them from Firetasks in the workflow, like the FitEOSToDb
Firetask.
The YAML file format is typically considered easy to read, but it is less practical for more complicated workflows. The Python implementation of the EOS workflow is at atomate.vasp.workflows.base.bulk_modulus
and it uses the existing deformation workflow to express the same as the above YAML file in less than 20 lines of Python code, including imports. Another advantage of using Python is being able to have more control over Fireworks and create them from Firetasks in the workflow, like the FitEOSToDb
Firetask.