CPMD-3.13.1 Car-Parrinello Molecular DynamicsAs the CPMD mailing list shows, compiling CPMD often is a hurdle. That can be avoided:Here we describe a simple installation of CPMD on a single CPU 32-bit machine. It can be a Windows or a Linux box. We insert a Knoppix live DVD and restart the machine. In two minutes we get a running Linux system offering all the necessary programs and libraries to compile and run CPMD as explained below. This has been tested with KNOPPIX-5.3 live DVDs.
Run a few more of the test files. The other three *.inp files from /properties only take a few minutes and then you can produce all the instructive visualizations of orbitals and (charge-)densities shown in that file, using the visualizing manual of Axel Kohlmeyer. With many other input files in the test suite you will find that you really need a 64-bit computer and preferably a (huge) cluster of those to start seriously with CPMD! This setup of CPMD is practical for educational purposes, familiarizing yourself with input and learning to understand output. Then look into the Fine Manual and start a few (smaller) jobs of your own. Study the excellent tutorial of Kohlmeyer and that of Marx and Hutter or Hutter's lecture notes. Before closing Knoppix down, make sure to copy cpmd.x to an external device, e.g. an USB-stick. Otherwise you lose your work! Notice: Compiling on these live-CD(DVD)s is ideal, because compiler, linker, libraries, username etc. are all given. Of course, you can copy the compilate cpmd.x to other Linux installations. Make sure to also copy the following three libraries: /usr/lib/libgfortran.so.2, /usr/lib/atlas/liblapack.so.3, and /usr/lib/atlas/libblas.so.3. If you copy the libraries into the same directories (as root) as here, no problems. You can also copy them into ~/CPMD-3.13.1 and then start cpmd.x with a small script cpmdloc.sh adding the correct library path: Type ./cpmdloc.sh inputfile > outputfile to run a CPMD job. Another benefit from this CPMD installation: After termination of your live Linux there is no trace left of your CPMD escapades and you can startup your computer with the old, boring, programs! Acknowledgment: I thank Axel Kohlmeyer for tips.
Return to main page of Qantumchemistry. |