Skip to content

Commit 9a18b8b

Browse files
committed
Update for 2.6 release
1 parent 3a90fcd commit 9a18b8b

File tree

5 files changed

+24
-11
lines changed

5 files changed

+24
-11
lines changed

source/install.rst

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Install PySCF
44
*************
55

6-
1) Install with `pip` (easiest method)
7-
======================================
6+
1) Install with `pip`
7+
=====================
88
This is the recommended way to install PySCF for non-developers::
99

1010
$ pip install --prefer-binary pyscf
@@ -16,8 +16,15 @@ PySCF via pip, you can upgrade it to the new version with::
1616

1717
$ pip install --upgrade pyscf
1818

19-
.. note::
20-
Since PySCF version 2.1, the Linux wheels require manylinux2010 (for x86_64) or manylinux2014 (for aarch64). So the pip version should >= 19.3 for installing on Linux.
19+
Some theoretical models developed in recent years are only available in the
20+
pyscf-forge package. To access these modules, you can install the pyscf-forge package::
21+
22+
$ pip install pyscf-forge
23+
24+
Certain modules are maintained as extensions of PySCF (see also `Install extensions`_).
25+
To install all PySCF functionalities, you can execute the command::
26+
27+
$ pip install pyscf[all]
2128

2229

2330
2) Build from source with `pip`
@@ -38,7 +45,7 @@ list of prerequisites. If you would like to tune the CMake compilation
3845
parameters, you can set them with the environment variable `CMAKE_CONFIGURE_ARGS`,
3946
for example::
4047

41-
$ export CMAKE_CONFIGURE_ARGS="-DBUILD_MARCH_NATIVE=ON"
48+
$ export CMAKE_CONFIGURE_ARGS="-DBUILD_MARCH_NATIVE=ON -DBLA_VENDOR=Intel10_64lp_seq"
4249

4350
See :ref:`cmake_options` for more details about CMake configuration.
4451

@@ -56,7 +63,7 @@ Prerequisites for manual install are
5663
* CMake >= 3.10
5764
* Python >= 3.7
5865
* Numpy >= 1.13
59-
* Scipy >= 0.19
66+
* Scipy >= 1.3
6067
* h5py >= 2.7
6168

6269
You can download the latest version of PySCF (or the development

source/interface/geomopt.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The following example shows how to optimize the structure of the N\ :sub:`2`\ m
1717
mol = gto.M(atom='N 0 0 0; N 0 0 1.2', basis='ccpvdz')
1818
mf = scf.RHF(mol)
1919
mol_eq = optimize(mf)
20-
print(mol_eq.atom_coords())
20+
print(mol_eq.tostring())
2121

2222
Examples
2323
========

source/user/geomopt.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,23 +26,23 @@ and :mod:`pyscf.geomopt.berny_solver`::
2626
# geometric
2727
from pyscf.geomopt.geometric_solver import optimize
2828
mol_eq = optimize(mf, maxsteps=100)
29-
print(mol_eq.atom_coords())
29+
print(mol_eq.tostring())
3030

3131
# pyberny
3232
from pyscf.geomopt.berny_solver import optimize
3333
mol_eq = optimize(mf, maxsteps=100)
34-
print(mol_eq.atom_coords())
34+
print(mol_eq.tostring())
3535

3636

3737
The second way is to create an :func:`optimizer` from the :class:`Gradients` class::
3838

3939
# geometric
4040
mol_eq = mf.Gradients().optimizer(solver='geomeTRIC').kernel()
41-
print(mol_eq.atom_coords())
41+
print(mol_eq.tostring())
4242

4343
# pyberny
4444
mol_eq = mf.Gradients().optimizer(solver='berny').kernel()
45-
print(mol_eq.atom_coords())
45+
print(mol_eq.tostring())
4646

4747
For the ``geomeTRIC`` backend, the convergence criteria are
4848
controlled by the following parameters::

source/user/gto.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ This function returns a (N,3) array for the coordinates of each atom::
166166
[0. 1. 0.]
167167
[0. 0. 1.]]
168168

169+
Please note the unit is Bohr by default. You can assign the keyword argument
170+
`unit='Ang'` to change the unit to Angstrom.
169171
Ghost atoms can also be specified when inputting the geometry.
170172
See :source:`examples/gto/03-ghost_atom.py` for examples.
171173

source/version.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Version history
77
=============== ============
88
Version Release date
99
=============== ============
10+
2.6.0_ 2024-06-01
11+
2.5.0_ 2024-02-03
1012
2.4.0_ 2023-10-16
1113
2.3.0_ 2023-07-04
1214
2.2.0_ 2023-03-09
@@ -71,6 +73,8 @@ Version Release date
7173
1.0 alpha 1 2015-04-07
7274
=============== ============
7375

76+
.. _2.6.0: https://github.com/pyscf/pyscf/releases/tag/v2.6.0
77+
.. _2.5.0: https://github.com/pyscf/pyscf/releases/tag/v2.5.0
7478
.. _2.4.0: https://github.com/pyscf/pyscf/releases/tag/v2.4.0
7579
.. _2.3.0: https://github.com/pyscf/pyscf/releases/tag/v2.3.0
7680
.. _2.2.0: https://github.com/pyscf/pyscf/releases/tag/v2.2.0

0 commit comments

Comments
 (0)