I was trying to use the GMIC plugin for GIMP rather than the command line tool. Darktable does seem to be much simpler. The only problem I found with Darktable is that it won’t create an HDR from a stack of JPEGs, or at least I couldn’t work out how to do that. I found a tutorial suggesting it should be possible but it didn’t say how.