Friday, July 23, 2010

Install the tools of lammps

After installed the lammps, you can also install the tools which can be used to create/convert the data files of lammps

If you have installed Intel fortran (ifort)
1. Go to the fold "......./lammps/tools"
2. $ make

If you have installed gfortran, you should modify the Makefile
1. Go to the fold "......./lammps/tools"
2. Open Makefile, change "ifort" --> to "gfortran"
Notes:using the "Tab" to begin the line of gfortran
3.$ make

If you want to use the tools directly with command, you can add the tools fold to the PATH environment parameter in .bashrc file

No comments:

Post a Comment