@@ -8,40 +8,21 @@ PySCF with Auto-differentiation
88Installation
99------------
1010
11- ---
1211* To install the latest release, run:
1312```
1413pip install pyscfad
1514```
1615
17- ---
18- * To install the development version, use the following command instead:
16+ * To install the development version, run:
1917```
2018pip install git+https://github.com/fishjojo/pyscfad.git
2119```
22- This should also install all the dependencies.
23- Alternatively, the dependencies can be installed via a predefined conda environment:
24- ```
25- conda env create -f environment.yml
26- conda activate pyscfad_env
27- ```
28- OpenMP is not required, but is recommended:
29- ```
30- # install OpenMP runtime used with clang
31- # On Linux:
32- sudo apt update
33- sudo apt install libomp-dev
3420
35- # On OSX:
36- brew install libomp
37- ```
38-
39- ---
40- * One can also run PySCFAD inside a docker container:
41- ```
42- docker pull fishjojo/pyscfad:latest
43- docker run -rm -t -i fishjojo/pyscfad:latest /bin/bash
44- ```
21+ ` pyscfad ` depends on ` pyscf==2.3.0 ` .
22+ Other dependencies include
23+ ` numpy>=1.17 ` , ` scipy<1.12 ` , ` h5py ` ,
24+ ` pyscfadlib ` ,
25+ ` jax>=0.3.25 ` and ` jaxlib>=0.3.25 ` .
4526
4627Running examples
4728----------------
@@ -51,13 +32,6 @@ the following lines need to be added to
5132the PySCF configure file ($HOME/.pyscf\_ conf.py)
5233```
5334pyscfad = True
54- pyscf_numpy_backend = 'jax'
55- pyscf_scipy_linalg_backend = 'pyscfad'
56- pyscf_scipy_backend = 'jax'
57- # The followings turn on implicit differentiations
58- # for SCF and CC amplitude solvers
59- pyscfad_scf_implicit_diff = True
60- pyscfad_ccsd_implicit_diff = True
6135```
6236
6337Citing PySCFAD
0 commit comments