Marcel-Rodekamp / NSL

Nanosystem Simulation Library (NSL) implements statistical simulations for systems on the nanoscale
Other
2 stars 0 forks source link

Added OpenMP parallelization #166

Open Marcel-Rodekamp opened 6 months ago

Marcel-Rodekamp commented 6 months ago

This function is called during the python setup of Pytorch but not on the C++ site. We need this to enable OpenMP.

https://github.com/pytorch/pytorch/issues/20156

GioPede commented 6 months ago

Have you tested that it is enough to make it work? And is it working as expected with the env variable OMP_NUM_THREADS?