|From:||Wusheng Zhang <minky.k.jiang@...24...>|
|Date:||Wed, 28 Jun 2017 20:12:54 -0400|
On Wed, Jun 28, 2017 at 7:08 PM, Wusheng Zhang <minky.k.jiang@...24...> wrote:
> Dear LAMMPS users,
> I installed LAMMPS via homebrew on MacOS system on Aug 2016, and now I
> intend to update it for using functions like pair_style python. I know this
> seems like not a good question here, but I tried to search update lammps
> homebrew on google but got nothing useful. So do you have any suggestions on
> updating latest stable version of LAMMPS?
please contact the homebrew-science folks. they have a project on github.
you will have to learn from them how to customize your installation process.
i suspect, it may be just as well to do a manual compilation.
> Besides, I install LAMMPS via homebrew because I want to have a stable and
> updated LAMMPS. I also "git clone" LAMMPS from github - named it as "LAMMPS
> for test", because I intend to modify some source files like MAX_BODY. I
> know I can save my modified source files separately, and push them back
> after git clone the newest LAMMPS. But is there any easy way to update my
> "LAMMPS for test"?
you are contradicting yourself here. you cannot have a "stable"
version of LAMMPS and then do development and update to newer
i would suggest that you have two versions of LAMMPS installed. the
"stable" homebrew compiled executable, and a custom that you compile
manually in your cloned git repository.
that one you can always update to the latest state of the development
master branch (or unstable patch release branch or ...). i also
strongly advise to do any development in your own personal branch (or
branches), but that depends on how deeply you want to dig into source
code management and using git to keep track of your changes.
> Thank you very much for paying attention to such a basic question.
> Best regards,
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> lammps-users mailing list
Dr. Axel Kohlmeyer akohlmey@...43...4... http://goo.gl/1wk0
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.