aiida-muon 1.2.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_muon-1.2.0/LICENSE.txt +91 -0
- aiida_muon-1.2.0/PKG-INFO +92 -0
- aiida_muon-1.2.0/README.md +54 -0
- aiida_muon-1.2.0/aiida_muon/.DS_Store +0 -0
- aiida_muon-1.2.0/aiida_muon/__init__.py +5 -0
- aiida_muon-1.2.0/aiida_muon/pythonjobs/finetuning_mace.py +584 -0
- aiida_muon-1.2.0/aiida_muon/pythonjobs/finetuning_mattersim.py +347 -0
- aiida_muon-1.2.0/aiida_muon/pythonjobs/finetuning_metatrain.py +577 -0
- aiida_muon-1.2.0/aiida_muon/pythonjobs/relax.py +295 -0
- aiida_muon-1.2.0/aiida_muon/pythonjobs/requirements_remote_env.md +12 -0
- aiida_muon-1.2.0/aiida_muon/pythonjobs/score_frames.py +305 -0
- aiida_muon-1.2.0/aiida_muon/utils/clustering.py +425 -0
- aiida_muon-1.2.0/aiida_muon/utils/export_findmuon.py +442 -0
- aiida_muon-1.2.0/aiida_muon/utils/hubbard.py +120 -0
- aiida_muon-1.2.0/aiida_muon/utils/magnetism.py +322 -0
- aiida_muon-1.2.0/aiida_muon/utils/manage_new_structure.py +41 -0
- aiida_muon-1.2.0/aiida_muon/utils/niche.py +335 -0
- aiida_muon-1.2.0/aiida_muon/utils/score.py +475 -0
- aiida_muon-1.2.0/aiida_muon/utils/sites_supercells.py +117 -0
- aiida_muon-1.2.0/aiida_muon/utils/trajectory.py +309 -0
- aiida_muon-1.2.0/aiida_muon/workflows/__init__.py +0 -0
- aiida_muon-1.2.0/aiida_muon/workflows/active_learning.py +746 -0
- aiida_muon-1.2.0/aiida_muon/workflows/find_muon.py +1649 -0
- aiida_muon-1.2.0/aiida_muon/workflows/utils.py +95 -0
- aiida_muon-1.2.0/pyproject.toml +73 -0
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
Non-Commercial, End-User Software License Agreement for AiiDA-muon
|
|
2
|
+
|
|
3
|
+
Copyright (c), 2024-2031, University of Parma (Department of Physics and Earth Sciences), Italy,
|
|
4
|
+
and National Centre for Computational Design and Discovery of Novel Materials (NCCR MARVEL),
|
|
5
|
+
Switzerland and Paul Scherrer Institut (Laboratory for Materials Simulations (LMS)), Switzerland.
|
|
6
|
+
All rights reserved.
|
|
7
|
+
|
|
8
|
+
INTRODUCTION
|
|
9
|
+
|
|
10
|
+
- This license agreement sets forth the terms and conditions under which the
|
|
11
|
+
Authors and their Institutions (hereafter "LICENSORS") of the program
|
|
12
|
+
"AiiDA-muon" (hereafter "PROGRAM"), will grant you (hereafter
|
|
13
|
+
"LICENSEE") a fully-paid, non-exclusive, and non-transferable license for
|
|
14
|
+
academic, non-commercial purposes only (hereafter "LICENSE") to use the
|
|
15
|
+
PROGRAM computer software and associated documentation furnished hereunder.
|
|
16
|
+
|
|
17
|
+
- LICENSEE acknowledges that the PROGRAM is a research tool still in the
|
|
18
|
+
development stage, that is being supplied "as is", without any related
|
|
19
|
+
services, improvements or warranties from LICENSORS and that this license is
|
|
20
|
+
entered into in order to enable others to utilize the PROGRAM in their
|
|
21
|
+
academic activities.
|
|
22
|
+
|
|
23
|
+
TERMS AND CONDITIONS OF THE LICENSE
|
|
24
|
+
|
|
25
|
+
1. LICENSORS grant to LICENSEE a fully-paid up, non-exclusive, and
|
|
26
|
+
non-transferable license to use the PROGRAM for academic, non-commercial
|
|
27
|
+
purposes, upon the terms and conditions hereinafter set out and until
|
|
28
|
+
termination of this license as set forth below.
|
|
29
|
+
|
|
30
|
+
2. LICENSEE acknowledges that the PROGRAM is a research tool still in the
|
|
31
|
+
development stage. The PROGRAM is provided "as is", without any related
|
|
32
|
+
services or improvements from LICENSORS and that the LICENSE is entered into in
|
|
33
|
+
order to enable others to utilize the PROGRAM in their academic activities.
|
|
34
|
+
|
|
35
|
+
3. LICENSORS MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED,
|
|
36
|
+
INCLUDING WITHOUT LIMITATION ANY REPRESENTATIONS OR WARRANTIES OF
|
|
37
|
+
MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OR THAT THE USE OF THE
|
|
38
|
+
PROGRAM WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
|
|
39
|
+
LICENSORS shall not be liable for any direct, indirect or consequential damages
|
|
40
|
+
with respect to any claim by LICENSEE or any third party arising from this
|
|
41
|
+
Agreement or use of the PROGRAM.
|
|
42
|
+
|
|
43
|
+
4. LICENSEE agrees that it will use the PROGRAM, and any modifications,
|
|
44
|
+
improvements, or derivatives to PROGRAM that LICENSEE may create (collectively,
|
|
45
|
+
"IMPROVEMENTS") solely for academic, non-commercial purposes and shall not
|
|
46
|
+
distribute or transfer the PROGRAM or any IMPROVEMENTS to any person without
|
|
47
|
+
prior written permission from LICENSORS. The terms "academic, non-commercial",
|
|
48
|
+
as used in this Agreement, mean academic or other scholarly research which (a)
|
|
49
|
+
is not undertaken for profit, or (b) is not intended to produce works,
|
|
50
|
+
services, or data for commercial use, or (c) is neither conducted, nor funded,
|
|
51
|
+
by a person or an entity engaged in the commercial use, application or
|
|
52
|
+
exploitation of works similar to the PROGRAM.
|
|
53
|
+
|
|
54
|
+
5. LICENSEE agrees that he/she shall make the following acknowledgement in
|
|
55
|
+
publications resulting from the use of the PROGRAM: "Sebastiaan. P. Huber, Spyros Zoupanos, Martin
|
|
56
|
+
Uhrin, Leopold Talirz, Leonid Kahle, Rico Häuselmann, Dominik Gresch, Tiziano
|
|
57
|
+
Müller, Aliaksandr V. Yakutovich, Casper W. Andersen, Francisco F. Ramirez,
|
|
58
|
+
Carl S. Adorf, Fernando Gargiulo, Snehal Kumbhar, Elsa Passaro, Conrad
|
|
59
|
+
Johnston, Andrius Merkys, Andrea Cepellotti, Nicolas Mounet, Nicola Marzari,
|
|
60
|
+
Boris Kozinsky, and Giovanni Pizzi, AiiDA 1.0, a scalable computational
|
|
61
|
+
infrastructure for automated reproducible workflows and data provenance,
|
|
62
|
+
Scientific Data 7, 300 (2020), DOI: 10.1038/s41597-020-00638-4"
|
|
63
|
+
(http://www.aiida.net), plus any additional reference explicitly mentioned in
|
|
64
|
+
the custom workflow used. Except for the above-mentioned acknowledgment,
|
|
65
|
+
LICENSEE shall not use the PROGRAM title or the names or logos of LICENSORS,
|
|
66
|
+
nor any adaptation thereof, nor the names of any of its employees or
|
|
67
|
+
laboratories, in any advertising, promotional or sales material without prior
|
|
68
|
+
written consent obtained from LICENSORS in each case.
|
|
69
|
+
|
|
70
|
+
6. Ownership of all rights, including copyright in the PROGRAM and in any
|
|
71
|
+
material associated therewith, shall at all times remain with LICENSORS, and
|
|
72
|
+
LICENSEE agrees to preserve the same. LICENSEE agrees not to use any portion of
|
|
73
|
+
the PROGRAM or of any IMPROVEMENTS in any machine-readable form outside the
|
|
74
|
+
PROGRAM, nor to make any copies except for its internal use, without prior
|
|
75
|
+
written consent of LICENSORS. LICENSEE agrees to place the following copyright
|
|
76
|
+
notice on any such copies: © All rights reserved. University of Parma, Italy,
|
|
77
|
+
Department of Physics and Earth Sciences, 2024; Authors: Ifeany John Onuorah and Pietro Bonfa'.
|
|
78
|
+
Paul Scherrer Institut, Switzerland, Laboratory for Materials Simulations (LMS), 2024;
|
|
79
|
+
Authors: Miki Bonacci and Giovanni Pizzi.
|
|
80
|
+
|
|
81
|
+
7. The LICENSE shall not be construed to confer any rights upon LICENSEE by
|
|
82
|
+
implication or otherwise except as specifically set forth herein.
|
|
83
|
+
|
|
84
|
+
8. This Agreement shall be governed by the material laws of Switzerland and any
|
|
85
|
+
dispute arising out of this Agreement or use of the PROGRAM shall be brought
|
|
86
|
+
before the courts of Lausanne, Switzerland.
|
|
87
|
+
|
|
88
|
+
9. This Agreement and the LICENSE shall remain effective until expiration of
|
|
89
|
+
the copyrights of the PROGRAM except that upon any breach of this Agreement by
|
|
90
|
+
LICENSEE, LICENSORS shall have the right to terminate the LICENSE immediately
|
|
91
|
+
upon notice to LICENSEE.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: aiida-muon
|
|
3
|
+
Version: 1.2.0
|
|
4
|
+
Summary: aiida-muon is allows to find candidate muon implantation sites and hyperfine field by DFT supercell relaxations and from further symmetry and kinetics analysis.
|
|
5
|
+
Keywords: aiida,workflows
|
|
6
|
+
Author: Muon group Parma, Laboratory for Materials Simulations PSI
|
|
7
|
+
Requires-Python: >=3.8
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
Classifier: Programming Language :: Python
|
|
10
|
+
Classifier: Intended Audience :: Science/Research
|
|
11
|
+
Classifier: License :: Free To Use But Restricted
|
|
12
|
+
Classifier: Natural Language :: English
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Framework :: AiiDA
|
|
15
|
+
License-File: LICENSE.txt
|
|
16
|
+
Requires-Dist: aiida-core>=2.8,<3
|
|
17
|
+
Requires-Dist: aiida-quantumespresso~=5.0
|
|
18
|
+
Requires-Dist: aiida-pseudo
|
|
19
|
+
Requires-Dist: pymatgen
|
|
20
|
+
Requires-Dist: spglib>=1.9
|
|
21
|
+
Requires-Dist: pyyaml>=3.0
|
|
22
|
+
Requires-Dist: pylocfield==0.0.1
|
|
23
|
+
Requires-Dist: aiida-impuritysupercellconv==1.1.1
|
|
24
|
+
Requires-Dist: mkdocs-material>=9.0 ; extra == "docs"
|
|
25
|
+
Requires-Dist: mkdocs>=1.5 ; extra == "docs"
|
|
26
|
+
Requires-Dist: pymdown-extensions>=10.0 ; extra == "docs"
|
|
27
|
+
Requires-Dist: pre-commit>=2.21.0 ; extra == "pre-commit"
|
|
28
|
+
Requires-Dist: aiida-pythonjob ; extra == "pythonjob"
|
|
29
|
+
Requires-Dist: pgtest~=1.3 ; extra == "tests"
|
|
30
|
+
Requires-Dist: pytest>=7.4 ; extra == "tests"
|
|
31
|
+
Requires-Dist: pytest-cov>=4.0 ; extra == "tests"
|
|
32
|
+
Requires-Dist: pytest-regressions~=2.3 ; extra == "tests"
|
|
33
|
+
Project-URL: Source, https://github.com/positivemuon/aiida-muon
|
|
34
|
+
Provides-Extra: docs
|
|
35
|
+
Provides-Extra: pre-commit
|
|
36
|
+
Provides-Extra: pythonjob
|
|
37
|
+
Provides-Extra: tests
|
|
38
|
+
|
|
39
|
+
# aiida-muon
|
|
40
|
+
An [AiiDA](www.aiida.net) workflow plugin for finding candidate implantation site(s) for the muon and contact hyperfine contribution to the local field. Candidate sites are obtained DFT relaxation calculations with the [Quantum-Espresso code using its aiida plugin](https://aiida-quantumespresso.readthedocs.io/en/latest/) and subsequent symmetry analysis.
|
|
41
|
+
|
|
42
|
+
**Please note**: the code supports Quantum ESPRESSO versions higher or equal than v7.1, due to the change in the Hubbard card format in the pw.x input file.
|
|
43
|
+
|
|
44
|
+
## Dependencies
|
|
45
|
+
To run the FindMuonWorkChain, aiida-core, plugin installations and aiida-quantum espresso code and computer setups are required.
|
|
46
|
+
|
|
47
|
+
## Available Workflows and utilities
|
|
48
|
+
```
|
|
49
|
+
aiida_muon/
|
|
50
|
+
└── workflows
|
|
51
|
+
├── __init__.py
|
|
52
|
+
└── find_muon.py
|
|
53
|
+
└── utils.py
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Installation
|
|
57
|
+
install this repository as:
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
git clone https://github.com/positivemuon/aiida-muon.git
|
|
61
|
+
cd aiida-muon/
|
|
62
|
+
pip install -e .
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Important custom installation for now
|
|
66
|
+
|
|
67
|
+
after the installation, please install
|
|
68
|
+
|
|
69
|
+
```
|
|
70
|
+
pip install git+https://github.com/mikibonacci/aiida-pythonjob@fix_serializer
|
|
71
|
+
pip install numpy==2
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Example
|
|
75
|
+
|
|
76
|
+
These examples are for Si, Fe and MnO to demonstrate the capabilities of the workchain. For the purpose of quick run "loose" calculation parameters have been chosen for a quick 1 processor run.
|
|
77
|
+
|
|
78
|
+
Run the workflow following the example as;
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
cd examples/
|
|
82
|
+
python run_example_si_fe_mno.py
|
|
83
|
+
```
|
|
84
|
+
* (caveat: labels of codes to be edited)
|
|
85
|
+
|
|
86
|
+
## Acknowledgements
|
|
87
|
+
We acknowledge support from:
|
|
88
|
+
* the [NCCR MARVEL](http://nccr-marvel.ch/) funded by the Swiss National Science Foundation;
|
|
89
|
+
* the PNRR MUR project [ECS-00000033-ECOSISTER](https://ecosister.it/);
|
|
90
|
+
|
|
91
|
+
<img src="https://raw.githubusercontent.com/positivemuon/aiida-muon/main/docs/source/images/MARVEL_logo.png" width="250px" height="131px"/>
|
|
92
|
+
<img src="https://raw.githubusercontent.com/positivemuon/aiida-muon/main/docs/source/images/ecosister_logo.png" width="300px" height="84px"/>
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# aiida-muon
|
|
2
|
+
An [AiiDA](www.aiida.net) workflow plugin for finding candidate implantation site(s) for the muon and contact hyperfine contribution to the local field. Candidate sites are obtained DFT relaxation calculations with the [Quantum-Espresso code using its aiida plugin](https://aiida-quantumespresso.readthedocs.io/en/latest/) and subsequent symmetry analysis.
|
|
3
|
+
|
|
4
|
+
**Please note**: the code supports Quantum ESPRESSO versions higher or equal than v7.1, due to the change in the Hubbard card format in the pw.x input file.
|
|
5
|
+
|
|
6
|
+
## Dependencies
|
|
7
|
+
To run the FindMuonWorkChain, aiida-core, plugin installations and aiida-quantum espresso code and computer setups are required.
|
|
8
|
+
|
|
9
|
+
## Available Workflows and utilities
|
|
10
|
+
```
|
|
11
|
+
aiida_muon/
|
|
12
|
+
└── workflows
|
|
13
|
+
├── __init__.py
|
|
14
|
+
└── find_muon.py
|
|
15
|
+
└── utils.py
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
install this repository as:
|
|
20
|
+
|
|
21
|
+
```
|
|
22
|
+
git clone https://github.com/positivemuon/aiida-muon.git
|
|
23
|
+
cd aiida-muon/
|
|
24
|
+
pip install -e .
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Important custom installation for now
|
|
28
|
+
|
|
29
|
+
after the installation, please install
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
pip install git+https://github.com/mikibonacci/aiida-pythonjob@fix_serializer
|
|
33
|
+
pip install numpy==2
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Example
|
|
37
|
+
|
|
38
|
+
These examples are for Si, Fe and MnO to demonstrate the capabilities of the workchain. For the purpose of quick run "loose" calculation parameters have been chosen for a quick 1 processor run.
|
|
39
|
+
|
|
40
|
+
Run the workflow following the example as;
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
cd examples/
|
|
44
|
+
python run_example_si_fe_mno.py
|
|
45
|
+
```
|
|
46
|
+
* (caveat: labels of codes to be edited)
|
|
47
|
+
|
|
48
|
+
## Acknowledgements
|
|
49
|
+
We acknowledge support from:
|
|
50
|
+
* the [NCCR MARVEL](http://nccr-marvel.ch/) funded by the Swiss National Science Foundation;
|
|
51
|
+
* the PNRR MUR project [ECS-00000033-ECOSISTER](https://ecosister.it/);
|
|
52
|
+
|
|
53
|
+
<img src="https://raw.githubusercontent.com/positivemuon/aiida-muon/main/docs/source/images/MARVEL_logo.png" width="250px" height="131px"/>
|
|
54
|
+
<img src="https://raw.githubusercontent.com/positivemuon/aiida-muon/main/docs/source/images/ecosister_logo.png" width="300px" height="84px"/>
|
|
Binary file
|