What is the newest version of lammps for install on Mac? (using Homebrew)
Every time I want install it downloads from here:
Downloading http://lammps.sandia.gov/tars/lammps-12Feb14.tar.gz
which is an old version.
Thank you, and look forward your help.
The newest version is probably in the git and svn repositories, see here: http://lammps.sandia.gov/download.html
You might have to tweak the Makefile a bit to get it to compile.
Alternatively, you can download the source tarball from that page and compile that, but using git or svn is a bit nicer for updating.
What is the newest version of lammps for install on Mac? (using Homebrew)
Every time I want install it downloads from here:
Downloading http://lammps.sandia.gov/tars/lammps-12Feb14.tar.gz
which is an old version.
Thank you, and look forward your help.
this would be a problem with homebrew, where the build description
file for LAMMPS hasn't been updated. thus you should file an issue on
the website, where those files are maintained. most likely those files
will need to be updated for the recent changes in the LAMMPS build
procedure as well.
as stefan already mentioned, the alternatives is to manually build
from source, either a tar archives downloaded directly from
lammps.sandia.gov or indirectly through the git and svn mirrors.
axel.
lammps version on homebrew is old. the latest version is now Feb 2015.
I’m going to use git mirror.
I have been struggling with installing the newest version on my mac :(( Not successful
What should I do after doing this cloning:
git clone git://[git.lammps.org/lammps-ro.git](http://git.lammps.org/lammps-ro.git) mylammps
BTW, does this installation provides the opportunity to run lammps as easily as homebrew. e.g. by typing a simple command like the following in any folder?
mpiexec -np 4 lammps -in in.melt
Bests
X
lammps version on homebrew is old. the latest version is now Feb 2015.
I'm going to use git mirror.
I have been struggling with installing the newest version on my mac :((
Not successful
What should I do after doing this cloning:
git clone git://git.lammps.org/lammps-ro.git mylammps
how about following the compilation/installation instructions in the
LAMMPS manual?
BTW, does this installation provides the opportunity to run lammps as easily as homebrew. e.g. by typing a simple command like the following in any folder?
what homebrew does is essentially an automated form of the manual
compilation/installation in the LAMMPS manual. as you have noticed, that
may break in case there homebrew makes some assumptions about the process
or what certain files are present or named like and those are changed in
the source code distribution.
mpiexec -np 4 lammps -in in.melt
that has nothing to do with the compilation, but only with how you name
the resulting executable and whether it is copied to a directory that is
included in the $PATH environment. that is your choice.
axel.