# Segmentation Fault using covar?

**URL:** <https://gromacs.bioexcel.eu/t/segmentation-fault-using-covar/6127>\
**Category:** User discussions\
**Created:** [April 6, 2023, 2:51pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault-using-covar/6127 "2023-04-06T14:51:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cnc89](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cnc89](https://gromacs.bioexcel.eu/u/cnc89)\
**Post date:** [April 6, 2023, 2:51pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault-using-covar/6127/1 "2023-04-06T14:51:30Z")

</div>

GROMACS version: 2023  
GROMACS modification: No

Some context as to why I’m somewhat confused right now :

I was able to perform gmx covar on my device and generate a set of eigenvalues and eigenvectors.

My issue comes later when I perform anaeig. I’m using a certain tutorial, and for some reason, the following scripts are giving me segmentation errors (11 on mac, core dumped on linux)

Tutorial I’m following:  
[http://www3.mpibpc.mpg.de/groups/de\_groot/compbio/p4/index.html](http://www3.mpibpc.mpg.de/groups/de_groot/compbio/p4/index.html)

Anaeig script:  
gmx anaeig -s ref.pdb -f md1\_backbone.xtc -proj -first 1 -last 6

I guess I’m just confused and frustrated as to how my system is able to do the PCA calculations yet anaeig is messing with me. Any feedback would be much appreciated, thanks.

---

<div class="post-metadata">

**Author:** ![al42and](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/al42and/32/1393_2.png) [@al42and](https://gromacs.bioexcel.eu/u/al42and)\
**Post date:** [April 6, 2023, 5:20pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault-using-covar/6127/2 "2023-04-06T17:20:38Z")

</div>

Hi!

This is a bug in GROMACS 2023. You can use GROMACS 2022.5 instead or use the workaround described here: [Gromacs 2023: Segmentation fault with gmx anaeig (but no problem with Gromacs 2022.4) - #4 by al42and](https://gromacs.bioexcel.eu/t/gromacs-2023-segmentation-fault-with-gmx-anaeig-but-no-problem-with-gromacs-2022-4/6062/4).

The bug will be fixed in GROMACS 2023.1, to be released by the end of April.

---

<div class="post-metadata">

**Author:** ![cnc89](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cnc89](https://gromacs.bioexcel.eu/u/cnc89)\
**Post date:** [April 21, 2023, 8:06am UTC](https://gromacs.bioexcel.eu/t/segmentation-fault-using-covar/6127/3 "2023-04-21T08:06:31Z")

</div>

Hi! Apologies for the quite late response. I just did want to say Thank You! I’ll be adjusting with the work around.
