occpy 0.5.7__cp312-abi3-macosx_10_15_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bin/occ +0 -0
- occpy/__init__.py +3 -0
- occpy/_occpy.abi3.so +0 -0
- occpy-0.5.7.dist-info/METADATA +171 -0
- occpy-0.5.7.dist-info/RECORD +48 -0
- occpy-0.5.7.dist-info/WHEEL +5 -0
- occpy-0.5.7.dist-info/entry_points.txt +0 -0
- occpy-0.5.7.dist-info/licenses/LICENSE.txt +17 -0
- share/occ/basis/3-21g.json +7891 -0
- share/occ/basis/6-311g(d,p).json +5836 -0
- share/occ/basis/6-31g(d,p).json +5786 -0
- share/occ/basis/6-31g.json +5026 -0
- share/occ/basis/ano-rcc.json +73717 -0
- share/occ/basis/aug-pcseg-0.json +6408 -0
- share/occ/basis/aug-pcseg-1.json +7818 -0
- share/occ/basis/aug-pcseg-2.json +10872 -0
- share/occ/basis/aug-pcseg-3.json +14988 -0
- share/occ/basis/cc-pv5z-jkfit.json +10376 -0
- share/occ/basis/cc-pv5z.json +17739 -0
- share/occ/basis/cc-pv6z.json +6551 -0
- share/occ/basis/cc-pvdz-f12.json +3896 -0
- share/occ/basis/cc-pvdz.json +7433 -0
- share/occ/basis/cc-pvqz-f12.json +6919 -0
- share/occ/basis/cc-pvqz-jkfit.json +9491 -0
- share/occ/basis/cc-pvqz.json +13257 -0
- share/occ/basis/cc-pvtz-f12.json +5176 -0
- share/occ/basis/cc-pvtz-jkfit.json +8921 -0
- share/occ/basis/cc-pvtz.json +9949 -0
- share/occ/basis/def2-qzvp.json +39513 -0
- share/occ/basis/def2-qzvpd.json +31643 -0
- share/occ/basis/def2-qzvpp.json +41135 -0
- share/occ/basis/def2-qzvppd.json +32791 -0
- share/occ/basis/def2-sv(p).json +23943 -0
- share/occ/basis/def2-svp.json +24888 -0
- share/occ/basis/def2-svpd.json +19623 -0
- share/occ/basis/def2-tzvp.json +29879 -0
- share/occ/basis/def2-tzvpd.json +23680 -0
- share/occ/basis/def2-tzvpp.json +31380 -0
- share/occ/basis/def2-tzvppd.json +24937 -0
- share/occ/basis/def2-universal-jfit.json +32154 -0
- share/occ/basis/def2-universal-jkfit.json +66233 -0
- share/occ/basis/mini.json +15814 -0
- share/occ/basis/pcseg-0.json +5178 -0
- share/occ/basis/pcseg-1.json +6138 -0
- share/occ/basis/pcseg-2.json +8682 -0
- share/occ/basis/pcseg-3.json +12258 -0
- share/occ/basis/sto-3g.json +6013 -0
- share/occ/basis/thakkar.json +44708 -0
bin/occ
ADDED
Binary file
|
occpy/__init__.py
ADDED
occpy/_occpy.abi3.so
ADDED
Binary file
|
@@ -0,0 +1,171 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: occpy
|
3
|
+
Version: 0.5.7
|
4
|
+
Summary: A library for quantum chemistry
|
5
|
+
Author-Email: Peter Spackman <peterspackman@fastmail.com>
|
6
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
|
7
|
+
Project-URL: Homepage, https://github.com/peterspackman/occ
|
8
|
+
Requires-Python: >=3.8
|
9
|
+
Requires-Dist: numpy
|
10
|
+
Description-Content-Type: text/markdown
|
11
|
+
License-File: LICENSE.txt
|
12
|
+
|
13
|
+
# Open Computational Chemistry (OCC)
|
14
|
+
<img src="https://github.com/peterspackman/occ/raw/main/docs/static/occ.png" width=640/>
|
15
|
+
|
16
|
+
[](https://github.com/peterspackman/occ/actions/workflows/build_test.yml)
|
17
|
+
[](https://zenodo.org/doi/10.5281/zenodo.10703204)
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
A next generation quantum chemistry and crystallography program and library.
|
22
|
+
|
23
|
+
**Note**: occ is in early development, and is undergoing substantial changes regularly - it is not stable, and features are being added & developed rapidly.
|
24
|
+
|
25
|
+
## Features
|
26
|
+
|
27
|
+
### Quantum chemistry
|
28
|
+
|
29
|
+
Occ is already a fairly fully featured program for ground-state single point calculations in quantum chemistry, including:
|
30
|
+
- Hartree-Fock (Restricted, Unrestricted and General Spinorbitals)
|
31
|
+
- Density-Functional Theory (Restricted & Unrestricted Spinorbitals)
|
32
|
+
- The LDA, GGA and meta-GGA approximations are supported
|
33
|
+
- Global hybrid functionals (range-separated will be added in the future)
|
34
|
+
- Density fitting (RI-JK) using an auxiliary basis for all above methods
|
35
|
+
- Implicit solvation via SMD
|
36
|
+
|
37
|
+
Seminumerical exchange (i.e. chain of spheres/COSX) has been implemented, but the performance is not yet good enough to be useful.
|
38
|
+
|
39
|
+
Property calculations that are currently available
|
40
|
+
- Molecular and atomic multipole moments up to hexadecapole (only Mulliken partitioning is implemented)
|
41
|
+
- Electrostatic potential calculations
|
42
|
+
- Electron density (of course)
|
43
|
+
- CHELPG charges
|
44
|
+
|
45
|
+
I've recently added an implementation of the XDM dispersion model, which will be properly interfaced and made convenient to use
|
46
|
+
in the future.
|
47
|
+
|
48
|
+
Not yet implemented:
|
49
|
+
- Gradients (and optimization of geometries)
|
50
|
+
- Perturbation theory (e.g. MP2)
|
51
|
+
- Coupled-cluster methods
|
52
|
+
|
53
|
+
### Crystal structures
|
54
|
+
|
55
|
+
- Reading CIF files (via gemmi)
|
56
|
+
- Fast periodic bond detection, generation of symmetry unique molecules, dimers and more...
|
57
|
+
- CrystalExplorer model energies
|
58
|
+
- Automatic direct space summation of lattice energies for neutral molecular crystals including Wolf summation.
|
59
|
+
- Hirshfeld surfaces, and promolecule surfaces
|
60
|
+
|
61
|
+
### Misc
|
62
|
+
- Spherical harmonic transforms using FFTs
|
63
|
+
- Molecular point group detection/determination
|
64
|
+
- Reading/writing Gaussian fchk files (including MO normalization and reordering of basis functions)
|
65
|
+
- Reading molden files (including MO normalization and reordering of basis functions)
|
66
|
+
- Writing numpy `.npy` arrays
|
67
|
+
- Reading QCSchema formatted JSON files.
|
68
|
+
- Reading basic Gaussian input files
|
69
|
+
- Marching cubes
|
70
|
+
- Morton codes for linear-hashed octrees
|
71
|
+
- Electronegativity equilibration method for charges
|
72
|
+
|
73
|
+
First steps have been taken, with a proof of concept python interface for convenience & scripting using pybind11.
|
74
|
+
|
75
|
+
## Compilation
|
76
|
+
|
77
|
+
occ requires a compliant C++17 compiler e.g. GCC-10 or newer.
|
78
|
+
|
79
|
+
### Dependencies
|
80
|
+
|
81
|
+
occ makes use of the the following open source libraries:
|
82
|
+
|
83
|
+
- [cxxopts](https://github.com/jarro2783/cxxopts)
|
84
|
+
- [Eigen3](https://eigen.tuxfamily.org/)(`eigen3-dev`)
|
85
|
+
- [fmt](https://github.com/fmtlib/fmt)
|
86
|
+
- [gau2grid](https://github.com/dgasmith/gau2grid)
|
87
|
+
- [gemmi](https://gemmi.readthedocs.io/)
|
88
|
+
- [LBFGS++](https://lbfgspp.statr.me/)
|
89
|
+
- [libcint](https://github.com/sunqm/libcint)
|
90
|
+
- [libxc](http://www.tddft.org/programs/libxc/)
|
91
|
+
- [nanoflann](https://github.com/jlblancoc/nanoflann)
|
92
|
+
- [nlohmann/json](https://github.com/nlohmann/json)
|
93
|
+
- [pocketFFT](https://github.com/hayguen/pocketfft)
|
94
|
+
- [scnlib](https://github.com/eliaskosunen/scnlib)
|
95
|
+
- [spdlog](https://github.com/gabime/spdlog)
|
96
|
+
|
97
|
+
And for the library tests/benchmarks:
|
98
|
+
|
99
|
+
- [catch2](https://github.com/catchorg/Catch2)
|
100
|
+
|
101
|
+
|
102
|
+
### Getting the source code
|
103
|
+
|
104
|
+
First clone the repository:
|
105
|
+
```
|
106
|
+
git clone https://github.com/peterspackman/occ.git
|
107
|
+
```
|
108
|
+
|
109
|
+
### Getting dependencies
|
110
|
+
|
111
|
+
Most of the dependencies can be downloaded and compiled via [CPM](https://github.com/cpm-cmake/CPM.cmake),
|
112
|
+
but you may wish to use system installed dependencies for `libxc` and `eigen3` which will be searched for by default.
|
113
|
+
Note `occ` requires eigen version 3.4 or newer, which most operating systems do not package by default.
|
114
|
+
|
115
|
+
### Caching dependency downloads
|
116
|
+
|
117
|
+
If you wish to download and compile all dependencies, but you're a developer or want to avoid downloading
|
118
|
+
the dependencies every new build, I'd recommend setting up a source cache for CPM
|
119
|
+
via the environment variable `CPM_SOURCE_CACHE` e.g. adding the following to your environment.
|
120
|
+
|
121
|
+
```
|
122
|
+
export CPM_SOURCE_CACHE="$HOME/.cache/cpm"
|
123
|
+
```
|
124
|
+
|
125
|
+
####
|
126
|
+
|
127
|
+
For building the repository I highly recommend using [ninja](https://ninja-build.org/) rather
|
128
|
+
than make.
|
129
|
+
|
130
|
+
Once the dependencies are installed, start an out-of-source build e.g.
|
131
|
+
```
|
132
|
+
mkdir build && cd build
|
133
|
+
cmake .. -GNinja
|
134
|
+
```
|
135
|
+
|
136
|
+
**OR**, if you'd rather download all dependencies you could call cmake with:
|
137
|
+
|
138
|
+
```
|
139
|
+
cmake .. -GNinja \
|
140
|
+
-DUSE_SYSTEM_LIBXC=OFF \
|
141
|
+
-DUSE_SYSTEM_EIGEN=OFF
|
142
|
+
```
|
143
|
+
|
144
|
+
Generally, speedups can be achieved by allowing the compiler to optimize for your platform using `-march=native` or similar flags.
|
145
|
+
|
146
|
+
Finally, to build the binary `occ`, running
|
147
|
+
|
148
|
+
```
|
149
|
+
ninja occ
|
150
|
+
```
|
151
|
+
|
152
|
+
will result in the binary being built under the `bin` directory wherever
|
153
|
+
your build directory is located
|
154
|
+
|
155
|
+
## Usage
|
156
|
+
|
157
|
+
All following usage is a work in progress, expect significant changes
|
158
|
+
constantly for the time-being while the exact input format is decided.
|
159
|
+
|
160
|
+
### occ
|
161
|
+
|
162
|
+
By default `occ -h` will print out its usage options, but basic usage
|
163
|
+
given a geometry e.g. `h2o.xyz` format would be:
|
164
|
+
|
165
|
+
```
|
166
|
+
occ h2o.xyz b3lyp 6-31g
|
167
|
+
```
|
168
|
+
|
169
|
+
### Basis set locations
|
170
|
+
*note* The path the `occ` will use to search for basis sets can be configured with the `OCC_BASIS_PATH` environment variable,
|
171
|
+
or you can simply make the basis set available in your working directory.
|
@@ -0,0 +1,48 @@
|
|
1
|
+
occpy/__init__.py,sha256=qVOm_6UPBFJdCGomi-NBwFn-_n8EGy3-aq790dlhB_4,73
|
2
|
+
occpy/_occpy.abi3.so,sha256=nJhytBwlG3VSXxqS_o9KsLKgB4F-orI2O1TMVSTegZI,46294107
|
3
|
+
bin/occ,sha256=D1uuHUNmW9_w9yCBlZ7mNCggHOWZRqS3C0pgqIhMAoI,50637824
|
4
|
+
occpy-0.5.7.dist-info/RECORD,,
|
5
|
+
occpy-0.5.7.dist-info/WHEEL,sha256=1bXKveO1GQZR0J09rf2n8G5bVKOVVxLuqrJ6BxHL0C0,118
|
6
|
+
occpy-0.5.7.dist-info/entry_points.txt,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
|
+
occpy-0.5.7.dist-info/METADATA,sha256=HrGHr0oDprnTjKM_gXrE0MCc0SidXxoDYvftEPDb2PE,6133
|
8
|
+
occpy-0.5.7.dist-info/licenses/LICENSE.txt,sha256=5fvmauGmRic38fyZZuc3YBBPEmgbYKVcRuCb1YLN7UU,781
|
9
|
+
share/occ/basis/pcseg-0.json,sha256=qhglPPcgp61HOZK5RNL8HII79Yq7N5o8L_Ac6lGsxJE,166001
|
10
|
+
share/occ/basis/3-21g.json,sha256=NfvlvEwx4kvMhzx7W50hJ6aFIGRHrlSoQ4riFOQnTEw,264009
|
11
|
+
share/occ/basis/def2-tzvpd.json,sha256=lv9pORvpYJYEQi8aMvkOUjOMgOL62M7rlITA8x1OF40,758730
|
12
|
+
share/occ/basis/def2-tzvp.json,sha256=zBnQSRTMZVWgqH_3UWV9NdWp_M81P9JNjqZqZ8eOSA0,952967
|
13
|
+
share/occ/basis/cc-pvqz.json,sha256=bZdKRIG20kUGwoUl80Iw3PbMqqVfLMLX8r5UKe0LaQc,518878
|
14
|
+
share/occ/basis/mini.json,sha256=86UaJaxP-ZO7r7FN5gAWrz1KTj04m4RwAV65rTPCm34,344825
|
15
|
+
share/occ/basis/cc-pv5z.json,sha256=Bf3tCLt69EzAuR1z7kPTFqrkFdXGFwGonyg4K-0eyKU,702114
|
16
|
+
share/occ/basis/def2-tzvppd.json,sha256=eQvcSkJQRBkJKiJKjxIAkopbSsbQNWudjNRtM-dBXIw,797441
|
17
|
+
share/occ/basis/def2-tzvpp.json,sha256=-eB5Ss9Y8z351kmPcVE2JWFdD9wFhShfoXYwRypUYLY,999686
|
18
|
+
share/occ/basis/pcseg-1.json,sha256=FWAn-t2bhH8bCVAoDpwZRSoJtAfdWofV9PwdV78YGf8,200970
|
19
|
+
share/occ/basis/aug-pcseg-3.json,sha256=mB6dW3c3OQju3GufISoy2XIy9yvS3XlVaSlv_syiSUQ,488436
|
20
|
+
share/occ/basis/def2-svp.json,sha256=_P6fkPsbiCRappOlp6YS5l40WssdfjvsRKk8Wl3z54E,796837
|
21
|
+
share/occ/basis/cc-pvtz.json,sha256=66FqJ4fCWKKrHw5wgY4iL8Ct3-RFPOQsk13_dUhaqIk,385699
|
22
|
+
share/occ/basis/6-31g.json,sha256=G-TBdxklJSZQdhWD0tw1oofzgseg7TP_CkrluR62aD4,176415
|
23
|
+
share/occ/basis/cc-pvtz-f12.json,sha256=cDIdvTAB-ZhriKSmmoTTmpUDQPZ_RJfEo_K8T2fPCHo,189078
|
24
|
+
share/occ/basis/def2-sv(p).json,sha256=cYBJszp5WC4yH0QRDr6xrS7rWCxLY3S8H-WGF3-1L5E,765953
|
25
|
+
share/occ/basis/def2-universal-jkfit.json,sha256=DOrzRZzp2kij7jD_qevqlj2jKcZyysnTQfFViGOaHDM,2048819
|
26
|
+
share/occ/basis/cc-pv6z.json,sha256=7wDdCudOE1s46WCwuCX8Cevw7rPaB3pImvrHVS7hjZY,251227
|
27
|
+
share/occ/basis/aug-pcseg-2.json,sha256=Pm9geGB51AXyxZVfyV2wYov7wXDuSpDm2Lje3nyGVyU,352810
|
28
|
+
share/occ/basis/aug-pcseg-1.json,sha256=mg-HpCnQcUB1Qg7R-aIAu7oQ0RVFf9CF7mC_FHuMYkA,253274
|
29
|
+
share/occ/basis/sto-3g.json,sha256=7D3VidT9SQd1fPo3cgNrqbWL4CZnZuqcJsBWmvjfn7o,205386
|
30
|
+
share/occ/basis/def2-universal-jfit.json,sha256=NnCNDf4BsTemU6SEbP5i5L06YASLMmCBJSnK-TXl6o8,997958
|
31
|
+
share/occ/basis/cc-pv5z-jkfit.json,sha256=b8M1Pee7f_ttr99u_PDxCMcNMCGVqacO12k6ukJ3V3s,319897
|
32
|
+
"share/occ/basis/6-311g(d,p).json",sha256=XV-2gMQFEzda9LE04NXkJNsoyzC13dIq0cqJ7-UoKV8,183144
|
33
|
+
share/occ/basis/def2-svpd.json,sha256=oyvslqOhm8p0f9jOQd3RE1qdmRxwp9up4GYYEh1AIvM,631106
|
34
|
+
share/occ/basis/aug-pcseg-0.json,sha256=Oa1Rj7j4G5kViuPCwPyiypEsnwuu-PrJSCyC85SvF90,204161
|
35
|
+
share/occ/basis/cc-pvqz-f12.json,sha256=2HMhjLRh6Ud4bWs5_w6Y1KFlGlvkfHGE5azdW8B913s,254917
|
36
|
+
share/occ/basis/thakkar.json,sha256=iTlcyKH6cJH3TQITkeT9W3E8oUf-PiR4aOIfab6oOIc,759834
|
37
|
+
share/occ/basis/cc-pvdz-f12.json,sha256=7ibOqOcRI6s9CX0PBvPBrcKzFbFO6zsWr9-CHCx1VBM,141589
|
38
|
+
share/occ/basis/cc-pvdz.json,sha256=rZCSLByGXzQ9Ah4-x3DgrL5sKLkc1ZFVu3hdKbJRLyc,286107
|
39
|
+
share/occ/basis/pcseg-2.json,sha256=Mf7dUyKIrIFa2lN4ukjrsysd0gVdKel2Jvkvy1gRXQg,284458
|
40
|
+
share/occ/basis/def2-qzvppd.json,sha256=b8hhc2S2fwCVzn7Zz2XR86iGl-ULp6Kz-NcDVucTrkM,1047380
|
41
|
+
share/occ/basis/def2-qzvp.json,sha256=3MQGrvaXPHWEj0-QrUEfZXbJlLx9DS39u85q_RkwB3Q,1260990
|
42
|
+
share/occ/basis/cc-pvqz-jkfit.json,sha256=PCiJ0x3W44p9_3F5Sn8kcLEiApNmEUsyFt1dxQ2ct6M,291910
|
43
|
+
share/occ/basis/def2-qzvpd.json,sha256=jrdM-r3Q_TwBwh0mwCkCtpnVe7719eOC2qV1O0Xia94,1011712
|
44
|
+
share/occ/basis/ano-rcc.json,sha256=81JxpBoHl3Lv8H_rbc9d65fPoampezMjAGBqfvtjyCY,2889762
|
45
|
+
"share/occ/basis/6-31g(d,p).json",sha256=QyyrtinxOnn3YbTjXFhV64fRa5krFNkHZBFLTeMDmGg,202064
|
46
|
+
share/occ/basis/def2-qzvpp.json,sha256=mxDBXO1ioVvU9I5q-0Sfnx7im3eUqeCmfALTv8_PIJQ,1312116
|
47
|
+
share/occ/basis/cc-pvtz-jkfit.json,sha256=EGFYnz_vek0fhWnkrERNbndcTUdkuqF6Ht0CZAXgjc8,273912
|
48
|
+
share/occ/basis/pcseg-3.json,sha256=589ml7XwiCqz70j56NOMZzdlwrmtWT5FdAtXQia3r34,403092
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
occ, a program for quantum chemistry & crystallography
|
2
|
+
Copyright (C) 2023 Peter Spackman
|
3
|
+
|
4
|
+
This program is free software: you can redistribute it and/or modify
|
5
|
+
it under the terms of the GNU General Public License as published by
|
6
|
+
the Free Software Foundation, either version 3 of the License, or
|
7
|
+
(at your option) any later version.
|
8
|
+
|
9
|
+
This program is distributed in the hope that it will be useful,
|
10
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
11
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
12
|
+
GNU General Public License for more details.
|
13
|
+
|
14
|
+
You should have received a copy of the GNU General Public License
|
15
|
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
16
|
+
|
17
|
+
If you are interested in other licensing options, please contact the author.
|