I’m not sure, I’ve never used the WALKERS_MPI function, Giovanni may be able to help you with that.
My suggestions was to use the old fashioned way where the walkers communicate via an external file and not internally.
I guess If you want to use the WALKERS_MPI you can only do it using the -partition, however I don’t thin anyone has ever tested it with LAMMPS.
In the way I run it every walker writes a different file and this is how the metadynamics block looks like
# metadynamics
METAD ...
ARG=d1,c1 # active CV(s)
HEIGHT=0.026 # height
SIGMA=0.2,0.1 # width
PACE=500 # deposition pace
WALKERS_DIR=../HILLS_DIR # multiple walkers directory
WALKERS_RSTRIDE=500 # multiple walkers reading pace
WALKERS_ID=XXXX WALKERS_N=25 # multiple walkers ID and total no
... METAD
Obviously you each walker must have a unique ID and you have to replace the “XXXX” with that ID.
Note that the IDs must start from 0
Also note that you must have the RESTART keyword in the plumed input file otherwise the walkers may have some issues to read each other’s gaussians. Finally, the walkers must start from different configurations otherwise you may get artefacts in the free energy.
Cheers,
Paolo