How to Install the Verlet Molecular Dynamics Code |
|---|
| I am offering the source code as a tarball that you may download from the link below. |
|
|
|---|
|
| I have successfully compiled these sources on a 3.06 GHz Xeon system running Red Hat Linux 7.3 using the gcc 3.2 compiler and on a Sun Blade 2000 workstation with a single 1.2 GHz Ultra Sparc III processor running Solaris 8 using gcc 2.7. I have thoroughly tested the code on both these platforms, and it appears to produce reasonable results. I have also successfully compiled these sources on a 1.66 GHz Athlon XP system running Debian Linux 3.0 using the gcc 3.1 compiler, although I have not analyzed the output of the code on this system, but it appears to run fine. If you have Linux or Solaris and a recent version of gcc, you should in principle be able to compile and run these sources, but I offer no guarantees. If you have Cygwin and gcc, you may be able to compile the code on Windows, but I have not tried this and I have no idea if it will work. |
|
Installation Instructions |
| 1) Download the tarball from the link above and place it in the directory where you would like to install Verlet. |
| 2) Go to the directory where you want to install Verlet and untar the tarball by typing "tar -zxvf Verlet.tar.Z" at the command line. |
| 3) A directory named "Verlet" should have been created in the directory with the tarball. Go to this directory by typing "cd Verlet" at the command line. |
| 4) In the Verlet directory you should see a script named "install.csh". Although it has the .csh extension, it should work in bash as well as csh and tcsh. Run this script by typing "source install.csh" at the command line. This script executes make and compiles the sources. The compiler will issue many warnings about deprecated headers. You can just ignore the warnings. |
| 5) If you see a file in the Verlet directory named "Verlet.exe", then the sources compiled successfully, and you are ready to run the code. Click here to look at an example for how to run the code.
|