aiida-hubbard 0.1.0__tar.gz
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.
- aiida_hubbard-0.1.0/.cla/version1/CLA.md +102 -0
- aiida_hubbard-0.1.0/.cla/version1/signatures.json +12 -0
- aiida_hubbard-0.1.0/.readthedocs.yml +20 -0
- aiida_hubbard-0.1.0/CHANGELOG.md +16 -0
- aiida_hubbard-0.1.0/LICENSE.txt +97 -0
- aiida_hubbard-0.1.0/PKG-INFO +124 -0
- aiida_hubbard-0.1.0/README.md +75 -0
- aiida_hubbard-0.1.0/codecov.yaml +12 -0
- aiida_hubbard-0.1.0/docs/Makefile +40 -0
- aiida_hubbard-0.1.0/docs/source/1_computing_hubbard.ipynb +351 -0
- aiida_hubbard-0.1.0/docs/source/2_parallel_hubbard.ipynb +288 -0
- aiida_hubbard-0.1.0/docs/source/3_self_consistent.ipynb +233 -0
- aiida_hubbard-0.1.0/docs/source/_static/aiida-custom.css +117 -0
- aiida_hubbard-0.1.0/docs/source/_static/aiida-qe-custom.css +28 -0
- aiida_hubbard-0.1.0/docs/source/citeus.md +23 -0
- aiida_hubbard-0.1.0/docs/source/conf.py +320 -0
- aiida_hubbard-0.1.0/docs/source/howto/analyze.md +45 -0
- aiida_hubbard-0.1.0/docs/source/howto/calculations/hp.md +157 -0
- aiida_hubbard-0.1.0/docs/source/howto/calculations/index.md +9 -0
- aiida_hubbard-0.1.0/docs/source/howto/include/run_hp_basic.py +107 -0
- aiida_hubbard-0.1.0/docs/source/howto/index.md +17 -0
- aiida_hubbard-0.1.0/docs/source/howto/understand.md +15 -0
- aiida_hubbard-0.1.0/docs/source/howto/workflows/hp/base.md +5 -0
- aiida_hubbard-0.1.0/docs/source/howto/workflows/hp/main.md +5 -0
- aiida_hubbard-0.1.0/docs/source/howto/workflows/hp/parallelize_atoms.md +5 -0
- aiida_hubbard-0.1.0/docs/source/howto/workflows/hp/parallelize_qpoints.md +5 -0
- aiida_hubbard-0.1.0/docs/source/howto/workflows/hubbard.md +5 -0
- aiida_hubbard-0.1.0/docs/source/howto/workflows/index.md +13 -0
- aiida_hubbard-0.1.0/docs/source/images/BIG-MAP_logo.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/MAPEX.jpg +0 -0
- aiida_hubbard-0.1.0/docs/source/images/MARVEL.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/MaX.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/UBREMEN.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/logo_aiida.svg +5 -0
- aiida_hubbard-0.1.0/docs/source/images/logo_aiida_hubbard.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/logo_aiida_quantumespresso.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/logo_docs.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/qe_logo.jpg +0 -0
- aiida_hubbard-0.1.0/docs/source/images/swissuniversities.png +0 -0
- aiida_hubbard-0.1.0/docs/source/images/transparent.png +0 -0
- aiida_hubbard-0.1.0/docs/source/index.md +144 -0
- aiida_hubbard-0.1.0/docs/source/installation/index.md +213 -0
- aiida_hubbard-0.1.0/docs/source/local_module/__init__.py +15 -0
- aiida_hubbard-0.1.0/docs/source/local_module/temp_profile.py +212 -0
- aiida_hubbard-0.1.0/docs/source/reference/index.md +8 -0
- aiida_hubbard-0.1.0/docs/source/topics/calculations/hp.md +8 -0
- aiida_hubbard-0.1.0/docs/source/topics/calculations/index.md +9 -0
- aiida_hubbard-0.1.0/docs/source/topics/index.md +10 -0
- aiida_hubbard-0.1.0/docs/source/topics/workflows/hp/base.md +8 -0
- aiida_hubbard-0.1.0/docs/source/topics/workflows/hp/main.md +8 -0
- aiida_hubbard-0.1.0/docs/source/topics/workflows/hp/parallelize_atoms.md +8 -0
- aiida_hubbard-0.1.0/docs/source/topics/workflows/hp/parallelize_qpoints.md +8 -0
- aiida_hubbard-0.1.0/docs/source/topics/workflows/hubbard.md +8 -0
- aiida_hubbard-0.1.0/docs/source/topics/workflows/index.md +13 -0
- aiida_hubbard-0.1.0/docs/source/tutorials/index.md +33 -0
- aiida_hubbard-0.1.0/environment.yml +16 -0
- aiida_hubbard-0.1.0/examples/example_sc_hubbard.py +79 -0
- aiida_hubbard-0.1.0/pyproject.toml +153 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/__init__.py +3 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/calculations/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/calculations/functions/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/calculations/functions/structure_relabel_kinds.py +98 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/calculations/functions/structure_reorder_kinds.py +26 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/calculations/hp.py +377 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/__init__.py +16 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/calculations/__init__.py +18 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/calculations/hp.py +48 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/workflows/__init__.py +20 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/workflows/hp/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/workflows/hp/base.py +52 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/workflows/hp/main.py +62 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/cli/workflows/hubbard.py +153 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/parsers/__init__.py +2 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/parsers/hp.py +401 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/parsers/parse_raw/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/parsers/parse_raw/hp.py +117 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/utils/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/utils/general.py +66 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/utils/validation.py +58 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/hp/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/hp/base.py +261 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/hp/main.py +204 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/hp/parallelize_atoms.py +165 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/hp/parallelize_qpoints.py +162 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/hubbard.py +722 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/protocols/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/protocols/hp/__init__.py +0 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/protocols/hp/base.yaml +47 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/protocols/hp/main.yaml +16 -0
- aiida_hubbard-0.1.0/src/aiida_hubbard/workflows/protocols/hubbard.yaml +33 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Contributor License Agreement
|
|
2
|
+
|
|
3
|
+
> Adapted from the [Apache Software Foundation Individual Contributor License Agreement (ICLA)](https://www.apache.org/licenses/contributor-agreements.html) [version 2.2](https://www.apache.org/licenses/icla.pdf)
|
|
4
|
+
|
|
5
|
+
You accept and agree to the following terms and conditions for Your
|
|
6
|
+
Contributions (present and future) that you submit to the copyright
|
|
7
|
+
holders (hereafter "HOLDERS", see the [`LICENSE.txt`](../../LICENSE.txt)
|
|
8
|
+
bundled with this software). In return, the HOLDERS shall not use
|
|
9
|
+
Your Contributions in a way that is contrary to the public benefit or
|
|
10
|
+
inconsistent with its nonprofit status and bylaws in effect at the
|
|
11
|
+
time of the Contribution. Except for the license granted herein to
|
|
12
|
+
the HOLDERS and recipients of software distributed by the HOLDERS,
|
|
13
|
+
You reserve all right, title, and interest in and to Your Contributions.
|
|
14
|
+
|
|
15
|
+
1. Definitions.
|
|
16
|
+
|
|
17
|
+
"You" (or "Your") shall mean the copyright owner or legal entity
|
|
18
|
+
authorized by the copyright owner that is making this Agreement
|
|
19
|
+
with the HOLDERS. For legal entities, the entity making a
|
|
20
|
+
Contribution and all other entities that control, are controlled
|
|
21
|
+
by, or are under common control with that entity are considered to
|
|
22
|
+
be a single Contributor. For the purposes of this definition,
|
|
23
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
24
|
+
direction or management of such entity, whether by contract or
|
|
25
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
26
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
27
|
+
"Contribution" shall mean any original work of authorship,
|
|
28
|
+
including any modifications or additions to an existing work, that
|
|
29
|
+
is intentionally submitted by You to the HOLDERS for inclusion
|
|
30
|
+
in, or documentation of, any of the products owned or managed by
|
|
31
|
+
the HOLDERS (the "Work"). For the purposes of this definition,
|
|
32
|
+
"submitted" means any form of electronic, verbal, or written
|
|
33
|
+
communication sent to the HOLDERS or its representatives,
|
|
34
|
+
including but not limited to communication on electronic mailing
|
|
35
|
+
lists, source code control systems, and issue tracking systems that
|
|
36
|
+
are managed by, or on behalf of, the HOLDERS for the purpose of
|
|
37
|
+
discussing and improving the Work, but excluding communication that
|
|
38
|
+
is conspicuously marked or otherwise designated in writing by You
|
|
39
|
+
as "Not a Contribution."
|
|
40
|
+
|
|
41
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
42
|
+
this Agreement, You hereby grant to the HOLDERS and to
|
|
43
|
+
recipients of software distributed by the HOLDERS a perpetual,
|
|
44
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
45
|
+
copyright license to reproduce, prepare derivative works of,
|
|
46
|
+
publicly display, publicly perform, sublicense, and distribute Your
|
|
47
|
+
Contributions and such derivative works.
|
|
48
|
+
|
|
49
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
50
|
+
this Agreement, You hereby grant to the HOLDERS and to
|
|
51
|
+
recipients of software distributed by the HOLDERS a perpetual,
|
|
52
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
53
|
+
(except as stated in this section) patent license to make, have
|
|
54
|
+
made, use, offer to sell, sell, import, and otherwise transfer the
|
|
55
|
+
Work, where such license applies only to those patent claims
|
|
56
|
+
licensable by You that are necessarily infringed by Your
|
|
57
|
+
Contribution(s) alone or by combination of Your Contribution(s)
|
|
58
|
+
with the Work to which such Contribution(s) was submitted. If any
|
|
59
|
+
entity institutes patent litigation against You or any other entity
|
|
60
|
+
(including a cross-claim or counterclaim in a lawsuit) alleging
|
|
61
|
+
that your Contribution, or the Work to which you have contributed,
|
|
62
|
+
constitutes direct or contributory patent infringement, then any
|
|
63
|
+
patent licenses granted to that entity under this Agreement for
|
|
64
|
+
that Contribution or Work shall terminate as of the date such
|
|
65
|
+
litigation is filed.
|
|
66
|
+
|
|
67
|
+
4. You represent that you are legally entitled to grant the above
|
|
68
|
+
license. If your employer(s) has rights to intellectual property
|
|
69
|
+
that you create that includes your Contributions, you represent
|
|
70
|
+
that you have received permission to make Contributions on behalf
|
|
71
|
+
of that employer, that your employer has waived such rights for
|
|
72
|
+
your Contributions to the HOLDERS, or that your employer has
|
|
73
|
+
executed a separate Corporate CLA with the HOLDERS.
|
|
74
|
+
|
|
75
|
+
5. You represent that each of Your Contributions is Your original
|
|
76
|
+
creation (see section 7 for submissions on behalf of others). You
|
|
77
|
+
represent that Your Contribution submissions include complete
|
|
78
|
+
details of any third-party license or other restriction (including,
|
|
79
|
+
but not limited to, related patents and trademarks) of which you
|
|
80
|
+
are personally aware and which are associated with any part of Your
|
|
81
|
+
Contributions.
|
|
82
|
+
|
|
83
|
+
6. You are not expected to provide support for Your Contributions,
|
|
84
|
+
except to the extent You desire to provide support. You may provide
|
|
85
|
+
support for free, for a fee, or not at all. Unless required by
|
|
86
|
+
applicable law or agreed to in writing, You provide Your
|
|
87
|
+
Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
|
|
88
|
+
OF ANY KIND, either express or implied, including, without
|
|
89
|
+
limitation, any warranties or conditions of TITLE, NON-
|
|
90
|
+
INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
|
|
91
|
+
|
|
92
|
+
7. Should You wish to submit work that is not Your original creation,
|
|
93
|
+
You may submit it to the HOLDERS separately from any
|
|
94
|
+
Contribution, identifying the complete details of its source and of
|
|
95
|
+
any license or other restriction (including, but not limited to,
|
|
96
|
+
related patents, trademarks, and license agreements) of which you
|
|
97
|
+
are personally aware, and conspicuously marking the work as
|
|
98
|
+
"Submitted on behalf of a third-party: [named here]".
|
|
99
|
+
|
|
100
|
+
8. You agree to notify the HOLDERS of any facts or circumstances of
|
|
101
|
+
which you become aware that would make these representations
|
|
102
|
+
inaccurate in any respect.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
version: 2
|
|
2
|
+
|
|
3
|
+
build:
|
|
4
|
+
os: ubuntu-22.04
|
|
5
|
+
tools:
|
|
6
|
+
python: mambaforge-4.10
|
|
7
|
+
|
|
8
|
+
conda:
|
|
9
|
+
environment: environment.yml
|
|
10
|
+
|
|
11
|
+
python:
|
|
12
|
+
install:
|
|
13
|
+
- method: pip
|
|
14
|
+
path: .
|
|
15
|
+
extra_requirements:
|
|
16
|
+
- docs
|
|
17
|
+
|
|
18
|
+
sphinx:
|
|
19
|
+
configuration: docs/source/conf.py
|
|
20
|
+
fail_on_warning: true
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
## v0.1.0:
|
|
2
|
+
First official release of `aiida-hubbard`, the official plugin for the HP code of Quantum ESPRESSO to the AiiDA platform.
|
|
3
|
+
The following calculations, parsers, and workflows are provided:
|
|
4
|
+
|
|
5
|
+
### Calculations
|
|
6
|
+
- `HpCalculation`: calculation plugin for `hp.x`
|
|
7
|
+
|
|
8
|
+
### Parsers
|
|
9
|
+
- `HpParser`: parser for the `hp.x` calculation
|
|
10
|
+
|
|
11
|
+
### Workflows
|
|
12
|
+
- `HpBaseWorkChain`: workflow to run a `HpCalculation` to completion
|
|
13
|
+
- `HpParallelizeAtomsWorkChain`: workflow to parallelize an `hp.x` calculation as independent atoms child subprocesses
|
|
14
|
+
- `HpParallelizeQpointsWorkChain`: workflow to parallelize an `HpParallelizeAtomsWorkChain` calculation as independent q-points child subprocesses
|
|
15
|
+
- `HpWorkChain`: workflow to run a manage parallel capabilities of `hp.x`, by proprerly calling the correct workchains
|
|
16
|
+
- `SelfConsistentHubbardWorkChain`: worfklow to calculate self-consistently the Hubbard parameters with on-the-fly nearest neighbours detection
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
Non-Commercial, End-User Software License Agreement for AiiDA-Hubbard
|
|
2
|
+
|
|
3
|
+
Copyright (c), 2021-2025, University of Bremen, Germany (U Bremen Excellence Chair),
|
|
4
|
+
École Polytechnique Fédérale de Lausanne (Theory and Simulation of Materials (THEOS)
|
|
5
|
+
and National Centre for Computational Design and Discovery of Novel Materials
|
|
6
|
+
(NCCR MARVEL)), Switzerland and Paul Scherrer Institut (Laboratory for Materials
|
|
7
|
+
Simulations (LMS)), Switzerland. All rights reserved.
|
|
8
|
+
|
|
9
|
+
INTRODUCTION
|
|
10
|
+
|
|
11
|
+
- This license agreement sets forth the terms and conditions under which the
|
|
12
|
+
Authors and their Institutions (hereafter "LICENSORS") of the program
|
|
13
|
+
"AiiDA-Hubbard" (hereafter "PROGRAM"), will grant you (hereafter
|
|
14
|
+
"LICENSEE") a fully-paid, non-exclusive, and non-transferable license for
|
|
15
|
+
academic, non-commercial purposes only (hereafter "LICENSE") to use the PROGRAM
|
|
16
|
+
computer software and associated documentation furnished hereunder.
|
|
17
|
+
|
|
18
|
+
- LICENSEE acknowledges that the PROGRAM is a research tool still in the
|
|
19
|
+
development stage, that is being supplied "as is", without any related
|
|
20
|
+
services, improvements or warranties from LICENSORS and that this license is
|
|
21
|
+
entered into in order to enable others to utilize the PROGRAM in their academic
|
|
22
|
+
activities.
|
|
23
|
+
|
|
24
|
+
TERMS AND CONDITIONS OF THE LICENSE
|
|
25
|
+
|
|
26
|
+
1. LICENSORS grant to LICENSEE a fully-paid up, non-exclusive, and
|
|
27
|
+
non-transferable license to use the PROGRAM for academic, non-commercial
|
|
28
|
+
purposes, upon the terms and conditions hereinafter set out and until
|
|
29
|
+
termination of this license as set forth below.
|
|
30
|
+
|
|
31
|
+
2. LICENSEE acknowledges that the PROGRAM is a research tool still in the
|
|
32
|
+
development stage. The PROGRAM is provided "as is", without any related
|
|
33
|
+
services or improvements from LICENSORS and that the LICENSE is entered into in
|
|
34
|
+
order to enable others to utilize the PROGRAM in their academic activities.
|
|
35
|
+
|
|
36
|
+
3. LICENSORS MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
|
37
|
+
INCLUDING WITHOUT LIMITATION ANY REPRESENTATIONS OR WARRANTIES OF
|
|
38
|
+
MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OR THAT THE USE OF THE
|
|
39
|
+
PROGRAM WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
|
40
|
+
LICENSORS shall not be liable for any direct, indirect or consequential damages
|
|
41
|
+
with respect to any claim by LICENSEE or any third party arising from this
|
|
42
|
+
Agreement or use of the PROGRAM.
|
|
43
|
+
|
|
44
|
+
4. LICENSEE agrees that it will use the PROGRAM, and any modifications,
|
|
45
|
+
improvements, or derivatives to PROGRAM that LICENSEE may create (collectively,
|
|
46
|
+
"IMPROVEMENTS") solely for academic, non-commercial purposes and shall not
|
|
47
|
+
distribute or transfer the PROGRAM or any IMPROVEMENTS to any person without
|
|
48
|
+
prior written permission from LICENSORS. The terms "academic, non-commercial",
|
|
49
|
+
as used in this Agreement, mean academic or other scholarly research which (a)
|
|
50
|
+
is not undertaken for profit, or (b) is not intended to produce works,
|
|
51
|
+
services, or data for commercial use, or (c) is neither conducted, nor funded,
|
|
52
|
+
by a person or an entity engaged in the commercial use, application or
|
|
53
|
+
exploitation of works similar to the PROGRAM.
|
|
54
|
+
|
|
55
|
+
5. LICENSEE agrees that he/she shall make the following acknowledgement in
|
|
56
|
+
publications resulting from the use of the PROGRAM: "Lorenzo Bastonero,
|
|
57
|
+
Cristiano Malica, Eric Macke, Marnik Bercx, Sebastiaan Huber, Iurii Timrov
|
|
58
|
+
and Nicola Marzari, Hubbard corrections from first-principles made easy via
|
|
59
|
+
automated and reproducible workflows; "Sebastiaan. P. Huber, Spyros Zoupanos,
|
|
60
|
+
Martin Uhrin, Leopold Talirz, Leonid Kahle, Rico Häuselmann, Dominik Gresch,
|
|
61
|
+
Tiziano Müller, Aliaksandr V. Yakutovich, Casper W. Andersen, Francisco F.
|
|
62
|
+
Ramirez, Carl S. Adorf, Fernando Gargiulo, Snehal Kumbhar, Elsa Passaro,
|
|
63
|
+
Conrad Johnston, Andrius Merkys, Andrea Cepellotti, Nicolas Mounet, Nicola
|
|
64
|
+
Marzari, Boris Kozinsky, and Giovanni Pizzi, AiiDA 1.0, a scalable computational
|
|
65
|
+
infrastructure for automated reproducible workflows and data provenance,
|
|
66
|
+
Scientific Data 7, 300 (2020), DOI: 10.1038/s41597-020-00638-4"
|
|
67
|
+
(http://www.aiida.net), plus any additional reference explicitly mentioned in
|
|
68
|
+
the custom workflow used. Except for the above-mentioned acknowledgment,
|
|
69
|
+
LICENSEE shall not use the PROGRAM title or the names or logos of LICENSORS,
|
|
70
|
+
nor any adaptation thereof, nor the names of any of its employees or
|
|
71
|
+
laboratories, in any advertising, promotional or sales material without prior
|
|
72
|
+
written consent obtained from LICENSORS in each case.
|
|
73
|
+
|
|
74
|
+
6. Ownership of all rights, including copyright in the PROGRAM and in any
|
|
75
|
+
material associated therewith, shall at all times remain with LICENSORS, and
|
|
76
|
+
LICENSEE agrees to preserve the same. LICENSEE agrees not to use any portion of
|
|
77
|
+
the PROGRAM or of any IMPROVEMENTS in any machine-readable form outside the
|
|
78
|
+
PROGRAM, nor to make any copies except for its internal use, without prior
|
|
79
|
+
written consent of LICENSORS. LICENSEE agrees to place the following copyright
|
|
80
|
+
notice on any such copies: © All rights reserved. University of Bremen, Germany,
|
|
81
|
+
U Bremen Excellence Chair, 2025; Authors: Lorenzo Bastonero and Nicola Marzari.
|
|
82
|
+
École Polytechnique Fédérale de Lausanne, Switzerland, Laboratory of Theory
|
|
83
|
+
and Simulation of Materials (THEOS), 2025; Authors: Sebastiaan Huber and Nicola Marzari.
|
|
84
|
+
Paul Scherrer Institut, Switzerland, Laboratory for Materials Simulations
|
|
85
|
+
(LMS), 2025; Authors: Giovanni Pizzi and Nicola Marzari.
|
|
86
|
+
|
|
87
|
+
7. The LICENSE shall not be construed to confer any rights upon LICENSEE by
|
|
88
|
+
implication or otherwise except as specifically set forth herein.
|
|
89
|
+
|
|
90
|
+
8. This Agreement shall be governed by the material laws of Switzerland and any
|
|
91
|
+
dispute arising out of this Agreement or use of the PROGRAM shall be brought
|
|
92
|
+
before the courts of Lausanne, Switzerland.
|
|
93
|
+
|
|
94
|
+
9. This Agreement and the LICENSE shall remain effective until expiration of
|
|
95
|
+
the copyrights of the PROGRAM except that upon any breach of this Agreement by
|
|
96
|
+
LICENSEE, LICENSORS shall have the right to terminate the LICENSE immediately
|
|
97
|
+
upon notice to LICENSEE.
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: aiida-hubbard
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: AiiDA plugin for the first-principles calculation of Hubbard parameters.
|
|
5
|
+
Keywords: aiida,workflows
|
|
6
|
+
Author-email: Lorenzo Bastonero <lbastone@uni-bremen.de>, "Sebastiaan P. Huber" <mail@sphuber.net>
|
|
7
|
+
Requires-Python: >=3.9
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
10
|
+
Classifier: Framework :: AiiDA
|
|
11
|
+
Classifier: License :: Free To Use But Restricted
|
|
12
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
13
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Requires-Dist: aiida-core>=2.3,<2.6
|
|
20
|
+
Requires-Dist: aiida-quantumespresso>=4.8
|
|
21
|
+
Requires-Dist: myst-nb~=1.0 ; extra == "docs"
|
|
22
|
+
Requires-Dist: jupytext>=1.11.2,<1.15.0 ; extra == "docs"
|
|
23
|
+
Requires-Dist: sphinx~=6.2.1 ; extra == "docs"
|
|
24
|
+
Requires-Dist: sphinx-copybutton~=0.5.2 ; extra == "docs"
|
|
25
|
+
Requires-Dist: sphinx-book-theme~=1.0.1 ; extra == "docs"
|
|
26
|
+
Requires-Dist: sphinx-click~=4.4.0 ; extra == "docs"
|
|
27
|
+
Requires-Dist: sphinx-design~=0.4.1 ; extra == "docs"
|
|
28
|
+
Requires-Dist: sphinxcontrib-details-directive~=0.1.0 ; extra == "docs"
|
|
29
|
+
Requires-Dist: sphinx-autoapi~=3.0.0 ; extra == "docs"
|
|
30
|
+
Requires-Dist: myst-parser~=3.0.0 ; extra == "docs"
|
|
31
|
+
Requires-Dist: sphinx-togglebutton ; extra == "docs"
|
|
32
|
+
Requires-Dist: pre-commit~=2.17 ; extra == "pre-commit"
|
|
33
|
+
Requires-Dist: pylint~=2.15.10 ; extra == "pre-commit"
|
|
34
|
+
Requires-Dist: pylint-aiida~=0.1.1 ; extra == "pre-commit"
|
|
35
|
+
Requires-Dist: toml ; extra == "pre-commit"
|
|
36
|
+
Requires-Dist: pgtest~=1.3 ; extra == "tests"
|
|
37
|
+
Requires-Dist: pytest~=6.0 ; extra == "tests"
|
|
38
|
+
Requires-Dist: coverage[toml] ; extra == "tests"
|
|
39
|
+
Requires-Dist: pytest-cov ; extra == "tests"
|
|
40
|
+
Requires-Dist: pytest-regressions~=2.3 ; extra == "tests"
|
|
41
|
+
Requires-Dist: pytest-timeout ; extra == "tests"
|
|
42
|
+
Project-URL: Documentation, https://aiida-hubbard.readthedocs.io
|
|
43
|
+
Project-URL: Home, https://github.com/aiidateam/aiida-hubbard
|
|
44
|
+
Project-URL: Source, https://github.com/aiidateam/aiida-hubbard
|
|
45
|
+
Provides-Extra: docs
|
|
46
|
+
Provides-Extra: pre-commit
|
|
47
|
+
Provides-Extra: tests
|
|
48
|
+
|
|
49
|
+
# `aiida-hubbard`
|
|
50
|
+
|
|
51
|
+
AiiDA plugin for the first-principles calculation of Hubbard parameters.
|
|
52
|
+
|
|
53
|
+
This is also the official AiiDA plugin for the [HP](https://www.sciencedirect.com/science/article/pii/S0010465522001746) code of [Quantum ESPRESSO](https://www.quantum-espresso.org/).
|
|
54
|
+
|
|
55
|
+
| | |
|
|
56
|
+
|-----|----------------------------------------------------------------------------|
|
|
57
|
+
|Latest release| [](https://badge.fury.io/py/aiida-hubbard)[](https://pypi.python.org/pypi/aiida-hubbard) |
|
|
58
|
+
|Getting help| [](http://aiida-hubbard.readthedocs.io/) [](https://aiida.discourse.group/)
|
|
59
|
+
|Build status| [](https://github.com/aiidateam/aiida-hubbard/actions) [](https://codecov.io/gh/aiidateam/aiida-hubbard) |
|
|
60
|
+
|Activity| [](https://pypistats.org/packages/aiida-hubbard) [](https://github.com/aiidateam/aiida-hubbard/pulse)
|
|
61
|
+
|Community| [](https://aiida.discourse.group/)
|
|
62
|
+
|
|
63
|
+
## Compatibility matrix
|
|
64
|
+
|
|
65
|
+
The matrix below assumes the user always install the latest patch release of the specified minor version, which is recommended.
|
|
66
|
+
|
|
67
|
+
| Plugin | AiiDA | Python | Quantum ESPRESSO |
|
|
68
|
+
|-|-|-|-|
|
|
69
|
+
| `v0.1.0` | ![Compatibility for v4.0][AiiDA v4.0-pydantic2] | [](https://pypi.python.org/pypi/aiida-hubbard) | ![Quantum ESPRESSO compatibility][QE v7.2-7.4] |
|
|
70
|
+
|
|
71
|
+
## Installation
|
|
72
|
+
To install using pip, simply execute:
|
|
73
|
+
|
|
74
|
+
pip install aiida-hubbard
|
|
75
|
+
|
|
76
|
+
or when installing from source:
|
|
77
|
+
|
|
78
|
+
git clone https://github.com/aiidateam/aiida-hubbard
|
|
79
|
+
pip install aiida-hubbard
|
|
80
|
+
|
|
81
|
+
## Pseudopotentials
|
|
82
|
+
Pseudopotentials are installed and managed through the [`aiida-pseudo` plugin](https://pypi.org/project/aiida-pseudo/).
|
|
83
|
+
The easiest way to install pseudopotentials, is to install a version of the [SSSP](https://www.materialscloud.org/discover/sssp/table/efficiency) through the CLI of `aiida-pseudo`.
|
|
84
|
+
Simply run
|
|
85
|
+
|
|
86
|
+
aiida-pseudo install sssp
|
|
87
|
+
|
|
88
|
+
to install the default SSSP version.
|
|
89
|
+
List the installed pseudopotential families with the command `aiida-pseudo list`.
|
|
90
|
+
You can then use the name of any family in the command line using the `-F` flag.
|
|
91
|
+
|
|
92
|
+
## Development
|
|
93
|
+
|
|
94
|
+
### Running tests
|
|
95
|
+
To run the tests, simply clone and install the package locally with the [tests] optional dependencies:
|
|
96
|
+
|
|
97
|
+
```shell
|
|
98
|
+
git clone https://github.com/aiidateam/aiida-hubbard .
|
|
99
|
+
cd aiida-hubbard
|
|
100
|
+
pip install -e .[tests] # install extra dependencies for test
|
|
101
|
+
pytest -sv tests # run tests
|
|
102
|
+
pytest -sv examples # run examples
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
You can also use `tox` to run the test set. Here you can also use the `-e` option to specify the Python version for the test run. Example:
|
|
106
|
+
```shell
|
|
107
|
+
pip install tox
|
|
108
|
+
tox -e py39 -- tests/calculations/hp/test_hp.py
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Pre-commit
|
|
112
|
+
To contribute to this repository, please enable pre-commit so the code in commits are conform to the standards.
|
|
113
|
+
Simply install the repository with the `pre-commit` extra dependencies:
|
|
114
|
+
```shell
|
|
115
|
+
cd aiida-hubbard
|
|
116
|
+
pip install -e .[pre-commit]
|
|
117
|
+
pre-commit install
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
[AiiDA v4.0-pydantic2]: https://img.shields.io/badge/AiiDA->=2.3.0,<2.6.0-007ec6.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAhCAYAAABTERJSAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAFhgAABYYBG6Yz4AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAUbSURBVFiFzZhrbFRVEMd%2Fc%2B5uu6UUbIFC%2FUAUVEQCLbQJBIiBDyiImJiIhmohYNCkqJAQxASLF8tDgYRHBLXRhIcKNtFEhVDgAxBJqgmVh4JEKg3EIn2QYqBlt917xg%2BFss%2ByaDHOtzsz5z%2B%2FuZl7ztmF%2F5HJvxVQN6cPYX8%2FPLnOmsvNAvqfwuib%2FbNIk9cQeQnLcKRL5xLIV%2Fic9eJeunjPYbRs4FjQSpTB3aS1IpRKeeOOewajy%2FKKEO8Q0DuVdKy8IqsbPulxGHUfCBBu%2BwUYGuFuBTK7wQnht6PEbf4tlRomVRjCbXNjQEB0AyrFQOL5ENIJm7dTLZE6DPJCnEtFZVXDLny%2B4Sjv0PmmYu1ZdUek9RiMgoDmJ8V0L7XJqsZ3UW8YsBOwEeHeeFce7jEYXBy0m9m4BbXqSj2%2Bxnkg26MCVrN6DEZcwggtd8pTFx%2Fh3B9B50YLaFOPwXQKUt0tBLegtSomfBlfY13PwijbEnhztGzgJsK5h9W9qeWwBqjvyhB2iBs1Qz0AU974DciRGO8CVN8AJhAeMAdA3KbrKEtvxhsI%2B9emWiJlGBEU680Cfk%2BSsVq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Nouy8tNF3Rt0CSXb6bRFl4%2FIfQzNMjaE9WwpYOWQnOdEF%2BTdJNO0iFh7%2BI0kfORzQZb6P2kymS9oTxzBiM9rUqLWr1WE5G6ODhycQd%2FUnNVeMbcH68hYkGycNoUNWc8fxaxfwhDbHpfwM5oeTY7rUX8QAAAABJRU5ErkJggg%3D%3D
|
|
122
|
+
|
|
123
|
+
[QE v7.2-7.4]: https://img.shields.io/badge/Quantum%20ESPRESSO-%3E=7.2,%3C=7.4-007ec6.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAIAAABvFaqvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5QkVEQ0n7crnLAAABcBJREFUOMtVld1PHOcVxs9533c+dmdnd2FtWNhdwEBY1xjWxk7bOHGJCEFJaOJ8VJUi2WqrtFetKvWm6lX/hKq9qFRVVi+qSk2jNKriSlEkKyYkNrFDbYONsYGADbPGBu/HLLs7Ozsz7+nFklQ9t+foJ53zPHoOnj17FhGllMC4ETZsu6wpAhm6btNpBkJRo5FQJKQBYrXWqNScwGuGNaGoipRERIgIAAAgEBEBfAk/e+PU+LGe3/39yvziigTs7OgYHzv09LdSnYmoJhiCdBuNrR17bmn788XNYrEQCamA+A1LAAAAaZp6mK+K1bmBWOIyht559enpUxlgys27OzM37hftuuCYTJhjAwd+NJ394XjPu7P5jz5fVFnAuZBSIqJAhHrdjR2MkWXB43vRzNRvf/rCiSF+6drWPz6583i3gCAZIgFIgve46M8kz070/2Qqnk0/98f3rwaByxgnIv7U0OHvjI385p3xyMJc3SoOPpdNHeR/upD/28c3yHeMkKapiqoITRG6JjSBxWJpZvER+crLRxvJrsG523nBCBH51NTkr38wEL3378bKlrSbunDPr0c/mltpj6iMCyklEEkiIAKiABBCOlPg2rotAv7yo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aPYm8y/aAUPCntNVy36QdNz3OafgBsqC/zqzNHxo+Fr+cTf3jvKgQNzgUR4blz5/YdSMQ5azRcI9r+41eOnx4xJKp3N2oLG4Un5ToiJBPm2GBHf1/Eqzv/urLzwcV5Rk0hlFbU/g/UYjHGfN9zfRga6Jk43nNi8GBbPEKKAoDk+du79hfL2zPXNx7mt42QgoxJ+X/hv1+tv8S5iAhY+2pjeeV+JBJpi4ZNQyMCe88p2FXXqesqNyO6lPQNBQD+C1Fl4Lfj+TndAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA5LTIxVDE1OjEzOjM5KzAyOjAwpCQipAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wOS0yMVQxNToxMzozOSswMjowMNV5mhgAAAAASUVORK5CYII=
|
|
124
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# `aiida-hubbard`
|
|
2
|
+
|
|
3
|
+
AiiDA plugin for the first-principles calculation of Hubbard parameters.
|
|
4
|
+
|
|
5
|
+
This is also the official AiiDA plugin for the [HP](https://www.sciencedirect.com/science/article/pii/S0010465522001746) code of [Quantum ESPRESSO](https://www.quantum-espresso.org/).
|
|
6
|
+
|
|
7
|
+
| | |
|
|
8
|
+
|-----|----------------------------------------------------------------------------|
|
|
9
|
+
|Latest release| [](https://badge.fury.io/py/aiida-hubbard)[](https://pypi.python.org/pypi/aiida-hubbard) |
|
|
10
|
+
|Getting help| [](http://aiida-hubbard.readthedocs.io/) [](https://aiida.discourse.group/)
|
|
11
|
+
|Build status| [](https://github.com/aiidateam/aiida-hubbard/actions) [](https://codecov.io/gh/aiidateam/aiida-hubbard) |
|
|
12
|
+
|Activity| [](https://pypistats.org/packages/aiida-hubbard) [](https://github.com/aiidateam/aiida-hubbard/pulse)
|
|
13
|
+
|Community| [](https://aiida.discourse.group/)
|
|
14
|
+
|
|
15
|
+
## Compatibility matrix
|
|
16
|
+
|
|
17
|
+
The matrix below assumes the user always install the latest patch release of the specified minor version, which is recommended.
|
|
18
|
+
|
|
19
|
+
| Plugin | AiiDA | Python | Quantum ESPRESSO |
|
|
20
|
+
|-|-|-|-|
|
|
21
|
+
| `v0.1.0` | ![Compatibility for v4.0][AiiDA v4.0-pydantic2] | [](https://pypi.python.org/pypi/aiida-hubbard) | ![Quantum ESPRESSO compatibility][QE v7.2-7.4] |
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
To install using pip, simply execute:
|
|
25
|
+
|
|
26
|
+
pip install aiida-hubbard
|
|
27
|
+
|
|
28
|
+
or when installing from source:
|
|
29
|
+
|
|
30
|
+
git clone https://github.com/aiidateam/aiida-hubbard
|
|
31
|
+
pip install aiida-hubbard
|
|
32
|
+
|
|
33
|
+
## Pseudopotentials
|
|
34
|
+
Pseudopotentials are installed and managed through the [`aiida-pseudo` plugin](https://pypi.org/project/aiida-pseudo/).
|
|
35
|
+
The easiest way to install pseudopotentials, is to install a version of the [SSSP](https://www.materialscloud.org/discover/sssp/table/efficiency) through the CLI of `aiida-pseudo`.
|
|
36
|
+
Simply run
|
|
37
|
+
|
|
38
|
+
aiida-pseudo install sssp
|
|
39
|
+
|
|
40
|
+
to install the default SSSP version.
|
|
41
|
+
List the installed pseudopotential families with the command `aiida-pseudo list`.
|
|
42
|
+
You can then use the name of any family in the command line using the `-F` flag.
|
|
43
|
+
|
|
44
|
+
## Development
|
|
45
|
+
|
|
46
|
+
### Running tests
|
|
47
|
+
To run the tests, simply clone and install the package locally with the [tests] optional dependencies:
|
|
48
|
+
|
|
49
|
+
```shell
|
|
50
|
+
git clone https://github.com/aiidateam/aiida-hubbard .
|
|
51
|
+
cd aiida-hubbard
|
|
52
|
+
pip install -e .[tests] # install extra dependencies for test
|
|
53
|
+
pytest -sv tests # run tests
|
|
54
|
+
pytest -sv examples # run examples
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
You can also use `tox` to run the test set. Here you can also use the `-e` option to specify the Python version for the test run. Example:
|
|
58
|
+
```shell
|
|
59
|
+
pip install tox
|
|
60
|
+
tox -e py39 -- tests/calculations/hp/test_hp.py
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Pre-commit
|
|
64
|
+
To contribute to this repository, please enable pre-commit so the code in commits are conform to the standards.
|
|
65
|
+
Simply install the repository with the `pre-commit` extra dependencies:
|
|
66
|
+
```shell
|
|
67
|
+
cd aiida-hubbard
|
|
68
|
+
pip install -e .[pre-commit]
|
|
69
|
+
pre-commit install
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
[AiiDA v4.0-pydantic2]: https://img.shields.io/badge/AiiDA->=2.3.0,<2.6.0-007ec6.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACMAAAAhCAYAAABTERJSAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAFhgAABYYBG6Yz4AAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAUbSURBVFiFzZhrbFRVEMd%2Fc%2B5uu6UUbIFC%2FUAUVEQCLbQJBIiBDyiImJiIhmohYNCkqJAQxASLF8tDgYRHBLXRhIcKNtFEhVDgAxBJqgmVh4JEKg3EIn2QYqBlt917xg%2BFss%2ByaDHOtzsz5z%2B%2FuZl7ztmF%2F5HJvxVQN6cPYX8%2FPLnOmsvNAvqfwuib%2FbNIk9cQeQnLcKRL5xLIV%2Fic9eJeunjPYbRs4FjQSpTB3aS1IpRKeeOOewajy%2FKKEO8Q0DuVdKy8IqsbPulxGHUfCBBu%2BwUYGuFuBTK7wQnht6PEbf4tlRomVRjCbXNjQEB0AyrFQOL5ENIJm7dTLZE6DPJCnEtFZVXDLny%2B4Sjv0PmmYu1ZdUek9RiMgoDmJ8V0L7XJqsZ3UW8YsBOwEeHeeFce7jEYXBy0m9m4BbXqSj2%2Bxnkg26MCVrN6DEZcwggtd8pTFx%2Fh3B9B50YLaFOPwXQKUt0tBLegtSomfBlfY13PwijbEnhztGzgJsK5h9W9qeWwBqjvyhB2iBs1Qz0AU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UGvX8Jn24DyEAykJwNcdg0OvJ4p5pQ9tV6SMlP4A0PNh8aYze1ArROyUNTNouy8tNF3Rt0CSXb6bRFl4%2FIfQzNMjaE9WwpYOWQnOdEF%2BTdJNO0iFh7%2BI0kfORzQZb6P2kymS9oTxzBiM9rUqLWr1WE5G6ODhycQd%2FUnNVeMbcH68hYkGycNoUNWc8fxaxfwhDbHpfwM5oeTY7rUX8QAAAABJRU5ErkJggg%3D%3D
|
|
74
|
+
|
|
75
|
+
[QE v7.2-7.4]: https://img.shields.io/badge/Quantum%20ESPRESSO-%3E=7.2,%3C=7.4-007ec6.svg?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAIAAABvFaqvAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5QkVEQ0n7crnLAAABcBJREFUOMtVld1PHOcVxs9533c+dmdnd2FtWNhdwEBY1xjWxk7bOHGJCEFJaOJ8VJUi2WqrtFetKvWm6lX/hKq9qFRVVi+qSk2jNKriSlEkKyYkNrFDbYONsYGADbPGBu/HLLs7Ozsz7+nFklQ9t+foJ53zPHoOnj17FhGllMC4ETZsu6wpAhm6btNpBkJRo5FQJKQBYrXWqNScwGuGNaGoipRERIgIAAAgEBEBfAk/e+PU+LGe3/39yvziigTs7OgYHzv09LdSnYmoJhiCdBuNrR17bmn788XNYrEQCamA+A1LAAAAaZp6mK+K1bmBWOIyht559enpUxlgys27OzM37hftuuCYTJhjAwd+NJ394XjPu7P5jz5fVFnAuZBSIqJAhHrdjR2MkWXB43vRzNRvf/rCiSF+6drWPz6583i3gCAZIgFIgve46M8kz070/2Qqnk0/98f3rwaByxgnIv7U0OHvjI385p3xyMJc3SoOPpdNHeR/upD/28c3yHeMkKapiqoITRG6JjSBxWJpZvER+crLRxvJrsG523nBCBH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BGCIgMlQkcYRCIMt69O3vj7x1AueLh/7y4byuAAHyXC6HiETEhahVKzc3myPDR8aPYm8y/aAUPCntNVy36QdNz3OafgBsqC/zqzNHxo+Fr+cTf3jvKgQNzgUR4blz5/YdSMQ5azRcI9r+41eOnx4xJKp3N2oLG4Un5ToiJBPm2GBHf1/Eqzv/urLzwcV5Rk0hlFbU/g/UYjHGfN9zfRga6Jk43nNi8GBbPEKKAoDk+du79hfL2zPXNx7mt42QgoxJ+X/hv1+tv8S5iAhY+2pjeeV+JBJpi4ZNQyMCe88p2FXXqesqNyO6lPQNBQD+C1Fl4Lfj+TndAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTA5LTIxVDE1OjEzOjM5KzAyOjAwpCQipAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wOS0yMVQxNToxMzozOSswMjowMNV5mhgAAAAASUVORK5CYII=
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Makefile for Sphinx documentation
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
# You can set these variables from the command line.
|
|
5
|
+
SPHINXOPTS =
|
|
6
|
+
SPHINXBUILD = sphinx-build
|
|
7
|
+
PAPER =
|
|
8
|
+
BUILDDIR = build
|
|
9
|
+
AIIDAWORKDIR = source/local_module/_aiida_*
|
|
10
|
+
|
|
11
|
+
# User-friendly check for sphinx-build
|
|
12
|
+
ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
|
|
13
|
+
$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
|
|
14
|
+
endif
|
|
15
|
+
|
|
16
|
+
# Internal variables.
|
|
17
|
+
PAPEROPT_a4 = -D latex_paper_size=a4
|
|
18
|
+
PAPEROPT_letter = -D latex_paper_size=letter
|
|
19
|
+
ALLSPHINXOPTS = -n -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
|
20
|
+
# the i18n builder cannot share the environment and doctrees with the others
|
|
21
|
+
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
|
|
22
|
+
|
|
23
|
+
.PHONY: all help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext customdefault
|
|
24
|
+
|
|
25
|
+
customdefault:
|
|
26
|
+
$(SPHINXBUILD) -b html -nW --keep-going $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
27
|
+
|
|
28
|
+
all: html view
|
|
29
|
+
|
|
30
|
+
clean:
|
|
31
|
+
rm -rf $(BUILDDIR); rm -rf $(AIIDAWORKDIR)
|
|
32
|
+
|
|
33
|
+
html:
|
|
34
|
+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
|
|
35
|
+
@echo
|
|
36
|
+
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
view:
|
|
40
|
+
open $(BUILDDIR)/html/index.html
|