diff --git a/src/module/HDF5Output.cpp b/src/module/HDF5Output.cpp index 632fa1371..00ad3a3e2 100644 --- a/src/module/HDF5Output.cpp +++ b/src/module/HDF5Output.cpp @@ -248,7 +248,7 @@ void HDF5Output::close() { } void HDF5Output::process(Candidate* candidate) const { - #pragma omp critical(HDF5Output_access_file) + #pragma omp critical(HDFOutput) { if (file == -1) // This is ugly, but necesary as otherwise the user has to manually open the @@ -316,7 +316,7 @@ void HDF5Output::process(Candidate* candidate) const { pos += v.copyToBuffer(&r.propertyBuffer[pos]); } - #pragma omp critical(HDF5Output_access_file) + #pragma omp critical(HDFOutput) { const_cast(this)->candidatesSinceFlush++; Output::process(candidate); diff --git a/src/module/ParticleCollector.cpp b/src/module/ParticleCollector.cpp index 74e820680..f37d3779c 100644 --- a/src/module/ParticleCollector.cpp +++ b/src/module/ParticleCollector.cpp @@ -21,7 +21,7 @@ ParticleCollector::ParticleCollector(const std::size_t nBuffer, const bool clone } void ParticleCollector::process(Candidate *c) const { -#pragma omp critical(ModifiyContainer) +#pragma omp critical(ModifyContainer) { if(clone) container.push_back(c->clone(recursive));