periodic boundary conditions for setup with Charmm files?

The functionality of OpenMM will (eventually) include everything that one would need to run modern molecular simulation.
POST REPLY
User avatar
Wei Chen
Posts: 83
Joined: Thu Jul 02, 2015 6:35 pm

periodic boundary conditions for setup with Charmm files?

Post by Wei Chen » Wed Jun 26, 2019 10:25 am

Hi,

I am trying to set up protein-ligand binding simulations with Charmm files (psf, str, prm) which already contains solvent and ions. But when I specify "nonbondedMethod=PME" in

Code: Select all

system = psf.createSystem(params, nonbondedMethod=PME, nonbondedCutoff=1*nanometer, constraints=HBonds)
, it generates error:

Code: Select all

Illegal nonbonded method for a non-periodic system
.

I checked the documentation, it seems that I could use

Code: Select all

system.setPeriodicBoxVectors()
to define the periodic box, but this requires the definition of "system" object which throws the error above.

Does anyone know how to solve this issue? Thanks!

User avatar
Wei Chen
Posts: 83
Joined: Thu Jul 02, 2015 6:35 pm

Re: periodic boundary conditions for setup with Charmm files?

Post by Wei Chen » Wed Jun 26, 2019 10:31 am

Never mind, I found setBox() for psf file.

Thanks!

POST REPLY