Skip to content

Commit 7c2cc9f

Browse files
authored
Merge branch 'master' into gpu-constraints
2 parents 88dc18c + 9feb5fa commit 7c2cc9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+81763
-48529
lines changed

Project.toml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ authors = ["Joe G Greener <jgreener@hotmail.co.uk>"]
44
version = "0.22.3"
55

66
[deps]
7+
AcceleratedKernels = "6a4ca0a5-0e36-4168-a932-d9be78d558f1"
78
Atomix = "a9b6321e-bd34-4604-b9c9-b65b8de01458"
89
AtomsBase = "a963bdd2-2df7-4f54-a1ee-49d51e6be12a"
910
AtomsCalculators = "a3e0e189-c65a-42c1-833c-339540406eb1"
@@ -15,6 +16,7 @@ DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
1516
Distances = "b4f34e82-e78d-54a5-968a-f98e89d6e8f7"
1617
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
1718
EzXML = "8f5d6c58-4d21-5cfd-889c-e3ad7ee6a615"
19+
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
1820
GPUArrays = "0c68f7d7-f131-5f86-a1c3-88cf8149b2d7"
1921
Graphs = "86223c79-3864-5bf0-83f7-82e725a168b6"
2022
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
@@ -25,12 +27,12 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2527
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
2628
SimpleCrystals = "64031d72-e220-11ed-1a7e-43a2532b2fa8"
2729
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
30+
SpecialFunctions = "276daf66-3868-5448-9aa4-cd146d93841b"
2831
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2932
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
3033
StructArrays = "09ab397b-f2b6-538f-b94a-2f83cf4a842a"
3134
Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
3235
UnitfulAtomic = "a7773ee8-282e-5fa2-be4e-bd808c38a91a"
33-
UnsafeAtomicsLLVM = "d80eeb9a-aca5-4d75-85e5-170c8b632249"
3436

3537
[weakdeps]
3638
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
@@ -48,6 +50,7 @@ MollyKernelDensityExt = "KernelDensity"
4850
MollyPythonCallExt = "PythonCall"
4951

5052
[compat]
53+
AcceleratedKernels = "0.4.3"
5154
Atomix = "0.1, 1.0"
5255
AtomsBase = "0.5"
5356
AtomsCalculators = "0.2"
@@ -57,11 +60,12 @@ CellListMap = "0.8.11, 0.9"
5760
Chemfiles = "0.10.3"
5861
Colors = "0.11, 0.12, 0.13"
5962
Combinatorics = "1"
60-
DataStructures = "0.18"
63+
DataStructures = "0.18, 0.19"
6164
Distances = "0.10"
6265
Distributions = "0.23, 0.24, 0.25"
6366
Enzyme = "0.13.20"
6467
EzXML = "1"
68+
FFTW = "1"
6569
GLMakie = "0.8, 0.9, 0.10, 0.11, 0.12, 0.13"
6670
GPUArrays = "11"
6771
Graphs = "1.8"
@@ -75,10 +79,10 @@ Random = "1.9"
7579
Reexport = "1"
7680
SimpleCrystals = "0.4"
7781
SparseArrays = "1.9"
82+
SpecialFunctions = "2"
7883
StaticArrays = "1.8.2"
7984
Statistics = "1.9"
8085
StructArrays = "0.7.1"
8186
Unitful = "1"
8287
UnitfulAtomic = "1"
83-
UnsafeAtomicsLLVM = "0.1, 0.2"
8488
julia = "1.10"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ using Molly
104104
sys = System(
105105
joinpath(dirname(pathof(Molly)), "..", "data", "5XER", "gmx_coords.gro"),
106106
joinpath(dirname(pathof(Molly)), "..", "data", "5XER", "gmx_top_ff.top");
107+
nonbonded_method="pme",
107108
loggers=(
108109
temp=TemperatureLogger(10),
109110
writer=TrajectoryWriter(10, "traj_5XER_1ps.pdb"),

benchmark/benchmarks.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ function test_sim(nl::Bool, parallel::Bool, f32::Bool, ::Type{AT}) where AT
8282
if Molly.uses_gpu_neighbor_finder(AT)
8383
neighbor_finder = GPUNeighborFinder(
8484
eligible=AT(trues(n_atoms, n_atoms)),
85-
n_steps_reorder=10,
8685
dist_cutoff=cutoff.dist_cutoff,
8786
)
8887
else
@@ -113,7 +112,7 @@ function test_sim(nl::Bool, parallel::Bool, f32::Bool, ::Type{AT}) where AT
113112
neighbor_finder=neighbor_finder,
114113
)
115114

116-
n_threads = parallel ? Threads.nthreads() : 1
115+
n_threads = (parallel ? Threads.nthreads() : 1)
117116
simulate!(sys, simulator, n_steps; n_threads=n_threads)
118117
return sys.coords
119118
end

benchmark/protein.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function setup_system(::Type{AT}, f32::Bool, units::Bool) where AT
3232
array_type=AT,
3333
dist_cutoff=(units ? dist_cutoff * u"nm" : dist_cutoff),
3434
dist_neighbors=(units ? dist_neighbors * u"nm" : dist_neighbors),
35+
nonbonded_method="cutoff",
3536
)
3637

3738
dt = T(0.0005)

data/openmm_6mrr/coordinates_100steps.txt

Lines changed: 15954 additions & 15954 deletions
Large diffs are not rendered by default.

data/openmm_6mrr/energy_all_cut.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42575.40185442937

data/openmm_6mrr/energy_all_only.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

data/openmm_6mrr/energy_all_pme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
31811.9317595554
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
31811.9317595554

data/openmm_6mrr/forces_all_cut.txt

Lines changed: 15954 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)