GROMACS version:2021
GROMACS modification: Yes/No
Hello everyone, I am using below script to run the md production step. I want to distribute or run the single job of MD in gromacs using muliple node cpu or gpu. but I think the script is running many independent jobs., i m bit confused so please if anyone can guide for this. Thank you!
Your script looks ok to me. What makes you think it’s running many independent jobs? If the script starts running, it should produce a number of files, including a md_200_kfdv.log file. This file contains quite a bit of useful information. If you scroll down past the author list and version info, you’ll find a summary of the hardware GROMACS was able to detect for this run. If you scroll further down past the mdp options, it will also report exactly what work it’s doing on how many MPI ranks and devices. If everything is going well, you should see something like
Using 8 MPI ranks Using 40 OpenMP threads per MPI rank
It appears that the simulation is running independent jobs rather than a single distributed run. This is evident from the multiple log, energy, and trajectory files being generated (e.g., #md.log.1#, #md.log.2#, etc.), which indicates that each job is executing separately. Moreover, the workload is not being distributed across multiple nodes — instead, each node is running an independent job, with one MPI rank per node rather than parallel ranks contributing to a single simulation.