Performance Issues with MMPBSA and MMGBSA Calculations on Multi-Core CPUs #525
-
I am trying to run an MMPBSA calculation on a CPU with 128 cores. However, it is taking a considerable amount of time, processing only about 50 frames in 57 minutes. Additionally, when I run the same calculation using MMGBSA with 8 cores, there is no noticeable difference in performance. For context, my protein has about 800 residues, and the ligand is approximately 400 Da. Could someone help me understand why this might be happening and how I can optimize the calculations for better performance? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
gmx_MMPBSA works by splitting the trajectory into many chunks as you assign CPUs. Like all other parallelizations, this type of parallelization has its performance issues. Each process has an associated overhead, so you should be aware of that to get the most out of it. For example, it doesn't make much sense to use 10 CPUs to process 10 frames with GB, since the time it takes to process each frame is less than the time it takes to create the trajectory chunks. Just as you mentioned, with GB, processing 50 frames with 8 CPUs will take very little time. Probably for PB, it is worth increasing the number of CPUs. Please try a longer trajectory and see if it improves according to your criteria. Otherwise, please send me a run schedule with several CPUs up to 16 (that's the number I have available at the moment) and the files you used. |
Beta Was this translation helpful? Give feedback.
Here you aren't using parallelization. To run gmx_MMPBSA in parallel you must run it with
MPI
. In your case should be: