Closed qzhu2017 closed 6 years ago
@qzhu2017
I think we can implement multiprocessing using numba, specifically the prange function and precompiling parts of the main.
@David-Zagaceta The best way is to use multprocess. It is very easy I guess.
If you do it with numba, I guess the most important part is to rewrite the voronoi function, instead of using the function in pymatgen. I don't recommend it.
@qzhu2017
Alright. I will use the multiprocessing implementation. I will start work on that tomorrow morning.
Done in run.py.
runner.convert_data_1D(parallel=2) #choose cpu number if you want to active this function
In order to speed up the calculation, I think the most important thing is to add Multiprocessing in our descriptor calculation. We need to run the following code in parallel
The best way is to include it multiple process function. https://docs.python.org/3.6/library/multiprocessing.html
@David-Zagaceta @yanxon Can you look into this?