# Mdrun without openMP

**URL:** <https://gromacs.bioexcel.eu/t/mdrun-without-openmp/1177>\
**Category:** User discussions\
**Created:** [December 1, 2020, 12:28pm UTC](https://gromacs.bioexcel.eu/t/mdrun-without-openmp/1177 "2020-12-01T12:28:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjm91](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjm91](https://gromacs.bioexcel.eu/u/mjm91)\
**Post date:** [December 1, 2020, 12:28pm UTC](https://gromacs.bioexcel.eu/t/mdrun-without-openmp/1177/1 "2020-12-01T12:28:03Z")

</div>

GROMACS version:2019  
GROMACS modification: Yes/No  
Here post your question

I am trying to execute gmx\_mpi mdrun -v -deffnm md \>& log in a cluster. But the job is aborted with an error message: “OpenMP threads have been requested with cut-off scheme Group, but these are  
only supported with cut-off scheme Verlet”. I am using cutoff-scheme=group. In my system, some non-bonding energy calculations between energy groups are excluded using energygrp\_excl in MDP file. If I am trying to use verlet cutoff-scheme, gromacs reports an error that energygrp\_excl can only be used with group cutoff-scheme, has not yet been implemented in verlet cutoff scheme.

Is there a way I can run with group cutoff-scheme and energygrp\_excl together without error using mdrun?

---

<div class="post-metadata">

**Author:** ![cblau](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/cblau/32/5_2.png) [@cblau](https://gromacs.bioexcel.eu/u/cblau)\
**Post date:** [December 1, 2020, 7:31pm UTC](https://gromacs.bioexcel.eu/t/mdrun-without-openmp/1177/2 "2020-12-01T19:31:15Z")

</div>

Hi mjm91,

no, this is not possible.

But if you tell us what you’re trying to evaluate with energy exclusion groups, we might be able to find a way around here.

---

<div class="post-metadata">

**Author:** ![mjm91](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjm91](https://gromacs.bioexcel.eu/u/mjm91)\
**Post date:** [December 2, 2020, 4:00am UTC](https://gromacs.bioexcel.eu/t/mdrun-without-openmp/1177/3 "2020-12-02T04:00:13Z")

</div>

Hi cblau, thank you for your response. The simulation system consists of a cavity and a ligand molecule, where we want to exclude any kind of intramolecular interactions. So that neither the cavity nor the ligand will change their conformation during the course of simulation. Position restraints are applied on the cavity and cavity atoms has also been frozen (freezegrps), but ligand is free to move. So, in order to allow its free movement and not having its conformation changed, we added the energygrp\_excl, so that any non-bonding intramolecular interaction energies are excluded.

---

<div class="post-metadata">

**Author:** ![cblau](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/cblau/32/5_2.png) [@cblau](https://gromacs.bioexcel.eu/u/cblau)\
**Post date:** [December 2, 2020, 10:07am UTC](https://gromacs.bioexcel.eu/t/mdrun-without-openmp/1177/4 "2020-12-02T10:07:32Z")

</div>

Ah okay, if I understand correctly, the ligand should move as a rigid body. That’s indeed a bit tricky - I know that’s a bit hacky, but would it work to alter the ligand parameters, so that you have very stiff dihedrals to emulate the rigid body behaviour?

---

<div class="post-metadata">

**Author:** ![mjm91](https://avatars.discourse-cdn.com/v4/letter/m/54ee81/32.png) [@mjm91](https://gromacs.bioexcel.eu/u/mjm91)\
**Post date:** [December 2, 2020, 2:40pm UTC](https://gromacs.bioexcel.eu/t/mdrun-without-openmp/1177/5 "2020-12-02T14:40:54Z")

</div>

Actually the ligand is a fullerene molecule. So, switching off intramolecular interactions seemed reasonable.
