+ 5
Parallel Programming
can we use openMp in python to achieve goal of parallel programming better?
2 odpowiedzi
+ 1
you can use openmp on python (https://aalto-scicomp.readthedocs.io/triton/examples/python_openmp.html), btw for work with parallel programing in python there is way more better modules for python (https://wiki.python.org/moin/ParallelProcessing)
0
Due to interpreter, there is no way to use openMP in python. Most people who do parallel processing(or they believe they are doing in python) use multiprocessing module.
OpenMP only works stable in C/C++. Other ways to do parallel processing is to write golang(which i encourage everyone to do it) or tweak openCL with java