# Segmentation fault

**URL:** https://gromacs.bioexcel.eu/t/segmentation-fault/546
**Category:** User discussions
**Created:** [July 21, 2020, 5:20pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546 "2020-07-21T17:20:39Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![idaisha](https://avatars.discourse-cdn.com/v4/letter/i/a5b964/32.png) [@idaisha](https://gromacs.bioexcel.eu/u/idaisha)
#### Post date: [July 21, 2020, 5:20pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/1 "2020-07-21T17:20:39Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question  
Dear All,  
I am new to MD simulation. I was going through tutorial Membrane Protein: KALP15 in DPPC. I got the following error when i run:  
Command line:  
gmx genrestr -f KALP\_newbox.gro -o strong\_posre.itp -fc 100000 100000 100000

Reading structure file  
Select group to position restrain  
Segmentation fault (core dumped)

Who knows how to solve this?

Thank you

Best Regards  
Aisha

---

<div class="post-metadata">

### Author: ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)
#### Post date: [July 21, 2020, 7:42pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/2 "2020-07-21T19:42:05Z")

</div>

Known bug in version 2020 that has been reported many times. The tutorial was written for versions in the 2018 series, which work. Please use a 2018.x version to run the tutorial.

---

<div class="post-metadata">

### Author: ![newbie](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/newbie/32/283_2.png) [@newbie](https://gromacs.bioexcel.eu/u/newbie)
#### Post date: [July 27, 2020, 3:20pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/3 "2020-07-27T15:20:53Z")

</div>

Hi :)  
I’m receiving the same error while using gmx genrestr as well. How did you solve this problem?

---

<div class="post-metadata">

### Author: ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)
#### Post date: [July 27, 2020, 4:08pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/4 "2020-07-27T16:08:41Z")

</div>

Install version 2020.3. The bug has been fixed.

---

<div class="post-metadata">

### Author: ![newbie](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/newbie/32/283_2.png) [@newbie](https://gromacs.bioexcel.eu/u/newbie)
#### Post date: [July 27, 2020, 4:11pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/5 "2020-07-27T16:11:18Z")

</div>

Thank you.

---

<div class="post-metadata">

### Author: ![newbie](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/newbie/32/283_2.png) [@newbie](https://gromacs.bioexcel.eu/u/newbie)
#### Post date: [July 29, 2020, 1:15pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/6 "2020-07-29T13:15:21Z")

</div>

Hi Dr. Lemkul.  
I installed gromacs 2020.3. At first eveything was perfect. Unfortunatly again I faced Segmentation fault while using “gmx genrestr” command.

---

<div class="post-metadata">

### Author: ![jalemkul](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/jalemkul/32/18_2.png) [@jalemkul](https://gromacs.bioexcel.eu/u/jalemkul)
#### Post date: [July 29, 2020, 7:15pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/7 "2020-07-29T19:15:08Z")

</div>

@newbie I see you’ve already opened another issue about this on GitLab. You should make sure to highlight the fact that you are using 2020.3, where the fix was supposedly implemented. Otherwise, like my post, it will get marked as a duplicate and closed…

---

<div class="post-metadata">

### Author: ![Dr\_DBW](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/dr_dbw/32/42_2.png) [@Dr\_DBW](https://gromacs.bioexcel.eu/u/Dr_DBW)
#### Post date: [July 29, 2020, 10:55pm UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/8 "2020-07-29T22:55:43Z")

</div>

Is it listed as being version 2020.3 within the command that you run?

Very easy to run a different version if you have multiples installed.

---

<div class="post-metadata">

### Author: ![pbauer](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/pbauer/32/13_2.png) [@pbauer](https://gromacs.bioexcel.eu/u/pbauer)
#### Post date: [July 30, 2020, 8:45am UTC](https://gromacs.bioexcel.eu/t/segmentation-fault/546/9 "2020-07-30T08:45:18Z")

</div>

Hello,

I just tried reproducing this and commented on the Gitlab issue. It  
really seems that you have not been using 2020.3, because I can’t  
reproduce the segmentation fault with it.

Cheers

Paul
