message: Fix for mkdir, only rank 0 + barrier
diff: @@ -49,7 +49,11 @@ void FilePOSIX::Open(const std::string &name, const Mode openMode)
  case (Mode::Write):
  ProfilerStart("open");
  ProfilerStart("open_mkdir");
  - MkDir(m_Name);
  + if (m_RankMPI == 0)
  + {
  + MkDir(m_Name); // only rank 0 makes request to the file system
  + }
  + MPI_Barrier(m_MPIComm); // all ranks wait for directory .bp.dir
  ProfilerStop("open_mkdir");
  m_FileDescriptor =
  open(m_Name.c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0666);
  