make install overwrites old kernels
macros for getting lattice ids