# Standard library logic error (bug): (exception type: St12out\_of\_range)

**URL:** <https://gromacs.bioexcel.eu/t/standard-library-logic-error-bug-exception-type-st12out-of-range/11933>\
**Category:** User discussions\
**Tags:** mdrun, plumed\
**Created:** [April 15, 2025, 11:27pm UTC](https://gromacs.bioexcel.eu/t/standard-library-logic-error-bug-exception-type-st12out-of-range/11933 "2025-04-15T23:27:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rube23](https://avatars.discourse-cdn.com/v4/letter/r/a8b319/32.png) [@rube23](https://gromacs.bioexcel.eu/u/rube23)\
**Post date:** [April 15, 2025, 11:27pm UTC](https://gromacs.bioexcel.eu/t/standard-library-logic-error-bug-exception-type-st12out-of-range/11933/1 "2025-04-15T23:27:01Z")

</div>

GROMACS version:2025.1  
GROMACS modification: Yes  
I am studying meta-dynamics using `PLUMED` with `GROMACS`. Following is my `plumed.dat` file.

```auto
# vim:ft=plumed
MOLINFO STRUCTURE=apom.pdb 
# Compute the backbone dihedral angle phi, defined by atoms C-N-CA-C
# you might want to use MOLINFO shortcuts
phi: TORSION ATOMS=@phi-#
# Compute the backbone dihedral angle psi, defined by atoms N-CA-C-N
psi: TORSION ATOMS=@psi-#
# Activate well-tempered metadynamics in phi
metad: METAD ARG=phi, psi
   # Deposit a Gaussian every 500 time steps, with initial height equal to 1.2 kJ/mol 
   PACE=500 HEIGHT=1.2 
   # the bias factor should be wisely chosen 
   BIASFACTOR=_5.0 # Chosen out of blue for this learning
   # Gaussian width (sigma) should be chosen based on CV fluctuation in unbiased run 
   SIGMA=0.35, 0.35
   # Gaussians will be written to file and also stored on grid 
   FILE=HILLS GRID_MIN=-pi GRID_MAX=pi 
...
# Print both collective variables and the value of the bias potential on COLVAR file
PRINT ARG=phi,psi,metad.bias FILE=COLVAR STRIDE=10

```

I have searched the forum and majority of the posts says it is a bug. I am attaching my `.tpr` file for your reference. What should I do to overcome this challenge, if I want to run `plumed`. I have patched `plumed` as per the installation instruction mentioned in plumed web-site. Any suggestion, help would be very helpful.

[md\_0\_1.dat](https://gromacs.bioexcel.eu/uploads/short-url/25idGNGbcJvYIf6Two7sQctB5aK.dat) (685.5 KB)

I have renamed `.tpr` to `.dat` for uploading.

Many thanks,
