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

reduce timestep to fix sanity check commands in LAMMPS 23Jun2022 #19246

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -24,7 +24,12 @@ source_urls = [GITHUB_LOWER_SOURCE]
sources = [
'stable_%(version)s_update1.tar.gz',
]
checksums = ['58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2']
patches = ['LAMMPS-23June2022_fix-timestep-balance-example.patch']
checksums = [
{'stable_23Jun2022_update1.tar.gz': '58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2'},
{'LAMMPS-23June2022_fix-timestep-balance-example.patch':
'0ad6c953f08b0d539b189b7aa7cef76774aebb9d633b07d5b6001ac0fcea3081'},
]

builddependencies = [
('CMake', '3.20.1'),
Expand Down
Expand Up @@ -22,7 +22,12 @@ source_urls = [GITHUB_LOWER_SOURCE]
sources = [
'stable_%(version)s_update1.tar.gz',
]
checksums = ['58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2']
patches = ['LAMMPS-23June2022_fix-timestep-balance-example.patch']
checksums = [
{'stable_23Jun2022_update1.tar.gz': '58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2'},
{'LAMMPS-23June2022_fix-timestep-balance-example.patch':
'0ad6c953f08b0d539b189b7aa7cef76774aebb9d633b07d5b6001ac0fcea3081'},
]

builddependencies = [
('CMake', '3.20.1'),
Expand Down
Expand Up @@ -24,7 +24,12 @@ source_urls = [GITHUB_LOWER_SOURCE]
sources = [
'stable_%(version)s_update1.tar.gz',
]
checksums = ['58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2']
patches = ['LAMMPS-23June2022_fix-timestep-balance-example.patch']
checksums = [
{'stable_23Jun2022_update1.tar.gz': '58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2'},
{'LAMMPS-23June2022_fix-timestep-balance-example.patch':
'0ad6c953f08b0d539b189b7aa7cef76774aebb9d633b07d5b6001ac0fcea3081'},
]

builddependencies = [
('CMake', '3.22.1'),
Expand Down
Expand Up @@ -20,7 +20,12 @@ toolchainopts = {'openmp': True, 'usempi': True}
# 'https://github.com/lammps/lammps/archive/'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['stable_%(version)s_update1.tar.gz']
checksums = ['58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2']
patches = ['LAMMPS-23June2022_fix-timestep-balance-example.patch']
checksums = [
{'stable_23Jun2022_update1.tar.gz': '58e3b2b984f8935bb0db5631e143be2826c45ffd48844f7c394f36624a3e17a2'},
{'LAMMPS-23June2022_fix-timestep-balance-example.patch':
'0ad6c953f08b0d539b189b7aa7cef76774aebb9d633b07d5b6001ac0fcea3081'},
]

builddependencies = [
('CMake', '3.22.1'),
Expand Down
Expand Up @@ -20,7 +20,12 @@ toolchainopts = {'openmp': True, 'usempi': True}
# 'https://github.com/lammps/lammps/archive/'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['stable_%(version)s_update4.tar.gz']
checksums = ['42541b4dbd0d339d16ddb377e76d192bc3d1d5712fdf9e2cdc838fc980d0a0cf']
patches = ['LAMMPS-23June2022_fix-timestep-balance-example.patch']
checksums = [
{'stable_23Jun2022_update4.tar.gz': '42541b4dbd0d339d16ddb377e76d192bc3d1d5712fdf9e2cdc838fc980d0a0cf'},
{'LAMMPS-23June2022_fix-timestep-balance-example.patch':
'0ad6c953f08b0d539b189b7aa7cef76774aebb9d633b07d5b6001ac0fcea3081'},
]

builddependencies = [
('CMake', '3.23.1'),
Expand Down
@@ -0,0 +1,32 @@
reduce timestep to fix sanity check commands,
see https://github.com/lammps/lammps/commit/9b88ba595d0f05e384cbe6c94cd42870ad15f3bc + https://github.com/lammps/lammps/pull/3950
diff -ru lammps-stable_23Jun2022_update1.orig/examples/balance/in.balance lammps-stable_23Jun2022_update1/examples/balance/in.balance
--- lammps-stable_23Jun2022_update1.orig/examples/balance/in.balance 2022-08-05 22:57:43.000000000 +0200
+++ lammps-stable_23Jun2022_update1/examples/balance/in.balance 2023-11-16 15:12:32.007322455 +0100
@@ -50,5 +50,6 @@

thermo_style custom step temp epair press f_10[3] f_10
thermo 100
+timestep 0.001

run 10000
diff -ru lammps-stable_23Jun2022_update1.orig/examples/balance/in.balance.bond.fast lammps-stable_23Jun2022_update1/examples/balance/in.balance.bond.fast
--- lammps-stable_23Jun2022_update1.orig/examples/balance/in.balance.bond.fast 2022-08-05 22:57:43.000000000 +0200
+++ lammps-stable_23Jun2022_update1/examples/balance/in.balance.bond.fast 2023-11-16 15:12:42.151429264 +0100
@@ -59,5 +59,6 @@

thermo_style custom step temp epair press f_10[3] f_10
thermo 100
+timestep 0.001

run 10000
diff -ru lammps-stable_23Jun2022_update1.orig/examples/balance/in.balance.bond.slow lammps-stable_23Jun2022_update1/examples/balance/in.balance.bond.slow
--- lammps-stable_23Jun2022_update1.orig/examples/balance/in.balance.bond.slow 2022-08-05 22:57:43.000000000 +0200
+++ lammps-stable_23Jun2022_update1/examples/balance/in.balance.bond.slow 2023-11-16 15:12:51.438706639 +0100
@@ -58,5 +58,6 @@

thermo_style custom step temp epair press f_10[3] f_10
thermo 100
+timestep 0.001

run 40000