LAMMPS on Mac OS X El Capitan

Dear all

I have installed LAMMPS on macBookPro using brewer as explained in the documentation.

All works good except that an error message comes when running the test “brew test lammps -v” .

The gcc libraries are installed in /usr/local/lib/gcc/6/… (this means it is gcc version 6)

While lammps is calling libraries in /usr/local/lib/gcc/5/… (version 5)

The solution is to copy …/6/ directory content to a …/5/ directory if not available.

Simply use :

cp –pR 6 5 under /usr/local/lib/gcc

and all will go fine with the test : brew test lammps -v

Nevertheless I have a question.

It seems that the installed version is 10 FEB 2016. What is the way for upgrading to the next Mac OS X stable version

Is “brew install lammps” working and will overwrite the previous installation ? or should I use something like “brew uninstall lammps” and further install new version

Thanks for your help.

Regards

Pascal

Pascal BRAULT
Direc**teur de Recherche CNRS

Délégué Scientifique Energie CNRS-INSIS

Directeur de la FR776 EPEE
GREMI UMR7344 CNRS - Université d’Orléans
14, rue d’Issoudun BP6744
F-45067 ORLEANS Cedex2
Tel. 06 31 49 87 90 - Fax. 02 38 41 71 54

http://www.univ-orleans.fr/gremi/pascal-brault

image001.pngSMARTCATECFCHcombinedc1
“Plasmas pave the future of fuel cells”

N’imprimez ce courriel que si cela est absolument nécessaire

image002.jpg

Dear all

I have installed LAMMPS on macBookPro using brewer as explained in the
documentation.

All works good except that an error message comes when running the test
“brew test lammps -v” .

The gcc libraries are installed in /usr/local/lib/gcc/6/… (this means it
is gcc version 6)

While lammps is calling libraries in /usr/local/lib/gcc/5/… (version 5)

The solution is to copy …/6/ directory content to a …/5/ directory if not
available.

Simply use :

cp –pR 6 5 under /usr/local/lib/gcc

and all will go fine with the test : brew test lammps -v

Nevertheless I have a question.

It seems that the installed version is 10 FEB 2016. What is the way for
upgrading to the next Mac OS X stable version

Is “brew install lammps” working and will overwrite the previous
installation ? or should I use something like “brew uninstall lammps” and
further install new version

​homebrew support is a contributed feature and thus you should either
contact the contributor or report an issue at the provided link, please see
http://lammps.sandia.gov/download.html#homebrew

​axel.​

image002.jpg

image001.png