Skip to content
Snippets Groups Projects
Commit 84822218 authored by carlocamilloni's avatar carlocamilloni
Browse files

Merge branch 'v2.4' into v2.5

parents 7dc0b25d e9856c8c
No related branches found
No related tags found
No related merge requests found
...@@ -342,6 +342,9 @@ OFile& OFile::rewind() { ...@@ -342,6 +342,9 @@ OFile& OFile::rewind() {
int check=rename(fname.c_str(),backup.c_str()); int check=rename(fname.c_str(),backup.c_str());
plumed_massert(check==0,"renaming "+fname+" into "+backup+" failed for reason: "+strerror(errno)); plumed_massert(check==0,"renaming "+fname+" into "+backup+" failed for reason: "+strerror(errno));
} }
if(comm) comm->Barrier();
if(gzfp) { if(gzfp) {
#ifdef __PLUMED_HAS_ZLIB #ifdef __PLUMED_HAS_ZLIB
gzfp=(void*)gzopen(const_cast<char*>(this->path.c_str()),"w9"); gzfp=(void*)gzopen(const_cast<char*>(this->path.c_str()),"w9");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment