Commit 14e9efce authored by Lukas Weber's avatar Lukas Weber
Browse files

make hdf5 ignore locks

parent f5c6f5ad
......@@ -34,6 +34,11 @@ inline int run_mc(int (*starter)(jobinfo job, const mc_factory &, int argc, char
std::string jobfile{argv[1]};
jobinfo job{jobfile};
// bad hack because hdf5 locking features will happily kill your
// production run in the middle of writing measurements if you block
// a writing lock by reading some measurement files.
setenv("HDF5_USE_FILE_LOCKING", "FALSE", 1);
int rc = starter(job, mccreator, argc, argv);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment