LIGGGHTS installation and running errors please help

Submitted by jshan432 on Mon, 08/28/2017 - 18:41

Using OS X 10.12.2, I attempted to use 'make auto' to run liggghts for the first time but am getting the following message:

wireless-10-104-24-50:src lab_home$ make auto
sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
Creating list of contact models completed.
Makefile:424: *** 'Could not compile a simple c++ example. Please make sure that you have run "make stubs" before compiling LIGGGHTS itself. Test was done with CXX=c++, EXTRA_INC= -I../STUBS, EXTRA_LIB= -L../STUBS and EXTRA_ADDLIBS= -lmpi_stubs.'. Stop.
make: *** [auto] Error 2

'make stubs' says stubs is up to date. I cant figure out how to fix this so I tried using 'make serial' and that seems to run and it creates the lmp-serial executable, but when I run that the following message come sup:

LIGGGHTS (Version LIGGGHTS-PUBLIC 3.7.0, compiled 2017-08-29-22:27:22 by lab_home, git commit unknown)

I'm really not sure where to go from here and I really appreciate any help.

Jackson

jshan432 | Wed, 08/30/2017 - 19:36

Re-downloaded everything and now make auto returns:

sed: illegal option -- -
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
Creating list of contact models completed.
Makefile:361: *** 'Could not compile and link a simple MPI example. Test was done with MPI_LIB='. Stop.
make: *** [auto] Error 2