Remove slurmdb from libs to link against for newer Slurm versions (>18)#34
Remove slurmdb from libs to link against for newer Slurm versions (>18)#34natefoo merged 2 commits intonatefoo:masterfrom
Conversation
…ure path to shared object runtime path for testing availability
|
I'm guessing this will need to be conditional based on the version of Slurm detected by autoconf? |
|
Depends if you want it to be conditional in the first place. This original fork presumably does not work with older versions of SLURM anyway correct? It is possible just to make it conditional whether or not the |
|
This fork currently works with Slurm >= 16.05. I don't think we need to maintain compatibility back that far for new releases, but supporting at least the current oldest supported version of Slurm (18.08) would be ideal. You can build a local copy of Slurm for testing, or if you don't want to invest any additional time, I can pick it up from here (but it'll probably be a week or so before I can do that). |
|
@natefoo sorry for taking so long to get to this but I believe I have created a fix that is now compatible with all versions of SLURM. It's ready for your review and approval. |
|
Hi, is there any news on this? I'd really like to get a slurm-drmaa that is compatible with slurm 20.x. |
|
@EricR86 Thanks, this looks good to me. I'll merge and make a new release shortly. |
This PR removes the
libslurmdblibrary only in newer versions of SLURM as it was merged in withlibslurmon versions of SLURM past 18.The details of this change can be found under the "28 May 2019" section of the
RELEASE_NOTESand can be found on the website.Additionally, this also fixes a configure option when using
--with-slurm-libto point at a custom directory for SLURM libraries. Since this directory also contains the runtime libraries, the test inconfigurenow includes that directory for runtime linking when testing the SLURM test program after compilation.Fixes Issue #28