Skip to main content

AiiDA plugin for the Gaussian quantum chemistry software.

Project description

build Coverage Status PyPI version DOI

aiida-gaussian

AiiDA plugin for the Gaussian quantum chemistry software

Features

Gaussian input can be provided as a python dictionary following the convention defined by pymatgen

parameters = {
    'functional':'PBE1PBE',
    'basis_set':'6-31g',
    'charge': 0,
    'multiplicity': 1,
    'link0_parameters': {
        '%chk':'aiida.chk',
        '%mem':"1024MB",
        '%nprocshared': 4,
    },
    'route_parameters': {
        'scf': {
            'maxcycle': 128,
            'cdiis': None,
        },
        'nosymm': None,
        'output':'wfx',
        'opt': 'tight',
    },
    'input_parameters': { # appended at the end of the input
        'output.wfx':None
    },
}

In route_parameters, specifying key: None adds only key without the equals sign to the input script.

Parsing of the results is performed with the cclib library and by default all of its output is stored in the output_parameters node.

Additionally, simple plugins to submit the Gaussian utilities formchk and cubegen are provided.

Installation

pip install aiida-gaussian

This installs the plugins to the AiiDA instance (to double-check, one can list all installed plugins by verdi plugin list aiida.calculations). After this, the Gaussian codes should be set up using the plugins (https://aiida.readthedocs.io/projects/aiida-core/en/latest/).

Usage

A quick demo of how to submit a calculation:

verdi daemon start # make sure the daemon is running
cd examples
# Submit test calculation (argument is the label of gaussian code)
verdi run example_01_opt.py gaussian09

For maintainers

To create a new release, clone the repository, install development dependencies with pip install '.[dev]', and then execute bumpver update --major/--minor/--patch. This will:

  1. Create a tagged release with bumped version and push it to the repository.
  2. Trigger a GitHub actions workflow that creates a GitHub release.

Additional notes:

  • Use the --dry option to preview the release change.
  • The release tag (e.g. a/b/rc) is determined from the last release. Use the --tag option to switch the release tag.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiida-gaussian-2.0.4.tar.gz (20.6 kB view details)

Uploaded Source

Built Distribution

aiida_gaussian-2.0.4-py3-none-any.whl (24.8 kB view details)

Uploaded Python 3

File details

Details for the file aiida-gaussian-2.0.4.tar.gz.

File metadata

  • Download URL: aiida-gaussian-2.0.4.tar.gz
  • Upload date:
  • Size: 20.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for aiida-gaussian-2.0.4.tar.gz
Algorithm Hash digest
SHA256 793a66b06fc0feb11e182669d4335634d736fb9430f9440ca6b3988a6ad14f7c
MD5 80bb7d7a36485dbe5a2d34ea1b08ab2f
BLAKE2b-256 bfffa29504241b3f7c1958b3ff2421a27f4a3c81e80f9631d0529011a1b2a7e2

See more details on using hashes here.

File details

Details for the file aiida_gaussian-2.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for aiida_gaussian-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8725e8813a959ac1c480774e9744d1fb1457bc49ff52c8c36314f5b6d7a0698d
MD5 ce991e3f8c602439fbd20ff73853f4f7
BLAKE2b-256 090377f07d0f6a9bb1ecbbdfc86f9e58e0ceaf5a595a00395a6caaac4e7d172f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page