Dear friends:<br />Running several simulations, we have found a problem with the 'g_traj' utility. It doesn't finish properly the files it generates, and gives a segmentation fault. This is what we have done:<br /><br />We are working with double precision. With the file .mdp that is at the end of the mail, we have used 'grompp_d' to generate the .tpr file:<br /><br />grompp_d -maxwarn 1000 -f temp_prueba_mail-list_001_mdpmdp -c ../data/in/pep_ini.gro -r ../data/in/pep_ini.gro -p ../data/in/pep.top -o temp_prueba_mail-list_001_tpr.tpr<br /><br />After that, we ran the simulation with 'mdrun_d':<br /><br />mdrun_d -s temp_prueba_mail-list_001_tpr.tpr -o temp_prueba_mail-list_001_trr.trr -c ../data/out/gro_unconstr_1.00_000001.gro -g ../data/out/log_unconstr_1.00_000001.log -e temp_prueba_mail-list_001_edr.edr<br /><br />Then we tried to get the coordinates of the atoms with 'g_traj_d':<br /><br />g_traj_d -f temp_prueba_mail-list_001_trr.trr -s temp_prueba_mail-list_001_tpr.tpr -ox temp_prueba_mail-list_001_ox.xvg<br /><br />At the terminal, we tell the program to get the coordinates from the group 0 (system), although the error appears also for other groups.<br /><br />Here is where the problem appears. When the program is about to finish, it makes segmentation fault and ends abruptly. The .xvg file has only some of the last lines missing, but those are the lines we are interested in. We have tried different ways: we have used different number of steps, we have get velocities and forces instead of coordinates... and always the same problem appears.<br /><br />We would be very thankful if someone could tell us what is going wrong.<br /><br />Best wishes,<br />Jorge Alberto Jover Galtier<br />Universidad de Zaragoza, Spain<br /><br />-----------------------<br /><br />; VARIOUS PREPROCESSING OPTIONS<br />title                    = Yo<br />cpp                      = /usr/bin/cpp<br />include                  = <br />define                   = <br /><br />; RUN CONTROL PARAMETERS<br />integrator               = md<br />; Start time and timestep in ps<br />tinit                    = 0<br />dt = 0.001000<br />nsteps                   = 100000<br />; For exact run continuation or redoing part of a run<br />init_step                = 0<br />; mode for center of mass motion removal<br />comm-mode                = none<br />; number of steps for center of mass motion removal<br />nstcomm                  = 1<br />; group(s) for center of mass motion removal<br />comm-grps                = <br /><br />; OUTPUT CONTROL OPTIONS<br />; Output frequency for coords (x), velocities (v) and forces (f)<br />nstxout                  = 1<br />nstvout                  = 1<br />nstfout                  = 1<br />; Checkpointing helps you continue after crashes<br />nstcheckpoint            = 1000<br />; Output frequency for energies to log file and energy file<br />nstlog                   = 1000<br />nstenergy                = 1<br />nstcalcenergy         = 1<br />; Output frequency and precision for xtc file<br />nstxtcout                = 50<br />xtc-precision            = 1000<br />; This selects the subset of atoms for the xtc file. You can<br />; select multiple groups. By default all atoms will be written.<br />xtc-grps                 = <br />; Selection of energy groups<br />energygrps               = <br /><br />; NEIGHBORSEARCHING PARAMETERS<br />; nblist update frequency<br />nstlist                  = -1<br />; ns algorithm (simple or grid)<br />ns_type                  = grid<br />; Periodic boundary conditions: xyz (default), no (vacuum)<br />; or full (infinite systems only)<br />pbc                      = no<br />; nblist cut-off        <br />rlist                    = 20<br />domain-decomposition     = no<br /><br />; OPTIONS FOR ELECTROSTATICS AND VDW<br />; Method for doing electrostatics<br />coulombtype              = Reaction-Field-zero<br />rcoulomb-switch          = 0<br />rcoulomb                 = 4<br />; Dielectric constant (DC) for cut-off or DC of reaction field<br />epsilon-r                = 1<br />epsilon-rf         = 0<br />; Method for doing Van der Waals<br />vdw-type                 = Shift<br />; cut-off lengths       <br />rvdw-switch              = 0<br />rvdw                     = 4<br />; Apply long range dispersion corrections for Energy and Pressure<br />DispCorr                 = no<br />; Extension of the potential lookup tables beyond the cut-off<br />table-extension          = 1<br /><br />; IMPLICIT SOLVENT (for use with Generalized Born electrostatics)<br />implicit_solvent         = No<br /><br />; OPTIONS FOR WEAK COUPLING ALGORITHMS<br />; Temperature coupling  <br />Tcoupl                   = no<br />; Groups to couple separately<br />tc-grps                  = System<br />; Time constant (ps) and reference temperature (K)<br />tau_t                    = 0.1<br />ref_t                    = 300<br />; Pressure coupling     <br />Pcoupl                   = no<br />Pcoupltype               = isotropic<br />; Time constant (ps), compressibility (1/bar) and reference P (bar)<br />tau_p                    = 1.0<br />compressibility          = 4.5e-5<br />ref_p                    = 1.0<br />; Random seed for Andersen thermostat<br />andersen_seed            = 815131<br /><br />; GENERATE VELOCITIES FOR STARTUP RUN<br />gen_vel                  = yes<br />gen_temp                 = 300<br />gen_seed = 556380<br /><br />; OPTIONS FOR BONDS    <br />constraints = none<br />; Type of constraint algorithm<br />constraint-algorithm = Shake<br />; Do not constrain the start configuration<br />unconstrained-start      = yes<br />; Use successive overrelaxation to reduce the number of shake iterations<br />Shake-SOR                = no<br />; Relative tolerance of shake<br />shake-tol = 1e-5<br />; Highest order in the expansion of the constraint coupling matrix<br />lincs-order              = 4<br />; Number of iterations in the final step of LINCS. 1 is fine for<br />; normal simulations, but use 2 to conserve energy in NVE runs.<br />; For energy minimization with constraints it should be 4 to 8.<br />lincs-iter               = 1<br />; Lincs will write a warning to the stderr if in one step a bond<br />; rotates over more degrees than<br />lincs-warnangle          = 30<br />; Convert harmonic bonds to morse potentials<br />morse                    = no<br /><br />; ENERGY GROUP EXCLUSIONS<br />; Pairs of energy groups for which all non-bonded interactions are excluded<br />energygrp_excl           = <br /><br /><br />