-
Notifications
You must be signed in to change notification settings - Fork 28
Use slurm C language API instead of calling binaries #100
Comments
I was able to generate Go binding, see sashayakovtseva/go-slurm, but returned info is always empty. Attempts to disable munge auth, run C code directly led to no success. Switching tasks. |
@sashayakovtseva @cali4888 this may seem like a roundabout solution, but would providing a fuse-plugin that polls slurm on demand - like a webservice - to provide the slurm data through a file interface be unreasonable? For clarity, an |
Not sure, that I am fully understand all benefits of such plugin. Can you give us a little bit more details why it could be useful in operator? |
@cali4888 apologies for the delay responding. cgo code might get a little ugly. Having a overhead probably isn't something ya'll are concerned with but, the memory management aspect of cgo integration might be worth considering: https://www.cockroachlabs.com/blog/the-cost-and-complexity-of-cgo/ |
@ct-clmsn thanks for clarifications :) Yeah, agree with you, i'm also not a big fan of cgo. Such plugin could be a good solution at this place. Actually right now we are thinking how we can make operator more generic. We are actively looking into pmix as a possible solution. So that's why we are not rushing with migrating from direct calls to binaries. |
First all we will need to create go binding for slurm c lib
The text was updated successfully, but these errors were encountered: