i have a server with 48 cores, so i decide to use python multiprocess to run my code with 46 process.
here is the multiprocessing wrapper function:
imp