Giter Club home page Giter Club logo

samuelmurail / gromacs_py Goto Github PK

View Code? Open in Web Editor NEW
38.0 38.0 14.0 86.67 MB

Gromacs_py is a python library allowing a simplified use of the gromacs MD simulation software. Gromacs_py can build topologie based on a pdb file, create the simulation system (box, add water and ions) and run minimisation, equilibration and production run.

Home Page: https://gromacs-py.readthedocs.io/en/latest

License: GNU General Public License v2.0

Python 99.44% Makefile 0.54% Shell 0.01%

gromacs_py's People

Contributors

henryiii avatar maxence92 avatar pyup-bot avatar samuelmurail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gromacs_py's Issues

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

program not found !! when importing gmx

I have installed gromacs_py (using pip because conda installation could not work) on an anaconda python 3.8 environment and I get: program not found !! when trying from gromacs_py import gmx.

program not found !! Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/anaconda3/lib/python3.8/site-packages/gromacs_py/gmx/__init__.py", line 11, in <module> from .topsys import TopSys File "/opt/anaconda3/lib/python3.8/site-packages/gromacs_py/gmx/topsys.py", line 38, in <module> GMX_BIN = os_command.which('gmx') File "/opt/anaconda3/lib/python3.8/site-packages/os_command_py/os_command.py", line 56, in which raise IOError("program not found :", program_list) OSError: [Errno program not found :] ('gmx',)

Unknown OpenCL error: -9999

I got error while running "md_sys.em_2_steps(out_folder=em_folder,
no_constr_nsteps=em_step_number,
constr_nsteps=em_step_number,
posres="",
create_box_flag=False,
emtol=0.1, nstxout=100)"

Error is "Internal error (bug):
Failed to compile NBNXN kernels for GPU #NVIDIA A100-SXM4-40GB
Could not build OpenCL program, error was Unknown OpenCL error: -9999

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors"

I am using Nvidia DGX A100 GPU.

pytest progress show ValueError

ERROR gromacs_py/test/test_FreeEner.py - ValueError: could not convert string to float: '5.1.5'
ERROR gromacs_py/test/test_FreeEner.py - ValueError: could not convert string to float: '5.1.5'
ERROR gromacs_py/test/test_GmxSys.py - ValueError: could not convert string to float: '5.1.5'
ERROR gromacs_py/test/test_GmxSys.py - ValueError: could not convert string to float: '5.1.5'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 4 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
=================================================================== 4 errors in 26.01s ===================================================================

improve gmx5.insert_mol_sys() speed

The function gmx5.insert_mol_sys() is extremly slow, due to atom search based on distance.

Need to improve the pdb_manip atom selection based on distance.

pdb_in not declared

Hi,

I started playing with gromacs_py and got the following error:

>>> md_sys.prepare_top(out_folder=os.path.join(DATA_OUT, 'prot_top'), vsite=vsite, ff='amber99sb-ildn')
pdb2pqr_cli --ff AMBER --ffout AMBER --chain --ph-calc-method=propka --with-ph=7.00 tmp_pdb2pqr.pdb 00_1Y0M.pqr
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/almeida/.local/lib/python3.8/site-packages/gromacs_py/gmx.py", line 1997, in prepare_top
    coor_in = pdb_manip.Coor(pdb_in="00_" + name + ".pqr",
TypeError: __init__() got an unexpected keyword argument 'pdb_in'

pdb_in is not declared anywhere.

Any thought?

Thanks in advance,
-Yasser

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.