Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try a cython approach #3

Open
tmetsch opened this issue Mar 30, 2012 · 7 comments
Open

Try a cython approach #3

tmetsch opened this issue Mar 30, 2012 · 7 comments

Comments

@tmetsch
Copy link
Owner

tmetsch commented Mar 30, 2012

Check if cython can be used...

@am21
Copy link

am21 commented May 31, 2012

And make sure we can run it on windows. I've been following http://wiki.cython.org/64BitCythonExtensionsOnWindows, and the last road block to having lsb_init() working is that the compiler is still looking for "unistd.h" header. I can share my experiment if you like.

@tmetsch
Copy link
Owner Author

tmetsch commented May 31, 2012

That would be great indeed! I've been looking into it a bit a while ago but stopped for a sec - because I had so many commands with some problems. So any tipps & tricks are welcome! Cheer!

@am21
Copy link

am21 commented May 31, 2012

Look at this:
$ python
ActivePython 2.7.2.5 (ActiveState Software Inc.) based on
Python 2.7.2 (default, Jun 24 2011, 12:22:14) [MSC v.1500 64 bit (AMD64)] on win
32
Type "help", "copyright", "credits" or "license" for more information.

import lsflib
Initializing lsflib
lsflib.LSF("foo")
calling lsb_init()
done 0
<lsflib.LSF object at 0x0000000002C983F0>
quit()

:-)

I'll package what I have done and send it.

@tmetsch
Copy link
Owner Author

tmetsch commented May 31, 2012

Awesome! Cool stuff!

@am21
Copy link

am21 commented Jun 4, 2012

You've got mail. And there is much more than just lsb_init() now :-) This is way easier than SWIG in my opinion.

@am21
Copy link

am21 commented Jun 11, 2012

you had time to look at the code yet? I added openjobinfo()/readjobinfo()/closejobinfo(), this is pretty easy stuff

@tmetsch
Copy link
Owner Author

tmetsch commented Jun 13, 2012

Awesome!

Not yet - but it sounds great! Will definetly look into it - btw: got the request to try this stuff with openlava too. Will maybe move to cython and test it with openlava.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants