Status of System Tests

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Samuel Lotz
Posts: 23
Joined: Mon Jan 18, 2016 11:39 am

Status of System Tests

Post by Samuel Lotz » Wed Jul 28, 2021 7:44 am

Hi Peter,

I want to run the system tests on a number of different architectures/CUDA installations to make sure we have stability.

Looking at the documentation (http://docs.openmm.org/latest/userguide ... stem-tests) I downloaded the tests but I have a few questions/concerns. Firstly I'm concerned that the tests are up to date and actually relevant anymore, i.e. the tests are written in Python 2...

This is a fairly high priority for me so I think I can put some time into updating them if needed.

~Sam

User avatar
Peter Eastman
Posts: 2593
Joined: Thu Aug 09, 2007 1:25 pm

Re: Status of System Tests

Post by Peter Eastman » Wed Jul 28, 2021 3:42 pm

You're right, those tests are out of date. We should update the documentation.

There are two main sets of tests it would be useful to run. First, you can run the C++ test cases with the command

Code: Select all

make test
or alternatively

Code: Select all

ctest
The latter has more options.

Second, after installing the Python module, you can run the Python tests by cd'ing to the build/python/tests folder and running pytest or nosetests.

POST REPLY