With the caveat that I haven't built these plugins past Slurm 18, these are job submit plugins, and that the documentation is weak, you could look at these plugins I'd written for our cluster:
https://github.com/FredHutch/gizmo-plugins Contains two plugins I build in the source tree. These set a default account and qos. Autotools is the process here... I'm no expert, but IIRC the .in is built from the .am. So you would install your code and the Makefile.am with the linker flags you need then use autoreconf to build the .in, then it'll get picked up by configure when you build the tree. You also need to add these to upstream targets in the source tree- see the patch files in the root of the linked repository above. HTH - Michael On Thu, Jan 30, 2020 at 1:23 PM Dean Schulze <dean.w.schu...@gmail.com> wrote: > I'm writing a plugin (based on the select/cons_res plugin). I need to add > this library for the linker when my plugin is built: > > /usr/lib/x86_64-linux-gnu/libcurl.a > > Apparently I need to add this library to the Makefile.in. Where do I add > this? > > Do I need to add this in the Makefile.am too? > > Thanks. >