Skip to main content

A script to run Gaussian automatically.

Reason this release was yanked:

wheel is empty

Project description

GaussianRunner

python version PyPI codecov

A Python script to run Gaussian automatically and in batches.

Installation

Before you use GaussianRunner, please install Gaussian first.

pip install gaussianrunner

You can test whether the program is running normally:

python setup.py pytest

Examples

Simple example

from gaussianrunner import GaussianRunner,GaussianAnalyst
logfiles=GaussianRunner(keywords='opt freq b3lyp/6-31g(d,p)').runGaussianInParallel('SMILES',['C','C=C','CC','CO','OCCO','C=O','CN','O=O','O'])
GaussianAnalyst(properties=['free_energy']).readFromLOGs(logfiles)
[{'name': 'C.log', 'free_energy': -40.49868}, {'name': 'C=C.log', 'free_energy': -78.563562}, {'name': 'CC.log', 'free_energy': -79.786915}, {'name': 'CO.log', 'free_energy': -115.69529}, {'name': 'OCCO.log', 'free_energy': -230.198798}, {'name': 'C=O.log', 'free_energy': -114.498144}, {'name': 'CN.log', 'free_energy': -95.822381}, {'name': 'O=O.log', 'free_energy': -150.272624}, {'name': 'O.log', 'free_energy': -76.416031}]

Running across nodes with MPI

First, install MPI4PY and MPICH 2:

conda install mpi4py

Then run mpiexample.py with MPI:

mpirun -n 9 --hostfile hostfile python mpiexample.py

There should be hostfile in the folder.

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

gaussianrunner-1.0.33.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

gaussianrunner-1.0.33-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file gaussianrunner-1.0.33.tar.gz.

File metadata

  • Download URL: gaussianrunner-1.0.33.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for gaussianrunner-1.0.33.tar.gz
Algorithm Hash digest
SHA256 f2126df1050044e9fea6896e8ed72455320278e74ae3802c20a03ec1acacc531
MD5 268187f6d70ed91ed8293a53e9945f94
BLAKE2b-256 dfc77a9c4b12cdb97da1595140c3799c1df67a8d9b0cbbcc4f254b9875e7af41

See more details on using hashes here.

File details

Details for the file gaussianrunner-1.0.33-py3-none-any.whl.

File metadata

File hashes

Hashes for gaussianrunner-1.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 24759e06450d9d596d1e828b52eb8499bb7cc148a9853fb2b226d728c5de2e6b
MD5 5c59551c5aa0675ae8f9cfe7056760fc
BLAKE2b-256 e5c8794dd0a17ae52e755c1889ce68c291d60966cbd322d2901cb0f1aa6a6685

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