This appears to be a known issue. It was already reported on the github issue tracker.
https://github.com/merzlab/QUICK/issues/392
________________________________
From: Timothy Giese via AMBER <amber.ambermd.org>
Sent: Wednesday, September 24, 2025 10:47 AM
To: YASHIKA . via AMBER <amber.ambermd.org>
Subject: Re: [AMBER] sander.MPI appears to be incompatible with QUICK API while doing free energy calculations
Thanks for the report. I was able to reproduce the symptom. When commsander is the same thing as mpi_comm_world, quick appears to run fine, but when doing an alchemical "bookend" simulation (mm -> qm/mm) using a groupfile, the communicator that quick should be using is a subset of the available processes. It appears that quick is using mpi_comm_world, however.
Here are my observations:
1. "mpirun -n 2 sander.MPI -ng 2 -groupfile groupfile" hangs when using icfe=1 for both the mm and qm/mm
2. "mpirun -n 2 sander.MPI -ng 2 -groupfile groupfile" will successfully run the mm simulation the mm simulation when icfe=0; however, the qm/mm simulation hangs.
3. "mpirun -n 2 sander.MPI -O -p parm7 -c inp.rst7 -i qm.mdin ...." will successfully run the qm/mm simulation.
The quick code needs to be changed to accept a mpi communicator as an argument and exclusively use that communicator. ...at least that is my current working hypothesis.
-Tim
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
https://nam02.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.ambermd.org%2Fmailman%2Flistinfo%2Famber&data=05%7C02%7Cgiese025%40connect.rutgers.edu%7C764be8a4dede49065e0308ddfb7961a3%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C638943220940595810%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=gXH%2FrSRraqYxkCTbJli7H3HHAtX7pbeGfrdx90re2Zc%3D&reserved=0<
http://lists.ambermd.org/mailman/listinfo/amber>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Sep 24 2025 - 08:00:03 PDT