[lammps-users] LAMMPS on Mac OS with MPI?

Hi,

I use the same makefile as you on my Mac OS X Snow Leopard, and it works fine. I tried installing the granular package, making LAMMPS and then running the crack example (as you did), and it ran without errors.

The only differences in my Makefile.mac_mpi from what you wrote in your e-mail are these lines:

CCFLAGS = -O

MPI_INC = -DOMPI_SKIP_MPICXX
MPI_PATH =
MPI_LIB =

Try changing these lines to my values and check again. Hope it helps! :slight_smile:

Cheers,
Christer H. Ersland.

Hey,
I've changed my Makefile to match yours and I still get that error. I think my mpicc compiler might be broken somehow, I will look into that. Would it be possible for you to send me your binary (with granular) in the meantime?
Thanks,
Tobias Steinle