<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:monospace">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:</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"><a href="https://github.com/FredHutch/gizmo-plugins">https://github.com/FredHutch/gizmo-plugins</a><br></div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">Contains two plugins I build in the source tree.  These set a default account and qos.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">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.</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace">HTH</div><div class="gmail_default" style="font-family:monospace"><br></div><div class="gmail_default" style="font-family:monospace"> - Michael</div><div class="gmail_default" style="font-family:monospace"><br></div><input name="virtru-metadata" type="hidden" value="{"email-policy":{"state":"closed","expirationUnit":"days","disableCopyPaste":false,"disablePrint":false,"disableForwarding":false,"enableNoauth":false,"persistentProtection":false,"expandedWatermarking":false,"expires":false,"isManaged":false},"attachments":{},"compose-id":"1","compose-window":{"secure":false}}"></div><br><div class="gmail_quote" style=""><div dir="ltr" class="gmail_attr">On Thu, Jan 30, 2020 at 1:23 PM Dean Schulze <<a href="mailto:dean.w.schulze@gmail.com">dean.w.schulze@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">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:<div><br></div><div>/usr/lib/x86_64-linux-gnu/libcurl.a<br></div><div><br></div><div>Apparently I need to add this library to the Makefile.in.  Where do I add this?</div><div><br></div><div>Do I need to add this in the Makefile.am too?</div><div><br></div><div>Thanks.</div></div>
</blockquote></div></div>