I want to implement a preprocessing pipeline in the computational server on my DTI dataset and for better performance, I want to use the multithreading techniques in my Linux terminal.
My os is Ubunto 20.0.4.
I there any book or any resource I can use in my procedure?
I don’t know the multiprocessing techniques should be applied in bash code or python.
hi Ali - you can use the ampersand symbol in bash (&) at the end of a line and the process will get run in the background asynchronously; do this on a few lines and those lines may run in parallel if they take long enough to execute. In python you can use the standard multiprocessing library. Some of the parallel pool methods in there are very easy to use - the documentation is a quick google away.
Thank you for useful explanation
Thanks for guidance…I want to use PreQual pipeline and I don’t know how to apply multiprocessing in my code.