Skip to content

Commit

Permalink
updated gromacs 2020 patch to give an error
Browse files Browse the repository at this point in the history
if plumed and modular simulator are used together
  • Loading branch information
carlocamilloni committed Nov 5, 2020
1 parent 46b2412 commit 314859a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion patches/gromacs-2020.4.diff/src/gromacs/mdrun/runner.cpp
Expand Up @@ -1169,7 +1169,7 @@ int Mdrunner::mdrunner()
}

// The GPU update is decided here because we need to know whether the constraints or
// SETTLEs can span across the domain borders (i.e. whether or not update groups are
// SETTLEs can span accross the domain borders (i.e. whether or not update groups are
// defined). This is only known after DD is initialized, hence decision on using GPU
// update is done so late.
try
Expand Down Expand Up @@ -1591,6 +1591,7 @@ int Mdrunner::mdrunner()

/* PLUMED */
if(plumedswitch){
if(useModularSimulator) gmx_fatal(FARGS, "PLUMED is not yet compatible with GROMACS new modular simulator");
/* detect plumed API version */
int pversion=0;
plumed_cmd(plumedmain,"getApiVersion",&pversion);
Expand Down
Expand Up @@ -1159,7 +1159,7 @@ int Mdrunner::mdrunner()
}

// The GPU update is decided here because we need to know whether the constraints or
// SETTLEs can span across the domain borders (i.e. whether or not update groups are
// SETTLEs can span accross the domain borders (i.e. whether or not update groups are
// defined). This is only known after DD is initialized, hence decision on using GPU
// update is done so late.
try
Expand Down

2 comments on commit 314859a

@PlumedBot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found broken examples in automatic/performance-optimization.txt
Found broken examples in automatic/a-trieste-6.txt
Found broken examples in automatic/munster.txt
Found broken examples in automatic/ANN.tmp
Found broken examples in automatic/EDS.tmp
Found broken examples in automatic/EMMI.tmp
Found broken examples in automatic/FOURIER_TRANSFORM.tmp
Found broken examples in automatic/FUNCPATHGENERAL.tmp
Found broken examples in automatic/FUNCPATHMSD.tmp
Found broken examples in automatic/FUNNEL_PS.tmp
Found broken examples in automatic/FUNNEL.tmp
Found broken examples in automatic/INCLUDE.tmp
Found broken examples in automatic/MAZE_MEMETIC_SAMPLING.tmp
Found broken examples in automatic/MAZE_OPTIMIZER_BIAS.tmp
Found broken examples in automatic/MAZE_RANDOM_ACCELERATION_MD.tmp
Found broken examples in automatic/MAZE_RANDOM_WALK.tmp
Found broken examples in automatic/MAZE_SIMULATED_ANNEALING.tmp
Found broken examples in automatic/MAZE_STEERED_MD.tmp
Found broken examples in automatic/PIV.tmp
Found broken examples in automatic/PLUMED.tmp
Found broken examples in MiscelaneousPP.md

@PlumedBot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found broken examples in automatic/performance-optimization.txt
Found broken examples in automatic/a-trieste-6.txt
Found broken examples in automatic/munster.txt
Found broken examples in automatic/ANN.tmp
Found broken examples in automatic/EDS.tmp
Found broken examples in automatic/EMMI.tmp
Found broken examples in automatic/FOURIER_TRANSFORM.tmp
Found broken examples in automatic/FUNCPATHGENERAL.tmp
Found broken examples in automatic/FUNCPATHMSD.tmp
Found broken examples in automatic/FUNNEL_PS.tmp
Found broken examples in automatic/FUNNEL.tmp
Found broken examples in automatic/INCLUDE.tmp
Found broken examples in automatic/MAZE_MEMETIC_SAMPLING.tmp
Found broken examples in automatic/MAZE_OPTIMIZER_BIAS.tmp
Found broken examples in automatic/MAZE_RANDOM_ACCELERATION_MD.tmp
Found broken examples in automatic/MAZE_RANDOM_WALK.tmp
Found broken examples in automatic/MAZE_SIMULATED_ANNEALING.tmp
Found broken examples in automatic/MAZE_STEERED_MD.tmp
Found broken examples in automatic/PIV.tmp
Found broken examples in automatic/PLUMED.tmp
Found broken examples in MiscelaneousPP.md

Please sign in to comment.