DEM Grain generator Cambridge Berkeley - Geomechanics Install dependencies: Compile & Run Run autoreconf -fi, if configure script is missing. Run ./configure make clean && make -jN (where N is the number of cores) Run ./dem_grain_gen