Pallavi-Banerjee21 / votca

Automatically exported from code.google.com/p/votca
0 stars 0 forks source link

CsgApp: gmx check for correct tpr/trr files #54

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If topol.tpr does not exist,
$csg_dump --top topol.tpr

Segmentation fault

Original issue reported on code.google.com by christop...@gmail.com on 11 Jan 2011 at 8:28

GoogleCodeExporter commented 9 years ago
problem is caused by read_tpx and also occurs when an invalid file is given

Original comment by gh...@students.uni-mainz.de on 11 Jan 2011 at 9:20

GoogleCodeExporter commented 9 years ago
read_tpx does check file exists... This is a strange bug. Just calling
if (!gmx_fexist(fn))
{
                    gmx_open(fn);
}

from our side could be a quick solution...

Original comment by sebastianfritsch1983@gmail.com on 11 Jan 2011 at 10:15

GoogleCodeExporter commented 9 years ago
The segmentation fault will also appear for empty files.

Original comment by christop...@gmail.com on 9 Feb 2011 at 9:06

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 4b3dc5dccc.

Original comment by ruehle%v...@gtempaccount.com on 9 Feb 2011 at 2:59