change proc count to color for MPI_Comm_split
This commit is contained in:
@ -91,12 +91,11 @@ Mpi/one mode of messaging:
|
||||
|
||||
Launch LAMMPS twice in a single mpirun command:
|
||||
|
||||
mpirun -np 2 lmp_mpi -mpi 2 -in in.message.client -v mode mpione -log log.client : -np 4 lmp_mpi -mpi 2 -in in.message.server -v mode mpione -log log.server
|
||||
mpirun -np 2 lmp_mpi -mpi 0 -in in.message.client -v mode mpione -log log.client : -np 4 lmp_mpi -mpi 1 -in in.message.server -v mode mpione -log log.server
|
||||
|
||||
The two -np values determine how many procs the client and the server
|
||||
run on.
|
||||
|
||||
A LAMMPS executable run in this manner must use the -mpi P
|
||||
command-line option as their first option, where P is the number of
|
||||
processors the first code in the mpirun command (client or server) is
|
||||
running on.
|
||||
A LAMMPS executable run in this manner must use the -mpi color
|
||||
command-line option as their first option, where color is set to
|
||||
one integer value for the 1st app, and another value for the 2nd app.
|
||||
|
||||
Reference in New Issue
Block a user