# Error on trjconv

**URL:** <https://gromacs.bioexcel.eu/t/error-on-trjconv/6216>\
**Category:** User discussions\
**Created:** [April 17, 2023, 12:48pm UTC](https://gromacs.bioexcel.eu/t/error-on-trjconv/6216 "2023-04-17T12:48:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![julia](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@julia](https://gromacs.bioexcel.eu/u/julia)\
**Post date:** [April 17, 2023, 12:48pm UTC](https://gromacs.bioexcel.eu/t/error-on-trjconv/6216/1 "2023-04-17T12:48:49Z")

</div>

GROMACS version: 2020.1  
GROMACS modification: Yes/No

For fixing PBC problem, I used following command:

gmx trjconv -s md.tpr -f md.xtc -o new.gro -pbc mol - center

But I encountered with:

rogram: gmx trjconv, version 2020.1-Ubuntu-2020.1-1  
Source file: src/gromacs/utility/futil.cpp (line 442)

File input/output error:  
new.gro

For more information and tips for troubleshooting, please check the GROMACS  
website at [Common Errors — GROMACS webpage https://www.gromacs.org documentation](http://www.gromacs.org/Documentation/Errors)

How to solve that?

---

<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:** [April 17, 2023, 1:03pm UTC](https://gromacs.bioexcel.eu/t/error-on-trjconv/6216/2 "2023-04-17T13:03:11Z")

</div>

The error means either you do not have permission to write files in the working directory or you are out of disk space.

---

<div class="post-metadata">

**Author:** ![julia](https://avatars.discourse-cdn.com/v4/letter/j/2bfe46/32.png) [@julia](https://gromacs.bioexcel.eu/u/julia)\
**Post date:** [April 17, 2023, 1:16pm UTC](https://gromacs.bioexcel.eu/t/error-on-trjconv/6216/3 "2023-04-17T13:16:59Z")

</div>

Thank you!
