Closed albakalaja closed 4 years ago
Thanks @albakalaja for raising an issue. I am sorry but have no idea how to use py3nj in cython.
As py3nj runs a fortran code trhough f2py, it should be fast enough. And if it is compiled correctly, it should run in parallel (at least in the original fortran code).
So maybe it would be easier to run them outside cython but make it sure run in parallel.
Hi @fujiisoup , thank you for the quick reply! I thought that running it outside would require too much, but I can actually do it and the call it in the main function.
I'm trying to use the wigner3j within a function in cython, and I also need to parallelize it with the the cython.parallel module. However, the latter requires to release the GIL. Is there anyway to do this?
Here is an example of how I would like to use wigner3j