level 9
林锐界cW
楼主
官网发福利辣!
Pre-built Ubuntu Linux executables
A pre-built LAMMPS executable suitable for running on the latest Ubuntu Linux versions, can be downloaded as a Debian package. This allows you to install LAMMPS with a single command, and stay up-to-date with the current version of LAMMPS by simply updating your operating system.
To install the appropriate personal-package archive (PPA), do the following once:
sudo add-apt-repository ppa:gladky-anton/lammps sudo apt-get update
To install LAMMPS do the following once:
sudo apt-get install lammps-daily
This downloads an executable named "lammps-daily" to your box, which can then be used in the usual way to run input scripts:
lammps-daily < in.lj
To update LAMMPS to the most current version, do the following:
sudo apt-get update
which will also update other packages on your system.
To get a copy of the current documentation and examples:
sudo apt-get install lammps-daily-doc
which will download the doc files in /usr/share/doc/lammps-daily-doc/doc and example problems in /usr/share/doc/lammps-doc/examples.
Note that you may still wish to download the tarball to get potential files and auxiliary tools.
To un-install LAMMPS, do the following:
sudo apt-get remove lammps-daily
Note that the lammps-daily executable is built with the following sequence of make commands, as if you had done the same with the unpacked tarball files in the src directory:
make yes-all; make no-lib; make openmpi
Thus it builds with FFTW3 and OpenMPI.
Thanks to Anton Gladky (gladky.anton at gmail.com) for setting up this Ubuntu package capability.
2017年09月21日 19点09分
1
Pre-built Ubuntu Linux executables
A pre-built LAMMPS executable suitable for running on the latest Ubuntu Linux versions, can be downloaded as a Debian package. This allows you to install LAMMPS with a single command, and stay up-to-date with the current version of LAMMPS by simply updating your operating system.
To install the appropriate personal-package archive (PPA), do the following once:
sudo add-apt-repository ppa:gladky-anton/lammps sudo apt-get update
To install LAMMPS do the following once:
sudo apt-get install lammps-daily
This downloads an executable named "lammps-daily" to your box, which can then be used in the usual way to run input scripts:
lammps-daily < in.lj
To update LAMMPS to the most current version, do the following:
sudo apt-get update
which will also update other packages on your system.
To get a copy of the current documentation and examples:
sudo apt-get install lammps-daily-doc
which will download the doc files in /usr/share/doc/lammps-daily-doc/doc and example problems in /usr/share/doc/lammps-doc/examples.
Note that you may still wish to download the tarball to get potential files and auxiliary tools.
To un-install LAMMPS, do the following:
sudo apt-get remove lammps-daily
Note that the lammps-daily executable is built with the following sequence of make commands, as if you had done the same with the unpacked tarball files in the src directory:
make yes-all; make no-lib; make openmpi
Thus it builds with FFTW3 and OpenMPI.
Thanks to Anton Gladky (gladky.anton at gmail.com) for setting up this Ubuntu package capability.