limit to 1 processor per partition
This commit is contained in:
@ -86,10 +86,12 @@ FixPIMDBLangevin::FixPIMDBLangevin(LAMMPS *lmp, int narg, char **arg) :
|
||||
}
|
||||
|
||||
method = PIMD;
|
||||
|
||||
size_vector = 6;
|
||||
|
||||
memory->create(f_tag_order, nbosons, 3, "FixPIMDBLangevin:f_tag_order");
|
||||
|
||||
if (cmode != SINGLE_PROC)
|
||||
error->universe_all(FLERR,
|
||||
fmt::format("Fix {} only supports a single processor per bead", style));
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
#include "bosonic_exchange.h"
|
||||
|
||||
#include "atom.h"
|
||||
#include "comm.h"
|
||||
#include "error.h"
|
||||
#include "force.h"
|
||||
#include "universe.h"
|
||||
@ -46,6 +47,9 @@ FixPIMDBNVT::FixPIMDBNVT(LAMMPS *lmp, int narg, char **arg) : FixPIMDNVT(lmp, na
|
||||
error->universe_all(FLERR,
|
||||
"Method not supported in fix pimdb/nvt; only methods PIMD and NMPIMD");
|
||||
}
|
||||
if (comm->nprocs != 1)
|
||||
error->universe_all(FLERR,
|
||||
fmt::format("Fix {} only supports a single processor per bead", style));
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user