Skip to content
/ gromacs Public
forked from gromacs/gromacs

Public/backup repository of the GROMACS molecular simulation toolkit. Please do not mine the metadata blindly; we use https://gitlab.com/gromacs/gromacs for code review and issue tracking.

License

Notifications You must be signed in to change notification settings

clinfo/gromacs

 
 

Repository files navigation

How to compile the hypersound-perturbed MD program. 

(i): Type “git clone https://github.com/clinfo/gromacs.git“ and change to “gromacs”.

(ii): Type “git checkout hypersound”.

(iii): Following three files (“md.c”, “repl_ex.c”, and “repl_ex.h”) have been modified to model hypersound shock waves irradiated to solvent molecules. Prior to compilation, you have to change the "N", "vmax", and "Tint" parameters, which are defined in Fig. 1A, and "the starting atom number for solvent atoms" and "the side length of a cubic box" appropriate for your simulation system.

<src/kernel/md.c>
line2072, 2073: setting of the N value

< src/kernel/repl_ex.c>
line1401: setting of the starting atom number for solvent atoms [corresponding to “6549” in case of Ref.gro (CDK2-CS3 system)]
line1402: setting of the side length of a cubic box (nm) [corresponding to “8.4” in case of Ref.gro (CDK2-CS3 system)]
line1423: setting of time intervals between shock wave generation (Tint)
line1469, 1480, 1492, 1503, 1515, 1527: setting of the maximum velocity (vmax)

< src/kernel/repl_ex.h>

(iv): Make a separate build directory (e.g. build_test), and change to it.

(v): Run “cmake” with the path to the source as an argument.
(e.g. cmake .. -DCMAKE_INSTALL_PREFIX=/home/apps/gromacs-4.6.5 -DGMX_MPI=OFF -DGMX_GPU=ON -DGMX_BUILD_OWN_FFTW=on -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.0)

(vi): Change to “build_test/src/kernel” and type "make mdrun".

(vii): You will see a binary file of “mdrun”, which can be used for the hypersound-perturbed MD simulation.
### Ref.gro ###
Protein in water
60120
    1MET      N    1   5.928   4.496   6.659
    1MET     H1    2   5.927   4.588   6.702
    1MET     H2    3   5.984   4.437   6.719
    1MET     H3    4   5.975   4.505   6.570
…

  298LEU   HD21 4843   3.236   4.247   5.860
  298LEU   HD22 4844   3.325   4.144   5.976
  298LEU   HD23 4845   3.169   4.092   5.911
  298LEU      C 4846   3.092   3.944   6.311
  298LEU    OC1 4847   3.196   3.886   6.348
  298LEU    OC2 4848   2.988   3.945   6.380
  299LIG    CAI 4849   2.955   2.867   5.210
  299LIG    CAJ 4850   3.036   2.757   5.272
  299LIG    CAT 4851   2.985   2.869   5.357
  299LIG    CAS 4852   2.882   2.838   5.457
  299LIG    CAH 4853   2.778   2.753   5.439
…
348LIG    HAG 6545   5.047   5.729   1.508
  348LIG    HAE 6546   4.851   5.604   1.574
  348LIG   HAA1 6547   4.604   5.243   1.420
  348LIG   HAA2 6548   4.702   5.291   1.284
  349SOL     OW 6549   0.579   1.302   1.205
  349SOL    HW1 6550   0.497   1.301   1.156
  349SOL    HW2 6551   0.590   1.394   1.231
  350SOL     OW 6552   1.585   1.512   0.709
…
18277CL      CL60117   7.781   4.706   5.494
18278CL      CL60118   8.037   6.695   7.848
18279CL      CL60119   8.326   7.422   6.107
18280CL      CL60120   0.059   7.912   7.476
   8.43544   8.43544   8.43544

#######################################################################################################
The following is the original GROMSCS README.
#######################################################################################################

               Welcome to the official version of GROMACS!

If you are familiar with Unix, it should be fairly trivial to compile and
install GROMACS. GROMACS uses only the CMake build sytem, and our
installation guide can be found at
http://www.gromacs.org/Documentation/Installation_Instructions.

Of course we will do our utmost to help you with any problems, but PLEASE 
READ THE INSTALLATION INSTRUCTIONS BEFORE CONTACTING US!

There are also several other online resources available from the homepage, 
and special information for developers.

If you are a developer, or change the source for any other reason, check
out http://www.gromacs.org/Developer_Zone.

                               * * * * *

GROMACS is free software, distributed under the GNU Lesser General
Public License, version 2.1 However, scientific software is a little
special compared to most other programs. Both you, we, and all other
GROMACS users depend on the quality of the code, and when we find bugs
(every piece of software has them) it is crucial that we can correct
it and say that it was fixed in version X of the file or package
release. For the same reason, it is important that you can reproduce
other people's result from a certain GROMACS version.

The easiest way to avoid this kind of problems is to get your modifications
included in the main distribution. We'll be happy to consider any decent 
code. If it's a separate program it can probably be included in the contrib 
directory straight away (not supported by us), but for major changes in the 
main code we appreciate if you first test that it works with (and without) 
MPI, threads, double precision, etc.

If you still want to distribute a modified version or use part of GROMACS
in your own program, remember that the entire project must be licensed
according to the requirements of the LGPL v2.1 license under which you
received this copy of GROMACS. We request that it must clearly be labeled as
derived work. It should not use the name "official GROMACS", and make
sure support questions are directed to you instead of the GROMACS developers.
Sorry for the hard wording, but it is meant to protect YOUR reseach results!

                               * * * * *

The development of GROMACS is mainly funded by academic research grants. 
To help us fund development, we humbly ask that you cite the GROMACS papers:

* GROMACS: A message-passing parallel molecular dynamics implementation
  H.J.C. Berendsen, D. van der Spoel and R. van Drunen
  Comp. Phys. Comm. 91, 43-56 (1995)
  DOI: 10.1016/0010-4655(95)00042-E
 
* GROMACS 4: Algorithms for highly efficient, load-balanced, and scalable
  molecular simulation
  B. Hess and C. Kutzner and D. van der Spoel and E. Lindahl
  J. Chem. Theory Comput. 4 (2008) pp. 435-447
  DOI: 10.1021/ct700301q

* GROMACS 4.5: a high-throughput and highly parallel open source
  molecular simulation toolkit
  Sander Pronk, Szilárd Páll, Roland Schulz, Per Larsson, Pär Bjelkmar,
  Rossen Apostolov, Michael R. Shirts, Jeremy C. Smith, Peter M. Kasson,
  David van der Spoel, Berk Hess, Erik Lindahl.
  Bioinformatics 29 (2013) pp. 845-54
  DOI: 10.1093/bioinformatics/btt055

There are a lot of cool features we'd like to include in future versions,
but our resources are limited. All kinds of donations are welcome, both in 
form of code, hardware and funding! Industrial users who choose to pay
for a license pro bono (it is still LGPL and can be redistributed freely) or
contribute in other ways are listed as GROMACS supporters on our webpages. 
Don't hesitate to contact us at [email protected] if you are interested.


                       Good luck with your simulations!

                              The GROMACS Crew

About

Public/backup repository of the GROMACS molecular simulation toolkit. Please do not mine the metadata blindly; we use https://gitlab.com/gromacs/gromacs for code review and issue tracking.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 96.9%
  • HTML 1.2%
  • CMake 0.4%
  • Python 0.3%
  • Objective-C 0.3%
  • C++ 0.3%
  • Other 0.6%