Pre-compiled versions of LAMMPS available at CAVS.
Author(s): Mark A. Tschopp
This is how you access pre-compiled versions of LAMMPS at CAVS.
lmp_12Oct10 lmp_21May08 lmp_4Jul10 lmp_exe lmp_openmpi lmp_XC lmp_12Oct10-2 lmp_29Jul11 lmp_dxa lmp_fftw3 lmp_SuSE10_verJan2010
The following is an example of running in serial from the command line on UNIX systems where "input_script" is the input script and "lmp_exe" is the LAMMPS executable:
lmp_exe < input_script
To run this on four processors, simply add the following "mpirun" command in front of the script with the number of processors ("-np") equal to 4:
mpirun -np 4 lmp_exe < input_script
Now to run on 192 processors, this script is easily modified (but it runs a whole lot faster for large numbers of atoms):
mpirun -np 192 lmp_exe < input_script
Beware: Large numbers of processors is not always faster. For small systems of atoms, the communication between processors may actually take a significant amount of time, which can cause it to run slower than less processors.