I have bash script which creates high energy collision events, if one event takes around 2 minutes then for 100000 events it takes 200000 minutes, which is too much. so if I have 50 cores in a node, I want to have one event on each core, so in this way there will be 50 events generated in 2 minutes, so time will be saved. I thought this can be done by multi-threading, or any other way by which this can be done?, so can anyone help me?
How to run bash script via multithreading
multithreading