Greetings All - I am working on MacOS and have installed the latest stable lammps via brew - version I have is 20220623 → june 23 2022;
Issue: I am trying to run fix sgcmc and this is what I get: ERROR: Unrecognized fix style ‘sgcmc’ (src/modify.cpp:903). I am assuming it is indicating that sgcmc is NOT part of the LAMMPS package that I have. I also searched my system - and am not able to find fix sgcmc within my 20220623 version. Just fyi, I have listed (below) the contents of the mc directory and it ONLY has fix gcmc.
I have seen an earlier message ( Windows MSMPI LAMMPS version 28 March 2023 ) from April that indicate sgcmc is indeed available with the mc package but for windows - can you please point me to the equivalent MacOs version?
Hi Simon - Thanks for the reply. I figured that much before I posted my question. Please note that I un-installed lammps 5 times and re-installed and always picks up the june 23 2022 version!!!
I have just visited the site where brew picks up lammps Macos and to my surprise ONLY the 2022 LAMMPS versions are there - no 2023 versions - take a look below!
Perhaps you can, or (Axel or Steve) shed light on why is that?
Thanks again,
Khalid
list straight from brew mirrors site - it has 2023 versions for many packages but NOT for MACOS!
The primary distribution of the LAMMPS software is a tarball with source code.
All packaging of LAMMPS (i.e. LAMMPS for Ubuntu, Fedora, RedHat, SuSE, Conda, Pip, Homebrew, Gentoo, Arch, FreeBSD ports, Windows) is managed by the individual packagers.
With the exception of the Windows installer packages (which are built and maintained by me), all of those are not managed (and thus not under control) by LAMMPS developers. If you want support for different versions of LAMMPS than what is supported by the packaging, you need to contact the package maintainers and/or use the distribution project’s communication channels.
LAMMPS feature releases are fairly recent (every couple months or so), so many package maintainers choose to not update LAMMPS at the same frequency but rather follow the stable releases only (about once per year with multiple bugfix updates in between). In the latter case, you will need to wait until the next stable release (estimated within the next 6 weeks) and when the packaging folks notice the new release and find the time to package it. Please note that many people doing the packaging are volunteers (same as those responding in the forum here) are volunteers that do this in their spare time and for “fun”, so please treat them with respect. Without their efforts, there would be no convenience through packaging at all.
As @simongravelle pointed out, if you are not happy with the versions available through the packaging system, then you always have the option to compile LAMMPS from source yourself. If this was 10 years ago, compiling from source would have been your only option.