GaussianRunner
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.
Metadata
Release files for gaussianrunner 1.0.34
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gaussianrunner-1.0.34.tar.gz | 15.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gaussianrunner-1.0.34-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.3 kB
Release files / gaussianrunner-1.0.34.tar.gz
| Download URL | gaussianrunner-1.0.34.tar.gz |
|---|---|
| Size | 15.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6004e66110161efeb23c1457c1d1587e49307ab24d04c51eb31ef5906b539ca
|
|
BLAKE2b-256 checksum How to use checksums |
b7ae6ede36d0ac7afca03b05e5580e18df4669b2c9780e66fbdb54b848b680b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / gaussianrunner-1.0.34-py3-none-any.whl
| Download URL | gaussianrunner-1.0.34-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e61838fb7d653422f3aee01d8411794e8fb54e546fdcef7edde2e89c7fab661
|
|
BLAKE2b-256 checksum How to use checksums |
7fce7fe5d0d3ed688c1e538005d7301abdcd4868629477bece31ff1f07155307
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for gaussianrunner 1.0.34
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.