Search found 2541 matches

by Peter Eastman
Mon Sep 30, 2013 11:55 am
Forum: OpenMM
Topic: OpenMM 5.2
Replies: 0
Views: 161

OpenMM 5.2

We are very pleased to announce that OpenMM 5.2 is now available for download. This is a major release with lots of new features. Here are some of the most important ones. There is a new plugin for simulating Drude oscillators. It includes all the forces required to model them, as well as two differ...
by Peter Eastman
Wed Sep 18, 2013 11:39 am
Forum: OpenMM
Topic: Problems with RNGs in CustomIntegrator
Replies: 3
Views: 140

Re: Problems with RNGs in CustomIntegrator

Thanks! I've just checked in a fix for the reference platform.

I can't reproduce your problem with the CUDA platform. It works fine for me. Perhaps there's something else in your System that's causing the problem? For example, are you using any Forces that are defined by plugins?

Peter
by Peter Eastman
Wed Sep 11, 2013 5:20 pm
Forum: OpenMM
Topic: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found
Replies: 11
Views: 471

Re: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found

It turns out Simbody (one of our other projects) is already bundling a 64 bit pthreads library for Windows. You can get it from https://github.com/simbody/simbody/tree ... ws/lib_x64.

Peter
by Peter Eastman
Wed Sep 11, 2013 5:18 pm
Forum: OpenMM
Topic: Possible issue with CRYST1 record and PDBFile.writeFile()
Replies: 1
Views: 176

Re: Possible issue with CRYST1 record and PDBFile.writeFile(

The problem is that PDB files only get to store one set of box dimensions for the whole file. It isn't allowed to be different for each model (unlike DCD, which stores one set of box dimensions per frame). So PDBFile.writeHeader() writes the box dimensions stored in the Topology, not the ones from a...
by Peter Eastman
Wed Sep 11, 2013 3:25 pm
Forum: OpenMM
Topic: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found
Replies: 11
Views: 471

Re: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found

error LNK2019: unresolved external symbol __imp_pthread_mutex_unlock referenced in function We use pthreads as our threading API. It's built into Linux and Mac OS, but on Windows we need to bundle a separate library (http://www.sourceware.org/pthreads-win32/) that implements it. And it's a 32 bit l...
by Peter Eastman
Tue Sep 10, 2013 1:41 pm
Forum: OpenMM
Topic: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found
Replies: 11
Views: 471

Re: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found

What if you change it to

#ifdef _WIN32

Note the underscore I've added in front of the symbol. Based on a quick web search, it looks like that should be defined whether you're compiling in 32 or 64 bit mode. Does that work?

Peter
by Peter Eastman
Wed Aug 21, 2013 10:47 am
Forum: OpenMM
Topic: Integration scheme for Langevin dynamics with constraints
Replies: 6
Views: 430

Re: Integration scheme for Langevin dynamics with constraint

Hi Kevin,

We implement it in leapfrog form. So when you call getVelocities() on a State object, those are half-step velocities.

Peter
by Peter Eastman
Wed Aug 14, 2013 10:52 am
Forum: OpenMM
Topic: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found
Replies: 11
Views: 471

Re: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found

For C++, binary compatibility between Visual Studio versions is embarrassingly bad. To really be sure it will work, you need to compile everything in the exact same version of Visual Studio. For example, code compiled with Visual Studio Express is often not binary compatible with code compiled with ...
by Peter Eastman
Tue Aug 13, 2013 11:40 am
Forum: OpenMM
Topic: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found
Replies: 11
Views: 471

Re: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found

Sorry, I missed that you were using Windows. That changes things a bit. Can you launch a python interpreter directly? Now type the following into it: from simtk.openmm import * print Platform.getDefaultPluginsDirectory() Does the path it prints match where you have OpenMM installed? Next try: Platfo...
by Peter Eastman
Tue Aug 13, 2013 10:25 am
Forum: OpenMM
Topic: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found
Replies: 11
Views: 471

Re: OpenMM Windows 64-bit, no OpenCL or CUDA platforms found

Hi Mike, It looks like it isn't loading the plugins. There are several possible reasons for that. Did you install somewhere other than the default location (/usr/local/openmm)? If so, you need to set the OPENMM_PLUGIN_DIR environment variable to point to the plugin directory (openmm/lib/plugins). Ot...