<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Dear Gromax developers,<br>
<br>
First of all, I would like to indicate that I'm a new user of
Gromacs, therefore some of my comments/questions may be basics.
Furthermore, it seems that I'm not using the right method to do what
is explained below, if you could indicate me a better technique to
realize this it would greatly help me.<br>
 <br>
<br>
Running the gmx solvant program, I detected a bug related to the
input. When using a basic pdb file for water containing only the
coordinates of the atoms,<br>
<br>
MODELÂ Â Â Â 1<br>
ATOMÂ Â Â Â Â 0Â Â Â O MOLÂ Â Â Â 1Â Â Â Â Â Â 0.000Â Â 0.000Â Â 0.119Â 1.00Â
0.00Â Â Â Â Â Â Â Â Â Â OÂ <br>
ATOMÂ Â Â Â Â 1Â Â Â H MOLÂ Â Â Â 1Â Â Â Â Â Â 0.000Â Â 0.763Â -0.477Â 1.00Â
0.00Â Â Â Â Â Â Â Â Â Â HÂ <br>
ATOMÂ Â Â Â Â 2Â Â Â H MOLÂ Â Â Â 1Â Â Â Â Â Â 0.000Â -0.763Â -0.477Â 1.00Â
0.00Â Â Â Â Â Â Â Â Â Â HÂ <br>
ENDMDL<br>
<br>
Then the program was stuck in a while loop, because the box in
solvate.cpp was null.<br>
<br>
<br>
In more details, I'm trying to do the tutorial present in this page<br>
<a moz-do-not-send="true"
href="http://www.gromacs.org/@api/deki/files/198/=gmx-tutorial.pdf">http://www.gromacs.org/@api/deki/files/198/=gmx-tutorial.pdf</a><br>
<br>
You can download the input files with the following link<br>
<a moz-do-not-send="true"
href="https://mbarbry.website.fr.to/nextcloud/index.php/s/Wts5ejbyp76ymDp">https://mbarbry.website.fr.to/nextcloud/index.php/s/Wts5ejbyp76ymDp</a><br>
<br>
Thus I have a Lysozyme protein, and I want to add a solvent around
it, therefore I used the command.<br>
<br>
    gmx solvate -cs H2O-nocell.pdb -cp centered.gro -p topol.top
-o solvated.gro<br>
<br>
Where H2O-nocell.pdb is the file described above.<br>
In this case the program get stuck in the while loop line ~250 of
solvant.cpp because box[d][d] = 0.0. Obviously, a check of the box
is missing here in order to avoid such kind of issue, which are
difficult to debug.<br>
<br>
Second problem, I then added a cell to the H2O.pdb file,<br>
<br>
MODELÂ Â Â Â 1<br>
CRYST1Â Â Â Â Â 8.0Â Â 10.0Â Â 8.0Â 90.00Â 90.00Â 90.00<br>
ORIGX1Â Â Â Â Â 1.000000Â Â 0.000000Â 0.000000Â Â Â Â Â Â Â 0.00000Â Â Â Â Â Â Â Â Â Â Â
<br>
ORIGX2Â Â Â Â Â 0.000000Â Â 1.000000Â 0.000000Â Â Â Â Â Â Â 0.00000Â Â Â Â Â Â Â Â Â Â Â
<br>
ORIGX3Â Â Â Â Â 0.000000Â Â 0.000000Â 1.000000Â Â Â Â Â Â Â 0.00000<br>
ATOMÂ Â Â Â Â 0Â Â Â O MOLÂ Â Â Â 1Â Â Â Â Â Â 0.000Â Â 0.000Â Â 0.119Â 1.00Â
0.00Â Â Â Â Â Â Â Â Â Â OÂ <br>
ATOMÂ Â Â Â Â 1Â Â Â H MOLÂ Â Â Â 1Â Â Â Â Â Â 0.000Â Â 0.763Â -0.477Â 1.00Â
0.00Â Â Â Â Â Â Â Â Â Â HÂ <br>
ATOMÂ Â Â Â Â 2Â Â Â H MOLÂ Â Â Â 1Â Â Â Â Â Â 0.000Â -0.763Â -0.477Â 1.00Â
0.00Â Â Â Â Â Â Â Â Â Â HÂ <br>
ENDMDL<br>
<br>
<br>
The program goes a bit further but then return a memory error<br>
<br>
Removed 0 solvent atoms due to solvent-solvent overlap<br>
Removed 120 solvent atoms due to solute-solvent overlap<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
0x00007ffff7027dd7 in
gmx::internal::AnalysisNeighborhoodSearchImpl::~AnalysisNeighborhoodSearchImpl()<br>
   () from /home/marc/.local/gromacs/lib/libgromacs.so.3<br>
(gdb) quit<br>
<br>
<br>
I guess my input file is not correctly constructed, I'm a newbie
with pdb files and MD in general. Do you know a good way to generate
pdb file? At the moment I use <a moz-do-not-send="true"
href="http://avogadro.cc/">Avogadro</a> and <a
moz-do-not-send="true"
href="https://wiki.fysik.dtu.dk/ase/index.html">ASE</a>, but
obviously they were not think to be use with Gromacs.<br>
<br>
Thanks for your helps,<br>
<br>
Best regards,<br>
Marc Barbry<br>
</body>
</html>