natefoo / slurm-drmaa

DRMAA for Slurm: Implementation of the DRMAA C bindings for Slurm
GNU General Public License v3.0
48 stars 22 forks source link

Support for Slurm 23.02? #76

Closed mwharvey521 closed 10 months ago

mwharvey521 commented 1 year ago

We recently updated our HPC cluster and Galaxy server, and slurm-drmaa no longer seems to work properly. Is there any chance of getting it updated to work with the most recent version of Slurm - 23.02?

IBEXCluster commented 1 year ago

Dear @mwharvey521 Is it possible to give it a try this workaround:

export DRMAA_LIBRARY_PATH=lib.slurm-22.05.6/libdrmaa.so.1
export LD_LIBRARY_PATH=lib.slurm-22.05.6:$LD_LIBRARY_PATH

This workaround is used as a temporary solution for our regular operation which uses slurm-drmaa. :-)

mwharvey521 commented 1 year ago

Thanks for the response. I'm not sure what setting those variables is trying to point to. We are running slurm-23.02.01 on a Rocky 8 Linux system:

@. ~]$ export DRMAA_LIBRARY_PATH=lib.slurm-22.05.6/libdrmaa.so.1 @. ~]$ export LD_LIBRARY_PATH=lib.slurm-22.05.6:$LD_LIBRARY_PATH @.** ~]$ /software/apps/slurm-drmaa/current/bin/drmaa-run testscript.sh F #3b67c3 [     0.00]  Could not load DRMAA library (DRMAA_LIBRARY_PATH=lib.slurm-22.05.6/libdrmaa.so.1) F #3b67c3 [     0.00]  * Error

Thanks,

Mike

On 5/24/2023 3:23 AM, IBEXCluster wrote:

Dear @mwharvey521 https://github.com/mwharvey521 Is it possible to give it a try this workaround:

|export DRMAA_LIBRARY_PATH=lib.slurm-22.05.6/libdrmaa.so.1 export LD_LIBRARY_PATH=lib.slurm-22.05.6:$LD_LIBRARY_PATH |

This workaround is used as a temporary solution for our regular operation which uses slurm-drmaa. :-)

— Reply to this email directly, view it on GitHub https://github.com/natefoo/slurm-drmaa/issues/76#issuecomment-1560585301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWB3WCAUXXC2G5M4E53ICLXHWZNTANCNFSM6AAAAAAYFMYV6Q. You are receiving this because you were mentioned.Message ID: @.***>

IBEXCluster commented 1 year ago

Dear Mike, I was referring the lib.slurm-22.05.6/ is from the old slurm library. However, please refer the master repo. Thanks to @wickhagj and he applied the patches for Slurm 23.x.x. Please pull the latest and recompile the slurm-drmaa.

https://github.com/natefoo/slurm-drmaa/pull/79/commits/1f5db98cd788677e7a94b93cb56bc00266539fe2

mwharvey521 commented 1 year ago

Thank you so much!

I recompiled slurm_drmaa and my Galaxy server is functional again.

Mike

On 5/25/2023 1:40 AM, IBEXCluster wrote:

Dear Mike, I was referring the lib.slurm-22.05.6/ is from the old slurm library. However, please refer the master repo. Thanks to @wickhagj and he applied the patches for Slurm 23.x.x. Please pull the latest and recompile the slurm-drmaa.

1f5db98 https://github.com/natefoo/slurm-drmaa/commit/1f5db98cd788677e7a94b93cb56bc00266539fe2

— Reply to this email directly, view it on GitHub https://github.com/natefoo/slurm-drmaa/issues/76#issuecomment-1562307365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMWB3WE6PCI5P27YNF4AK73XH3WFHANCNFSM6AAAAAAYFMYV6Q. You are receiving this because you were mentioned.Message ID: @.***>

natefoo commented 10 months ago

Merged in #79 and will be included in the 1.1.4 release.