Using -m scoop on a cythonized script

9 views
Skip to first unread message

John Woolley

unread,
Nov 30, 2023, 1:14:43 PM11/30/23
to scoop-users
Hello all,

Forgive me for my ignorance as I'm new here.  I am trying to cythonize a script that uses scoop to implement concurrency via scoop's futures.map.  

I've compiled the script using cythonize via setup.py, but when I try to call 'python -m scoop file.py" on the python file that imports the cython object, I get the warning about scoop not being properly initialized.  The program seems to be doing the same calculations across all cores instead of actually mapping.  

Is this sort of use-case supported by scoop?
Reply all
Reply to author
Forward
0 new messages