Liggghts on Mac Os X : Tips for you

Submitted by iluvatar on Tue, 10/17/2017 - 16:54

Hi everybody,

I just want to share with you some tips to install liggghts public on a Mac Os X system (Yosemite ), in case you find it useful. I have just installed the latest version of liggghts on my macbook pro retina 2014 with Yosemite. I installed open-mpi with homebrew and vtk-6.2 manually (with mpi support). Then I edited the MAKE/Makefile.mpi file to set the include path for vtk-6.2, and then I had to edit the file write_data.cpp to just add #include , since the compiler was failing with the error " ... atoi undefined.. ". Then make mpi compiled and everything worked. I just needed to set the environment variable DYLD_FALLBACK_LIBRARY_PATH to include the directory with the vtk libraries and everything worked.

I hope this helps others.

davide1993 | Wed, 09/19/2018 - 17:01

Hello,
just a quick update: this method works on High Sierra, openmpi installed manually ( https://wiki.helsinki.fi/display/HUGG/Open+MPI+install+on+Mac+OS+X ), VTK8-1 with mpi support ( https://www.ctcms.nist.gov/oof/oof3d/vtk5elcap.html , skipping points 1 and 3 and changing only :* Changed only CMAKE_BUILD_TYPE to release and Toggled MPI option to ON (say thanks to user Gowthaman); I have just run the examples but it looks fine this far.
greetings,
DDG