git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11069 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -338,8 +338,9 @@ void Dump::write()
|
|||||||
|
|
||||||
// if buffering, convert doubles into strings
|
// if buffering, convert doubles into strings
|
||||||
// insure sbuf is sized for communicating
|
// insure sbuf is sized for communicating
|
||||||
|
// cannot buffer if output is to binary file
|
||||||
|
|
||||||
if (buffer_flag) {
|
if (buffer_flag && !binary) {
|
||||||
nsme = convert_string(nme,buf);
|
nsme = convert_string(nme,buf);
|
||||||
int nsmin,nsmax;
|
int nsmin,nsmax;
|
||||||
MPI_Allreduce(&nsme,&nsmin,1,MPI_INT,MPI_MIN,world);
|
MPI_Allreduce(&nsme,&nsmin,1,MPI_INT,MPI_MIN,world);
|
||||||
@ -363,7 +364,7 @@ void Dump::write()
|
|||||||
|
|
||||||
// comm and output buf of doubles
|
// comm and output buf of doubles
|
||||||
|
|
||||||
if (buffer_flag == 0) {
|
if (buffer_flag == 0 || binary) {
|
||||||
if (filewriter) {
|
if (filewriter) {
|
||||||
for (int iproc = 0; iproc < nclusterprocs; iproc++) {
|
for (int iproc = 0; iproc < nclusterprocs; iproc++) {
|
||||||
if (iproc) {
|
if (iproc) {
|
||||||
|
|||||||
Reference in New Issue
Block a user