Skip to content

Commit

Permalink
rename MPI MASTER into MAIN
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndDoser committed Mar 6, 2024
1 parent 7342d88 commit d7fe214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gromacs/ramd/ramd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ void RAMD::calculateForces(const ForceProviderInput& forceProviderInput,

if (*pstep % params.eval_freq == 0)
{
if (MASTER(cr) and out)
if (MAIN(cr) and out)
{
fprintf(out, "\n");
fflush(out);
Expand All @@ -223,7 +223,7 @@ void RAMD::calculateForces(const ForceProviderInput& forceProviderInput,
// Exit if all ligand-receptor COM distances are larger than max_dist
if (std::accumulate(ligand_exited.begin(), ligand_exited.end(), 0) == params.ngroup)
{
if (MASTER(cr))
if (MAIN(cr))
{
fprintf(this->log, "==== RAMD ==== GROMACS will be stopped after %ld steps.\n", *pstep);
}
Expand Down

0 comments on commit d7fe214

Please sign in to comment.