makson96 / Dynamics

Dynamics PyMOL Plugin
GNU General Public License v3.0
40 stars 16 forks source link

Plugin crashes with GROMACS with MPI #97

Open makson96 opened 6 years ago

makson96 commented 6 years ago

When GROMACS with MPI is in use, plugin doe not start and following error is returned:

Detected OpenGL version 2.0 or greater. Shaders available.
Detected GLSL version 4.50.
OpenGL graphics engine:
  GL_VENDOR:   NVIDIA Corporation
  GL_RENDERER: GeForce GT 630/PCIe/SSE2
  GL_VERSION:  4.5.0 NVIDIA 375.82
Detected 16 CPU cores.  Enabled multithreaded rendering.
Searching for GROMACS installation
Running command: gmx_mpi_d -version; STDIN: None; STDOUT: test_gromacs.txt
Found GROMACS VERSION 5.0.7
Reading available force fields and water models
Running command: gmx_mpi_d pdb2gmx -f test_gromacs.pdb -o test_gromacs.gro -p test_gromacs.top; STDIN: gromacs_stdin.txt; STDOUT: test_gromacs.txt
<type 'exceptions.IndexError'> Exception in Tk callback
  Function: <function <lambda> at 0x7faee124cb90> (type: <type 'function'>)
  Args: ()
Traceback (innermost last):
  File "/usr/lib/python2.7/dist-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__
    return apply(self.func, args)
  File "/usr/lib/python2.7/dist-packages/pmg_tk/startup/pymol_plugin_dynamics.py", line 867, in <lambda>
    command = lambda: init_function(parent=self.root))
  File "/usr/lib/python2.7/dist-packages/pmg_tk/startup/pymol_plugin_dynamics.py", line 1080, in init_function
    gromacs = Gromacs_output()
  File "/usr/lib/python2.7/dist-packages/pmg_tk/startup/pymol_plugin_dynamics.py", line 79, in __init__
    self.init2()
  File "/usr/lib/python2.7/dist-packages/pmg_tk/startup/pymol_plugin_dynamics.py", line 105, in init2
    while lista_gromacs[force_start_line] != "Select the Force Field:\n":
<type 'exceptions.IndexError'>: list index out of range

test_gromacs.txt looks like:

GROMACS:    gmx pdb2gmx, VERSION 5.0.7 (double precision)

GROMACS is written by:
Emile Apol         Rossen Apostolov   Herman J.C. Berendsen Par Bjelkmar       
Aldert van Buuren  Rudi van Drunen    Anton Feenstra     Sebastian Fritsch  
Gerrit Groenhof    Christoph Junghans Peter Kasson       Carsten Kutzner    
Per Larsson        Justin A. Lemkul   Magnus Lundborg    Pieter Meulenhoff  
Erik Marklund      Teemu Murtola      Szilard Pall       Sander Pronk       
Roland Schulz      Alexey Shvetsov    Michael Shirts     Alfons Sijbers     
Peter Tieleman     Christian Wennberg Maarten Wolf       
and the project leaders:
Mark Abraham, Berk Hess, Erik Lindahl, and David van der Spoel

Copyright (c) 1991-2000, University of Groningen, The Netherlands.
Copyright (c) 2001-2014, The GROMACS development team at
Uppsala University, Stockholm University and
the Royal Institute of Technology, Sweden.
check out http://www.gromacs.org for more information.

GROMACS is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either version 2.1
of the License, or (at your option) any later version.

GROMACS:      gmx pdb2gmx, VERSION 5.0.7 (double precision)
Executable:   /usr/local/gromacs/bin/gmx_mpi_d
Library dir:  /usr/local/gromacs/share/gromacs/top
Command line:
  gmx_mpi_d pdb2gmx -f test_gromacs.pdb -o test_gromacs.gro -p test_gromacs.top

Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/watermodels.dat
 1: TIP3P     TIP 3-point, recommended
 2: TIP4P     TIP 4-point
 3: TIP4P-Ew  TIP 4-point optimized with Ewald
 4: TIP5P     TIP 5-point (see http://redmine.gromacs.org/issues/1348 for issues)
 5: SPC       simple point charge
 6: SPC/E     extended simple point charge
 7: None
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/aminoacids.r2b
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/dna.r2b
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/rna.r2b
All occupancies are one
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/atomtypes.atp

Atomtype 1
Atomtype 2
Atomtype 3
Atomtype 4
Atomtype 5
Atomtype 6
Atomtype 7
Atomtype 8
Atomtype 9
Atomtype 10
Atomtype 11
Atomtype 12
Atomtype 13
Atomtype 14
Atomtype 15
Atomtype 16
Atomtype 17
Atomtype 18
Atomtype 19
Atomtype 20
Atomtype 21
Atomtype 22
Atomtype 23
Atomtype 24
Atomtype 25
Atomtype 26
Atomtype 27
Atomtype 28
Atomtype 29
Atomtype 30
Atomtype 31
Atomtype 32
Atomtype 33
Atomtype 34
Atomtype 35
Atomtype 36
Atomtype 37
Atomtype 38
Atomtype 39
Atomtype 40
Atomtype 41
Atomtype 42
Atomtype 43
Atomtype 44
Atomtype 45
Atomtype 46
Atomtype 47
Atomtype 48
Atomtype 49
Atomtype 50
Atomtype 51
Atomtype 52
Atomtype 53
Atomtype 54
Atomtype 55
Atomtype 56
Atomtype 57
Atomtype 58
Atomtype 59
Atomtype 60
Atomtype 61
Atomtype 62
Atomtype 63
Atomtype 64
Atomtype 65
Atomtype 66
Atomtype 67
Atomtype 68
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/aminoacids.rtp

Residue 1
Residue 2
Residue 3
Residue 4
Residue 5
Residue 6
Residue 7
Residue 8
Residue 9
Residue 10
Residue 11
Residue 12
Residue 13
Residue 14
Residue 15
Residue 16
Residue 17
Residue 18
Residue 19
Residue 20
Residue 21
Residue 22
Residue 23
Residue 24
Residue 25
Residue 26
Residue 27
Residue 28
Residue 29
Residue 30
Residue 31
Residue 32
Residue 33
Residue 34
Residue 35
Residue 36
Residue 37
Residue 38
Residue 39
Residue 40
Residue 41
Residue 42
Residue 43
Residue 44
Residue 45
Residue 46
Residue 47
Residue 48
Residue 49
Residue 50
Residue 51
Residue 52
Residue 53
Residue 54
Residue 55
Residue 56
Residue 57
Residue 58
Residue 59
Residue 60
Residue 61
Residue 62
Residue 63
Residue 64
Residue 65
Residue 66
Residue 67
Residue 68
Residue 69
Residue 70
Residue 71
Residue 72
Residue 73
Residue 74
Residue 75
Residue 76
Residue 77
Residue 78
Residue 79
Residue 80
Residue 81
Residue 82
Residue 83
Residue 84
Residue 85
Residue 86
Residue 87
Residue 88
Residue 89
Residue 90
Residue 91
Residue 92
Residue 93
Sorting it all out...
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/dna.rtp

Residue 94
Residue 95
Residue 96
Residue 97
Residue 98
Residue 99
Residue 100
Residue 101
Residue 102
Residue 103
Residue 104
Residue 105
Residue 106
Residue 107
Residue 108
Residue 109
Sorting it all out...
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/rna.rtp

Residue 110
Residue 111
Residue 112
Residue 113
Residue 114
Residue 115
Residue 116
Residue 117
Residue 118
Residue 119
Residue 120
Residue 121
Residue 122
Residue 123
Residue 124
Residue 125
Sorting it all out...
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/aminoacids.hdb
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/dna.hdb
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/rna.hdb
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/aminoacids.n.tdb
Opening force field file /usr/local/gromacs/share/gromacs/top/amber03.ff/aminoacids.c.tdb

Back Off! I just backed up test_gromacs.top to ./#test_gromacs.top.1#
8 out of 8 lines of specbond.dat converted successfully

-------------------------------------------------------
Program gmx_mpi_d, VERSION 5.0.7
Source code file: /opt/gromacs-5.0.7/src/gromacs/gmxpreprocess/pdb2gmx.c, line: 317

Fatal error:
In the chosen force field there is no residue type for 'LYS' as a standalone (starting & ending) residue
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
-------------------------------------------------------

Halting program gmx_mpi_d

gcq#288: "The Candlelight Was Just Right" (Beastie Boys)

--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode -1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

The error is conncted to MPI output at the end of the log. Both plugin version 2.2 and currect master are affected.