New online reference manual contains a complete searchable list of MD++ variables and commands.
Click on Documentation and then Input Commands and Variables (by name).

Online tutorials are available at our wiki site. Please read them before using MD++.

Important notice:

The latest MD++ version can interprete Tcl language (see Manual 08) The best way to run old .script files is to compile MD++ with the option TCL=no, which will turn off Tcl. Without this option, MD++ can interprete both .tcl and .script files but the size of the .script file cannot be too large. This bug will be fixed in a future version of MD++.

Cygwin, X11 and TCL together in MD++

Another problem we experienced was that when MD++ is compiled with cygwin, it cannot be used together with TCL, i.e. we had to use option TCL=no. Fortunately, this bug is fixed now and the solution is the following. First, we need to upgrade cygwin according to this link. This will create new files such as libtcl8.4.dll in the /usr/local/lib directory. Second, we need to use the latest MD++ code, i.e. md++-2007-08-28.tar.gz or later. In the new version, we have removed .dll files from the bin directory to be compatible with latest version of cygwin. The src/Makefile.base file is also changed by adding -L/usr/local/lib to TCLLIBS.cygwin. Third, we need to type export PATH=$PATH:/usr/local/lib, or even better to include it in your ~/.bash_profile file under cygwin. Then MD++, TCL, and X should all work in cygwin! You can try it by make sw build=cygwin and run bin/sw_cygwin scripts/Examples/example02a-si-md.script or bin/sw_cygwin scripts/Examples/Tcl/si2.tcl.

We are developing more manuals and examples for MD++.

More examples and tutorial materials are available on the web site of the book Computer Simulations of Dislocations, Chapters 1 to 7.

For now, you can download the tar.gz file and extract it in your ~/Codes directory.
This will create MD++ directory under Codes/

To compile, type e.g.
   cd ~/Codes/MD++
   make fs SYS=gpp build=R

To run, type e.g.
   bin/fs_gpp Examples/example01mo.script

The code can also be compiled on other platforms, such as cygwin,
   make clean
   make fs SYS=cygwin build=R
To install cygwin, see here.

To compile MD++ by Intel compilers, use
   make clean
   make fs SYS=intel build=R

On Mac, use
   make clean
   make fs SYS=mac build=R

Links to parallel MD simulation codes
   LAMMPS
   GROMACS
   NAMD