Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
199 commits
Select commit Hold shift + click to select a range
328bb23
Fix default vdW radii (#463)
Gabrielgerez Sep 26, 2023
6a5a348
add readthedocs.yml, same as for MRCPP
Gabrielgerez Sep 27, 2023
096725a
Manually add requirements to .readthedocs.yml
Gabrielgerez Sep 27, 2023
d5becc8
attempt 2 at setting up requirements
Gabrielgerez Sep 27, 2023
bb93e8b
Fix typo in .readthedocs.yml
Gabrielgerez Sep 27, 2023
6c36768
Fix a second typo in .readthedocs.yml
Gabrielgerez Sep 27, 2023
7405a5f
Fix incoming build error in rtd
Gabrielgerez Oct 2, 2023
b4c5fa4
Update .readthedocs.yml
robertodr Oct 2, 2023
8cfc889
Pin sphinx
robertodr Oct 2, 2023
7f73667
Update betzy_example.job
gitpeterwind Oct 15, 2023
33ccfd7
cavity function used directly instead of projected first (#458)
gitpeterwind Nov 2, 2023
2c78b6c
Convert default radii to bohr when input units are not angstrom (#473)
robertodr Nov 20, 2023
ab5b6ad
Refactor the Permittivity function (#465)
Gabrielgerez Nov 21, 2023
b850d4a
Linear response with solvent (#471)
robertodr Nov 24, 2023
9849caa
Bugfix: critical sign error in magnetic properties
stigrj Jan 16, 2024
f17aa5a
Add test for magnetic properties
stigrj Jan 16, 2024
9dcd227
Validate cavity only if doing PCM
robertodr Feb 6, 2024
5366f2b
Tell user to specify radii explicitly when not known
robertodr Feb 6, 2024
cc9733c
add sqnm code
Apr 17, 2023
3092b7f
add readme of vcsqnm package
Apr 17, 2023
341cdf9
paritally finished structure of interface
Apr 17, 2023
0315e90
saves
Apr 18, 2023
ceea49e
improve print statement
Apr 18, 2023
f24ff5c
sketch of geopt working
Apr 18, 2023
a1e3f5f
remove unnecessary prints, adjust geopt params.
Apr 18, 2023
d017dac
read in old previous solution as initial guess
Apr 18, 2023
00eeb6f
add parameters, mpi barrier and return final result
moritzgubler Apr 19, 2023
b99815b
update intrface to geompetry optimizer
moritzgubler Apr 19, 2023
acefaff
added documentation and more output.
moritzgubler Apr 19, 2023
edabca3
added mpi todo.
moritzgubler Apr 19, 2023
31b8f41
add print for automatic step size guessing
moritzgubler Apr 19, 2023
2f50d3c
adjust print
moritzgubler Apr 19, 2023
baf2d44
adjust initial step size
moritzgubler Apr 19, 2023
932784c
Add geomerty optimizer input parameters
stigrj Apr 22, 2023
58e5fe3
Update input parser
stigrj Apr 22, 2023
548ac32
Make use of geometry optimization input parameters
stigrj Apr 22, 2023
ff32671
Fix geomopt input defaults
stigrj Apr 22, 2023
215c253
Add GeometryOptimizer.use_previous_guess input option
stigrj May 23, 2023
90a8c1c
Add some sentences to the documentation template
moritzgubler May 24, 2023
2e87a5c
add license informations
moritzgubler Aug 17, 2023
d9e9d24
merge historylist from initial repository.
moritzgubler Aug 18, 2023
ff75ab0
pass json as const
moritzgubler Aug 18, 2023
75fa30e
make position argument const
moritzgubler Aug 18, 2023
502edc4
improve get position function
moritzgubler Aug 18, 2023
d08cf47
impove energy and force mechanism and add documentation
moritzgubler Aug 18, 2023
b48a491
convert cout to cerr
moritzgubler Aug 18, 2023
6b35835
Update src/vc_sqnm/README.md
moritzgubler Aug 18, 2023
98cef2e
add missing ;
moritzgubler Aug 18, 2023
63db859
improve prints
moritzgubler Sep 1, 2023
b6745d6
write output json
moritzgubler Sep 1, 2023
d205805
format output
moritzgubler Sep 1, 2023
3d3eca7
Update mpi barrier comment
moritzgubler Oct 23, 2023
9583a26
remove old comment
moritzgubler Oct 23, 2023
6286ccd
dont copy scf results
moritzgubler Oct 23, 2023
1c0463e
improve signature of function
moritzgubler Oct 23, 2023
2314f02
imporve interface
moritzgubler Oct 23, 2023
0ff500c
improve interface
moritzgubler Oct 23, 2023
41df8b4
fix constant parameters
moritzgubler Oct 23, 2023
b3724eb
start work on manual
moritzgubler Oct 24, 2023
c083ee7
fix typo
moritzgubler Oct 24, 2023
c748639
more docs
moritzgubler Oct 24, 2023
c57a227
finalize docs
moritzgubler Oct 24, 2023
291e421
reference geopt docs
moritzgubler Oct 24, 2023
cde8793
print warning when the geometry optimization did
moritzgubler Oct 24, 2023
bfbbb7f
use mrchems print library for convergence warning.
moritzgubler Oct 24, 2023
1f7b823
Update geometry_optimization.rst
robertodr Oct 25, 2023
d9d3374
Add stub for SNQM test
robertodr Oct 30, 2023
0029d37
Flesh out test
robertodr Oct 30, 2023
cc126ea
Tweak geometry optiimizer printed output
stigrj Jan 29, 2024
d860972
adapt output json
moritzgubler Feb 1, 2024
8078bc0
also write xyz file
moritzgubler Feb 1, 2024
cb3dbef
remove prints
moritzgubler Feb 2, 2024
43350ee
pass additional argument
moritzgubler Feb 2, 2024
966b8ba
fix output units of xyz file
moritzgubler Feb 2, 2024
5b80166
add more comment in xyz file
moritzgubler Feb 2, 2024
1f18f4a
flush output stream
moritzgubler Feb 2, 2024
294c08c
use mrchem conversion factor
moritzgubler Feb 5, 2024
2eca088
correct numAtoms in xyz writer
moritzgubler Feb 6, 2024
f2b91a2
Add poisson-boltzmann to the SCRF (#450)
Gabrielgerez Feb 14, 2024
12fc171
XC by nodes
gitpeterwind Nov 26, 2023
99688b0
node based DFT implemented and tested for second order GGA
gitpeterwind Nov 30, 2023
0ffa8e2
mrcpp tag
gitpeterwind Nov 30, 2023
d51ddce
omp_threads as keyword in the MPI section to set the number of omp th…
gitpeterwind Dec 7, 2023
4540bf7
clean ups, comments
gitpeterwind Dec 9, 2023
910b582
superfast rotation in sad initial guess
gitpeterwind Dec 11, 2023
b859abd
use overlap from mrcpp, RRmaximizer slightly optimized
gitpeterwind Jan 1, 2024
6f6f4f6
update mrcpp git tag
gitpeterwind Jan 30, 2024
3aa8184
dummy
gitpeterwind Jan 31, 2024
1a9550f
Update fetch_mrcpp.cmake
ilfreddy Feb 6, 2024
c97ca5e
fix tests
gitpeterwind Feb 13, 2024
bca09e6
update mrcpp gittag
gitpeterwind Feb 14, 2024
c21df25
update test and mrcpp gittag
gitpeterwind Feb 15, 2024
140c04f
update test li_scf_pbe0 json file and gittag
gitpeterwind Feb 15, 2024
43b1400
doc OMP_NUM_THREADS
gitpeterwind Feb 20, 2024
aa44545
merge user_ref.rst
gitpeterwind Feb 20, 2024
6795f74
git rm unwanted files
gitpeterwind Feb 20, 2024
e40f5c1
Update doc/users/user_inp.rst
ilfreddy Feb 20, 2024
ff76b1e
Refactorization using component functions as Orbitals
gitpeterwind Aug 5, 2024
c48e883
compiles with Func methods instead of variable
gitpeterwind Aug 12, 2024
847d665
qmfunction tests passes
gitpeterwind Aug 14, 2024
4dde496
all tests passes except hessians
gitpeterwind Aug 22, 2024
53d2f77
all tests passes
gitpeterwind Aug 23, 2024
70f123e
some cleaning
gitpeterwind Aug 26, 2024
5acf7d1
compatibility for redefined mrcpp alloc
gitpeterwind Aug 26, 2024
3490ccf
conflict solved
gitpeterwind Aug 5, 2024
ef25796
compiles with Func methods instead of variable
gitpeterwind Aug 12, 2024
ab901a3
qmfunction tests passes
gitpeterwind Aug 14, 2024
a6bc9ba
all tests passes except hessians
gitpeterwind Aug 22, 2024
66947ac
all tests passes
gitpeterwind Aug 23, 2024
2fc0119
some cleaning
gitpeterwind Aug 26, 2024
a8bf937
compatibility for redefined mrcpp alloc
gitpeterwind Aug 26, 2024
81e088e
resolve conflict
gitpeterwind Aug 28, 2024
6c8f6ad
Refactorization using component functions as Orbitals
gitpeterwind Aug 5, 2024
df3940b
compiles with Func methods instead of variable
gitpeterwind Aug 12, 2024
e6f49f1
qmfunction tests passes
gitpeterwind Aug 14, 2024
b76793d
all tests passes except hessians
gitpeterwind Aug 22, 2024
f0e550d
all tests passes
gitpeterwind Aug 23, 2024
fe10cb7
some cleaning
gitpeterwind Aug 26, 2024
4e6d15e
compatibility for redefined mrcpp alloc
gitpeterwind Aug 26, 2024
cb6c427
multiplicative factor for momentum
gitpeterwind Aug 28, 2024
d39e0e5
merged
gitpeterwind Aug 28, 2024
c511191
Merge branch 'recover-latest' into UseComponents
gitpeterwind Aug 28, 2024
ba8fc9e
read and write orbitals in text format
gitpeterwind Dec 19, 2024
a454032
read and write set of orbitals
gitpeterwind Dec 23, 2024
0fbdf62
documentation
gitpeterwind Dec 30, 2024
12aee43
merged
gitpeterwind Jan 2, 2025
2a4b3b3
Update fetch_mrcpp.cmake
ilfreddy Feb 18, 2025
0f30f2f
update hf_grad_lda test
gitpeterwind Feb 20, 2025
2d008a5
update mrcpp tag
gitpeterwind Feb 20, 2025
da106b5
update hf_grad_blyp_surface_force test
gitpeterwind Feb 20, 2025
20e53b0
update tag
gitpeterwind Feb 20, 2025
b67c2ce
fixed imaginary operators
gitpeterwind Feb 24, 2025
cd08515
updated test reference outputs
gitpeterwind Feb 25, 2025
faa9c15
relaxed rtol in test for E_xc hf_grad_blyp_surface_force to 1e-5
gitpeterwind Feb 25, 2025
ac5a3c5
Clean ups, suggestions from Roberto
gitpeterwind Feb 26, 2025
4686a50
clang-format
gitpeterwind Feb 26, 2025
d5b88c9
Update tests/qmoperators/xc_operator_blyp.cpp
gitpeterwind Mar 5, 2025
d9ba893
merge
gitpeterwind Mar 7, 2025
ac44fe4
mrcpp tag
gitpeterwind Mar 10, 2025
4635fe7
update build-test.yml
gitpeterwind Mar 10, 2025
56a1028
density compute: copy grid before multiply
gitpeterwind Mar 11, 2025
424eb54
restored old tests references values
gitpeterwind Mar 11, 2025
fce6aff
fixed complex magnetizability
gitpeterwind Mar 12, 2025
d0338ca
restored old test references for zora and azora
gitpeterwind Mar 12, 2025
bef0d69
updated test references for zora and azora
gitpeterwind Mar 12, 2025
e9f6fea
Abort if attempting to add imaginary and real operators
gitpeterwind Mar 13, 2025
c28383e
override virtual
gitpeterwind Mar 18, 2025
4d739e3
bug fix
gitpeterwind Aug 31, 2025
ab8166b
update li_sc_pbe0 reference (last digits)
Aug 31, 2025
eae342e
update li_sc_pbe0 reference (last digits)
Aug 31, 2025
629763c
Fixes conflicts in the last PR from Peter
ilfreddy Sep 14, 2025
925022c
Referesh reference li.json in tests/li_scf_pbe0
ilfreddy Sep 15, 2025
db326b9
Makes PBSolver test run much faster
ilfreddy Sep 15, 2025
0deafcd
Merge pull request #510 from ilfreddy/peter_text_merge
ilfreddy Sep 16, 2025
d0ac3d7
Update config.yml (#513)
ilfreddy Oct 10, 2025
0e29aae
Deepcopy (#512)
gitpeterwind Oct 14, 2025
da8a44f
Allow CMake to be happy with Eigen3 version 5.0.0
susilehtola Oct 16, 2025
d51970c
Updates mrcpp git tag
ilfreddy Oct 16, 2025
a2a65f3
Update mrcpp git tag
susilehtola Oct 17, 2025
67bd8a5
Copy OrbitalVector into complex type
gitpeterwind Oct 24, 2025
43701ed
Update mrcpp git tag in fetch_mrcpp.cmake
gitpeterwind Oct 28, 2025
f8d774b
use real density also for complex orbitals
gitpeterwind Nov 10, 2025
ec4f0a4
Merge branch 'ToComplex' of github.com:gitpeterwind/mrchem into ToCom…
gitpeterwind Nov 10, 2025
4ecb574
copy grid before multiply
gitpeterwind Nov 10, 2025
718289c
testInternal for CompFunctions
gitpeterwind Nov 11, 2025
b48b89b
removed deprecated hasImag() and .imag()
gitpeterwind Nov 12, 2025
4606d27
fix helping to compile on mac
edinvay Nov 13, 2025
68a0a51
Merge branch 'master' into stable
edinvay Nov 13, 2025
349de65
remove deprecated Orbitalchunk class
gitpeterwind Nov 17, 2025
905855b
changed tensor application to repair exchange setup
gitpeterwind Nov 25, 2025
d75a1d5
more conservative density and Coulomb potential sums
gitpeterwind Nov 25, 2025
3983008
Merge pull request #523 from edinvay/stable
ilfreddy Nov 25, 2025
2aed2ce
updated mrcpp git tag
gitpeterwind Nov 25, 2025
e5d9523
update tests results
gitpeterwind Nov 25, 2025
f9a2921
fix complex exchange
gitpeterwind Nov 26, 2025
4cb93f1
load complex orbitals saved on disk
gitpeterwind Nov 28, 2025
4ee2b9c
load also mw complex orbitals saved on disk
gitpeterwind Dec 1, 2025
ed9c4b7
load also mw complex orbitals saved on disk
gitpeterwind Dec 1, 2025
658d63f
Zora prefactor
gitpeterwind Dec 5, 2025
f5d08e2
update Zora tests
gitpeterwind Dec 8, 2025
38c2241
fix: compilation with recent clang
robertodr Dec 5, 2025
51d9898
doc: reorder docstring
robertodr Dec 8, 2025
a0e6ee6
fix: import Accelerator.h first in source file
robertodr Dec 8, 2025
cf9db17
include Orbital.h in Accelerator.h to allow compilation on MacOS
msnik1999 Dec 8, 2025
4e39cdb
Merge branch 'master' into morestable
ilfreddy Dec 8, 2025
45ed330
Remove unused get_my_chunk function
gitpeterwind Dec 8, 2025
7521991
Merge pull request #524 from gitpeterwind/morestable
gitpeterwind Dec 9, 2025
e68223a
Add missing template parameters
susilehtola Dec 16, 2025
4c01e9a
add strict zora test
Dec 9, 2025
6584108
lower test tolerance
Dec 10, 2025
8a2ba73
Merge branch 'master' into missing_parameters
ilfreddy Dec 16, 2025
18ca3b3
Merge pull request #529 from MRChemSoft/missing_parameters
susilehtola Dec 16, 2025
dd92d8a
added olivia install scripts
Dec 16, 2025
22e6f1c
Rename environment module from Betzy to Olivia
gitpeterwind Dec 16, 2025
fe27849
Compute two electron integrals and shared memory bug fix (#532)
gitpeterwind Jan 9, 2026
5053d2e
Removed Compiler Warnings (#538)
msnik1999 Jan 11, 2026
16d8224
Adds parallelism to CirclCI
ilfreddy Jan 27, 2026
76bb04f
Core hole calculations with MOM / IMOM (#481)
msnik1999 Feb 2, 2026
8d72225
Pseudopotentials and numeric orbitals for initial guess (#502)
moritzgubler Feb 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 15 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,29 +48,40 @@ variables:
shell: /bin/bash
command: |
cd build
ctest --output-on-failure --verbose
ctest -N \
| sed -n 's/.*Test #[0-9]\+: \(.*\)/\1/p' \
| circleci tests split \
| tr '\n' '|' \
| sed 's/|$//' \
| xargs -I {} ctest --verbose --output-on-failure -R "{}"

jobs:
serial-py3:
parallelism: 4
<<: *ubuntu-2204
steps:
- checkout
- checkout:
method: blobless
- *configure-serial
- *build
- *tests
omp-py3:
parallelism: 4
<<: *ubuntu-2204
environment:
- OMP_NUM_THREADS: '2'
steps:
- checkout
- checkout:
method: blobless
- *configure-omp
- *build
- *tests
mpi-py3:
parallelism: 4
<<: *ubuntu-2204
steps:
- checkout
- checkout:
method: blobless
- *configure-mpi
- *build
- *tests
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,16 @@ jobs:
os: [ubuntu-latest] #, macos-12]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Cache conda
uses: actions/cache@v4
env:
CACHE_NUMBER: 0 # Increase this value to reset cache if .github/mrchem-gha.yml has not changed
with:
path: ~/conda_pkgs_dir
key:
${{ matrix.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('.github/mrchem-gha.yml') }}

- uses: conda-incubator/setup-miniconda@v3
with:
Expand All @@ -35,7 +44,7 @@ jobs:
activate-environment: mrchem-gha
environment-file: .github/mrchem-gha.yml
channel-priority: true
python-version: 3.9
python-version: 3.11
use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly!

- name: Configure
Expand Down
1 change: 1 addition & 0 deletions doc/users/manual.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ in more detail in the sections below.
qcengine
program_json
geometry_optimization.rst
pseudopotentials.rst
27 changes: 27 additions & 0 deletions doc/users/na_pp.inp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
world_prec = 1e-04
world_unit = bohr

Pseudopotential {
$pp_files
{
"Na": "psppar.Na"
}
$end
}

SCF {
initial_mixing_steps = 2
}

Molecule {
charge = 0
multiplicity = 2
$coords
Na 0.0 0.0 0.0
$end
}

WaveFunction {
method = pbe
restricted = false
}
108 changes: 108 additions & 0 deletions doc/users/pseudopotentials.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
---------------------------------
Pseudopotential calculations
---------------------------------

MRChem supports Goedecker-Teter-Hutter (GTH) pseudopotentials, which replace
core electrons with an effective potential. This reduces the number of electrons
that need to be treated explicitly, which can significantly lower the
computational cost..

Setting up a pseudopotential calculation
----------------------------------------

A pseudopotential calculation is set up by adding a ``Pseudopotential`` section
to the input file. The ``pp_files`` keyword is a JSON string that maps elements
(or atom indices) to pseudopotential parameter files. Here is an example for a
sodium atom:

.. include:: na_pp.inp
:literal:

The pseudopotential parameter file (here ``psppar.Na``) must be present in
the working directory when the calculation is launched. These files follow the
PSPPAR format used by BigDFT and contain the local potential
parameters, non-local projectors and optionally non-linear core correction
(NLCC) data.

Assigning pseudopotentials
--------------------------

The ``pp_files`` keyword accepts a JSON dictionary. Keys can be either element
symbols or atom indices (1-based). This allows flexible assignment:

**By element** -- all atoms of that element use the same pseudopotential::

$pp_files
{
"Na": "psppar.Na",
"Cl": "psppar.Cl"
}
$end

**By index** -- specific atoms can be assigned individually::

$pp_files
{
"1": "psppar.Na",
"2": "psppar.Cl"
}
$end

**Mixed all-electron and pseudopotential** -- setting an empty string or
``"none"`` for an element will use the all-electron description for that
element::

$pp_files
{
"Na": "psppar.Na",
"O": "none"
}
$end

Atoms that are not mentioned in ``pp_files`` at all will also default to
all-electron treatment.

Pseudopotential precision
-------------------------

The precision of the pseudopotential construction is controlled by
``pp_prec``, which defaults to ``world_prec``. In most cases the default
is sufficient, but it can be set explicitly if needed::

Pseudopotential {
$pp_files
{
"Na": "psppar.Na"
}
$end
pp_prec = 1.0e-6
}

PSPPAR file format
------------------

The pseudopotential parameter files use the format from the BigDFT/Goedecker
pseudopotential library. A typical file looks like this::

spin-polarized 1 2.840 5.800 ...
11.000 1.000 20240517 zatom, zion, date
12 -101130 1 0 2002 0 pspcod, ixc, lmax, ...
0.7499... 2 -0.7392... -0.1720... rloc nloc c1 .. cnloc
2 nsep
0.7125... 2 0.3650... -0.1023... s-projector
0.7522...
0.9000... 1 0.4314... p-projector
0.0000...
0.5941... 0.3564... rcore, qcore (nlcc)

The key quantities read from this file are:

- ``zion``: ionic charge (number of valence electrons)
- ``rloc``, ``nloc``, ``c1..cnloc``: local pseudopotential parameters
- ``nsep``: number of non-local (separable) projector channels
- For each channel: projector radius, dimension, and h-matrix elements
- Optional NLCC parameters: ``rcore`` and ``qcore``

GTH pseudopotential files for most elements can be obtained from the
`CP2K GTH pseudopotential repository <https://github.com/cp2k/cp2k/tree/master/data>`_.
or from here: https://github.com/OpenCPMD/GTH-pseudopotentials/tree/main
3 changes: 2 additions & 1 deletion doc/users/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"final_prec": float, # Final precision for solver
"helmholtz_prec": float, # Precision for Helmholtz operators
"orbital_thrs": float, # Convergence threshold orbitals
"energy_thrs":float # Convergence threshold energy
"energy_thrs": float, # Convergence threshold energy
"deltascf_method": string # Name of DeltaSCF method
},
"properties": { # Collection of properties to compute
"dipole_moment": { # Collection of dipole moments
Expand Down
4 changes: 4 additions & 0 deletions doc/users/user_inp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ The optimization is controlled by the following keywords (defaults shown):
final_prec = -1.0 # Dynamic precision, final value
orbital_thrs = 10 * world_prec # Convergence threshold orbitals
energy_thrs = -1.0 # Convergence threshold energy
deltascf_method = none # Method to use for a DeltaSCF calculation
}

If ``run = false`` no SCF is performed, and the properties are computed directly
Expand Down Expand Up @@ -408,6 +409,9 @@ This means that the number of correct digits in the total energy will be
saturated well before this point, and one should rather use the ``energy_thrs``
keyword in this case in order to save a few iterations.

There is also the possibility to run a DeltaSCF calculation using either the
``MOM`` or ``IMOM`` method.

.. note::

It is usually not feasible to converge the orbitals *beyond* the overall
Expand Down
76 changes: 71 additions & 5 deletions doc/users/user_ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,24 @@ User input reference

**Default** ``-1``

:omp_threads: Force the number of omp threads (leave default is better).
:bank_per_node: Number of MPI processes per node exclusively dedicated to manage orbital bank.

**Type** ``int``

**Default** ``-1``

:omp_threads: Force the number of omp threads for worker processes (leave default is better).

**Type** ``int``

**Default** ``-1``

:use_omp_num_threads: This will use the environment variable OMP_NUM_THREADS to determine the average number of threads for OMP (bank will use 1, workers may use more).

**Type** ``bool``

**Default** ``False``

:Basis: Define polynomial basis.

:red:`Keywords`
Expand Down Expand Up @@ -353,6 +365,21 @@ User input reference
**Predicates**
- ``value.lower() in ['point_like', 'point_parabola', 'point_minimal', 'finite_gaussian', 'finite_sphere']``

:Pseudopotential: Define the pseudopotentials.

:red:`Keywords`
:pp_files: Json string of pseudopotential files. The key can be the element symbol or a number. When the key is an element symbol, all atoms of that element will use the given pseudopotential. When the key is a number (index is 1 based), the corresponding atom will use the given pseudopotential. When the value is an empty string, an all electron calculation will be performed for the corresponding atom or element.

**Type** ``str``

**Default** ``{}``

:pp_prec: Precision parameter used in construction of pseudopotentials.

**Type** ``float``

**Default** ``user['world_prec']``

:ZORA: Define required parameters for the ZORA Hamiltonian.

:red:`Keywords`
Expand Down Expand Up @@ -656,7 +683,7 @@ User input reference

**Default** ``initial_guess/y_b``

:cube_vectors: Directory where cube vectors are stored for mrchem calculation.
:cube_vectors: Directory where cube vectors are stored for MRChem calculation.

**Type** ``str``

Expand Down Expand Up @@ -728,14 +755,32 @@ User input reference

**Default** ``-1.0``

:guess_type: Type of initial guess for ground state orbitals. ``chk`` restarts a previous calculation which was dumped using the ``write_checkpoint`` keyword. This will load MRA and electron spin configuration directly from the checkpoint files, which are thus required to be identical in the two calculations. ``mw`` will start from final orbitals in a previous calculation written using the ``write_orbitals`` keyword. The orbitals will be re-projected into the new computational setup, which means that the electron spin configuration and MRA can be different in the two calculations. ``gto`` reads precomputed GTO orbitals (requires extra non-standard input files for basis set and MO coefficients). ``core`` and ``sad`` will diagonalize the Fock matrix in the given AO basis (SZ, DZ, TZ or QZ) using a Core or Superposition of Atomic Densities Hamiltonian, respectively. ``cube`` will start from orbitals saved in cubefiles from external calculations.
:guess_type: Type of initial guess for ground state orbitals. ``chk`` restarts a previous calculation which was dumped using the ``write_checkpoint`` keyword. This will load MRA and electron spin configuration directly from the checkpoint files, which are thus required to be identical in the two calculations. ``mw`` will start from final orbitals in a previous calculation written using the ``write_orbitals`` keyword. The orbitals will be re-projected into the new computational setup, which means that the electron spin configuration and MRA can be different in the two calculations. ``gto`` reads precomputed GTO orbitals (requires extra non-standard input files for basis set and MO coefficients). ``core`` and ``sad`` will diagonalize the Fock matrix in the given AO basis (SZ, DZ, TZ or QZ) using a Core or Superposition of Atomic Densities Hamiltonian, respectively. ``cube`` will start from orbitals saved in cubefiles from external calculations. ``nao`` will start from orbitals saved in NAO format from external calculations. It also allows for some mixing iterations to converge the initial guess within the nao basis.

**Type** ``str``

**Default** ``sad_gto``

**Predicates**
- ``value.lower() in ['mw', 'chk', 'gto', 'core_sz', 'core_dz', 'core_tz', 'core_qz', 'sad_sz', 'sad_dz', 'sad_tz', 'sad_qz', 'sad_gto', 'cube']``
- ``value.lower() in ['mw', 'chk', 'gto', 'core_sz', 'core_dz', 'core_tz', 'core_qz', 'sad_sz', 'sad_dz', 'sad_tz', 'sad_qz', 'sad_gto', 'cube', 'nao']``

:nao_directory: Directory where NAO orbitals are stored for MRChem calculation.

**Type** ``str``

**Default** ``none``

:initial_mixing_steps: Number of mixing iterations to converge the initial guess within the nao basis.

**Type** ``int``

**Default** ``4``

:initial_mixing_step_size: Step size for the mixing iterations to converge the initial guess within the nao basis.

**Type** ``float``

**Default** ``0.4``

:write_checkpoint: Write orbitals to disk in each iteration, file name ``<path_checkpoint>/phi_scf_idx_<0..N>``. Can be used as ``chk`` initial guess in subsequent calculations. Note: must be given in quotes if there are slashes in the path "path/to/checkpoint".

Expand All @@ -752,6 +797,12 @@ User input reference
**Predicates**
- ``value[-1] != '/'``

:write_orbitals_txt: Write final orbitals to disk, in text format, file name ``<path_orbitals>/phi_<p/a/b>_scf_idx_<0..Np/Na/Nb>``. Can be used as ``mw`` initial guess in subsequent calculations.

**Type** ``bool``

**Default** ``False``

:path_orbitals: Path to where converged orbitals will be written in connection with the ``write_orbitals`` keyword. Note: must be given in quotes if there are slashes in the path "path/to/orbitals".

**Type** ``str``
Expand All @@ -767,6 +818,12 @@ User input reference

**Default** ``True``

:deltascf_method: Method to use for a DeltaSCF calculation. Options are ``none`` for a normal SCF run, ``MOM`` for a run using the MOM method and ``IMOM`` for a run using the IMOM method.

**Type** ``str``

**Default** ``none``

:write_orbitals: Write final orbitals to disk, file name ``<path_orbitals>/phi_<p/a/b>_scf_idx_<0..Np/Na/Nb>``. Can be used as ``mw`` initial guess in subsequent calculations.

**Type** ``bool``
Expand Down Expand Up @@ -1071,6 +1128,15 @@ User input reference

**Default** ``0.005``

:OrbitalOccupancies: Modify the default orbital occupancies in order to perform a DeltaSCF calculation.

:red:`Keywords`
:occupancies: List of orbitals, i, for which the default occupancy, f, should be overwritten, written as a list in the format "i f_up f_down", where the orbitals are indexed from zero.

**Type** ``str``

**Default** ````

:Constants: Physical and mathematical constants used by MRChem

:red:`Keywords`
Expand Down Expand Up @@ -12254,4 +12320,4 @@ User input reference
**Type** ``float``

**Default** ``0.00011186082063``


2 changes: 1 addition & 1 deletion external/upstream/fetch_eigen3.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
find_package(Eigen3 3.4 CONFIG QUIET
find_package(Eigen3 CONFIG QUIET
NO_CMAKE_PATH
NO_CMAKE_PACKAGE_REGISTRY
)
Expand Down
Loading
Loading