Throw it in the compost pile and cover it with diirt - it won't stink and the worms will love it.
Also, since the grain will only stink if it goes anaerobic, there are a number of other things you can do:
spread it thin over a wide area, like using it as a thin mulch over a garden,
mix it in with a lot of dry, fluffy stuff, like fall leaves,
turn it over every day or two to mix air into it, until it starts to dry out and break down,
mix it into the compost pile well, so that it doesn't compact and breaks down quickly.
I've been composting grain for years and it never smells unless I just dump it onto the top of the pile and leave it there for a few days.
If I was in a situation like a10t2, with an overzealous neighborhood association, I'd use it as mulch. You're still composting it but it's not "compost", it's "mulch".