Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that supercell_matrices of single-atom-displaced and rattled supercells are the same per default #258

Merged
merged 33 commits into from
Nov 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3022c3b
increase M3GNET RMSE tolereance because of fluctuations
QuantumChemist Nov 14, 2024
a01c5a6
prettify GAP parameters representation and remove GAP related things …
QuantumChemist Nov 14, 2024
f3d35a0
rearrange file entires to make it look better, added user-defined for…
QuantumChemist Nov 15, 2024
1b7e6c0
fix unit test
QuantumChemist Nov 15, 2024
3754c8c
fix unit test
QuantumChemist Nov 15, 2024
d76dc84
small format fix
QuantumChemist Nov 15, 2024
4dc423e
fix unit test
QuantumChemist Nov 15, 2024
c02bfc3
removed a comment
QuantumChemist Nov 15, 2024
1b95862
decrease default max_length for rattled supercells
QuantumChemist Nov 15, 2024
8d0c3a8
Merge branch 'autoatml:main' into main
QuantumChemist Nov 18, 2024
0337f46
reducing max_length default a bit
QuantumChemist Nov 18, 2024
e51db69
Merge branch 'main' of github.com:QuantumChemist/autoplex
QuantumChemist Nov 18, 2024
eacd697
added missing doctsring
QuantumChemist Nov 19, 2024
c89312c
set max_length to 20
QuantumChemist Nov 19, 2024
a508a53
set max_length to 20
QuantumChemist Nov 19, 2024
b8ae70c
add fallback to single-atom-dsipl- supercells
QuantumChemist Nov 19, 2024
10ac1e5
minor changes in file format
QuantumChemist Nov 19, 2024
bc5ca78
supercell_matrix is only determined once by reduce_supercell_size_job
QuantumChemist Nov 19, 2024
cb4c995
filter out supercell_matrix key to prevent problems with mismacthing …
QuantumChemist Nov 19, 2024
9f02c13
filter out supercell_matrix mpid key as mpids are not used here
QuantumChemist Nov 19, 2024
d60d9fc
adjust job number and remove print
QuantumChemist Nov 19, 2024
75f2668
adjust defaults
QuantumChemist Nov 19, 2024
6da2b0f
fix unit tests
QuantumChemist Nov 20, 2024
14a9eb5
fix unit tests
QuantumChemist Nov 20, 2024
776384d
putting the phonon GAP defaults to SI settings
QuantumChemist Nov 20, 2024
6b3ceb2
fix unit test
QuantumChemist Nov 20, 2024
125eec1
fix unit test
QuantumChemist Nov 20, 2024
a0f3d83
fix unit test
QuantumChemist Nov 20, 2024
f35ef28
added user info about supercell settings
QuantumChemist Nov 20, 2024
bbae8f5
Merge branch 'autoatml:main' into main
QuantumChemist Nov 20, 2024
bc7dec9
addressing Yb's comments
QuantumChemist Nov 20, 2024
5b35adf
adjust unit test
QuantumChemist Nov 20, 2024
a84458d
fix unit test
QuantumChemist Nov 20, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/autoplex/data/phonons/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def make(
supercell_matrix_job = reduce_supercell_size_job(
structure=structure,
min_length=self.supercell_settings.get("min_length", 12),
max_length=self.supercell_settings.get("max_length", 25),
max_length=self.supercell_settings.get("max_length", 20),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is the default max length of 20 determined? Is this a commonly used value in the filed? If a lattice constant of a unit cell already exceeds 20, what would happen? Would the scale factor be set to 1?

Copy link
Collaborator Author

@QuantumChemist QuantumChemist Nov 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the length of 20 appears to cause the least problems for the run time and yields good supercells. If a lattice parameter of a unit cells exceeds this value, it won't be scaled and stay like it is. But for the phonon part, so large unit cells are not intended to be used (on a regular basis).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some large systems like MOFs, such situations are common, but since we can customize them, this shouldn't be an issue.

fallback_min_length=self.supercell_settings.get(
"fallback_min_length", 10
),
Expand Down
Loading