Skip to content

Commit 0c69826

Browse files
committed
HepMC: Remove default backgrounding mode
Removing the default & at the end of HepMC child processes. This should not be needed and actually leads to children be executed outside of the process tree of simulation. This in turn corrupts CPU and MEM monitoring in O2DPG MC workflows. Changing default for now but maybe we can eventually get rid of this completely.
1 parent 5b80bab commit 0c69826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Generators/include/Generators/GeneratorFileOrCmdParam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ struct GeneratorFileOrCmdParam : public o2::conf::ConfigurableParamHelper<Genera
3535
std::string seedSwitch = "-s";
3636
std::string bMaxSwitch = "-b";
3737
std::string nEventsSwitch = "-n";
38-
std::string backgroundSwitch = "&";
38+
std::string backgroundSwitch = ""; // SW: might not be relevant at all since we launch inside fork+exec
3939
O2ParamDef(GeneratorFileOrCmdParam, "GeneratorFileOrCmd");
4040
};
4141

0 commit comments

Comments
 (0)