Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
EnergyDensity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lubergroup
EnergyDensity
Commits
6037a047
Commit
6037a047
authored
3 years ago
by
Ruocheng Han
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
6412f6ed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+23
-5
23 additions, 5 deletions
README.md
with
23 additions
and
5 deletions
README.md
+
23
−
5
View file @
6037a047
...
...
@@ -3,21 +3,39 @@
This is python code of generating MP2, MP3, and MP4 correlation energy density based on
**one boby decomposition scheme**
(https://doi.org/10.1002/qua.22017)
Requirement of python packages:
```
python
```
shell
numpy, scipy, h5py, torch, quadpy, itertools, mmap, tqdm
```
Optional of python packages:
```
python
pycuda
,
skcuda
#if you use GPU for preparing Ajb
```
shell
pycuda, skcuda
# if you use GPU for preparing Ajb
```
Requirement of external packages:
```
shell
Psi4
# to generate wavefunction and FCIDUMP file
molden2aim
# to convert molden format to .WFN
```
## Examples
### ch4_200_031
This is to calculate energy dnsity on Carbon and Hydrogen atom of CH4 with grid settings:
This is to calculate energy d
e
nsity on Carbon and Hydrogen atom of CH4
@3-21g
with grid settings:
Legendre quadrature (200 radial points) and Lebedev quadrature (noted as 031, 350 angular points).
```
shell
# cd ch4_200_031/
# prepare wavefunction and FCIDUMP files, here we use Psi4 package
cd
examples/ch4_200_031/calcu/
psi4
-n
8
-i
input.dat
-o
output.dat
# convert molden format of wavefunction and txt format of FCIDUMP (in Psi 4 is INPDUMP)
# into .npy files
# Note that external package is needed to convert molden to .WFN first, we use molden2aim
# (https://github.com/zorkzou/Molden2AIM) for example.
cd
../prep/
chmod
+x mlcorr_prep.sh
./mlcorr_prep.sh ch4
#
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment