Search found 2546 matches

by Peter Eastman
Fri Jun 28, 2024 9:07 am
Forum: OpenMM
Topic: Python API to evaluate ewald Coulomb force
Replies: 14
Views: 1185

Re: Python API to evaluate ewald Coulomb force

Please provide a complete example I can use to reproduce the problem. Otherwise, I don't really know what you're doing or why it isn't working!
by Peter Eastman
Fri Jun 28, 2024 8:02 am
Forum: OpenMM
Topic: Python API to evaluate ewald Coulomb force
Replies: 14
Views: 1185

Re: Python API to evaluate ewald Coulomb force

Can you provide a complete, working example that demonstrates the problem? The code you posted before doesn't correspond to what you described since it doesn't use a real integrator, doesn't run any dynamics, and never retrieves the positions.
by Peter Eastman
Thu Jun 27, 2024 7:30 am
Forum: OpenMM
Topic: Python API to evaluate ewald Coulomb force
Replies: 14
Views: 1185

Re: Python API to evaluate ewald Coulomb force

simulation.context.setPositions(positions*1e+10*angstrom)
Is that really what you mean? I don't know what the values in positions are, but unless they're all tiny values on the order of 1e-10, you're setting the positions to huge values.
by Peter Eastman
Thu Jun 13, 2024 11:44 am
Forum: OpenMM
Topic: OpenMM Installation Issue
Replies: 2
Views: 215

Re: OpenMM Installation Issue

The correct command to test it is

Code: Select all

python -m openmm.testInstallation
Are you looking at an old version of the documentation?
by Peter Eastman
Thu Jun 13, 2024 8:58 am
Forum: OpenMM
Topic: Liquid-Liquid (water-hexane) interfaces workflow issues and setPositions() error
Replies: 2
Views: 183

Re: Liquid-Liquid (water-hexane) interfaces workflow issues and setPositions() error

When I load your PDB file, I get a lot of warnings like /Users/peastman/miniconda3/envs/openmm/lib/python3.9/site-packages/openmm/app/internal/pdbstructure.py:537: UserWarning: WARNING: duplicate atom (HETATM 6441 C1 HEXAB9999 4.711 32.046 48.163 1.00 10.00 C , HETATM 6421 C1 HEXAB9999 10.934 22.748...
by Peter Eastman
Mon Apr 22, 2024 11:16 am
Forum: OpenMM
Topic: Patches when using CHARMM files
Replies: 1
Views: 1235

Re: Patches when using CHARMM files

In CHARMM, patches are generally applied at the modelling stage. If you used a patch while generating your PSF file, it should contain everything it needs to be read correctly.
by Peter Eastman
Thu Apr 18, 2024 12:18 pm
Forum: OpenMM
Topic: PDB File doesnt properly turn into topology with app.PDBFile
Replies: 2
Views: 1459

Re: PDB File doesnt properly turn into topology with app.PDBFile

Every atom in a residue is required to have a unique name. Because your atoms are all named either "H" or "C", it assumes they are alternate locations for the same two atoms rather than different atoms.
by Peter Eastman
Thu Apr 11, 2024 9:11 am
Forum: OpenMM
Topic: OpenMM benchmark on multiple RTX GPUs?
Replies: 3
Views: 1243

Re: OpenMM benchmark on multiple RTX GPUs?

No, it does not use tensor cores. We've looked into it, but there isn't really anything they would be useful for. They have a couple of problems. 1. Really all they do is matrix multiplication. They aren't useful for anything that doesn't look like a matrix multiplication. 2. They don't support 32 b...
by Peter Eastman
Mon Apr 08, 2024 5:18 pm
Forum: OpenMM
Topic: System stays static after 1M simulation steps
Replies: 2
Views: 950

Re: System stays static after 1M simulation steps

What do you expect to happen in that time? Is it a stable molecule or a very flexible one? 1 million steps is 4 ns. How much conformational change do you expect it to undergo in that time?
by Peter Eastman
Tue Apr 02, 2024 12:24 pm
Forum: OpenMM
Topic: OpenMM benchmark on multiple RTX GPUs?
Replies: 3
Views: 1243

Re: OpenMM benchmark on multiple RTX GPUs?

You're better off just using a single GPU. For one thing, 100,000 atoms isn't really that large. It probably doesn't provide enough work to saturate multiple 4090s. For another thing, the performance of multi-GPU simulations depends strongly on the speed of communication between GPUs. All consumer G...