"Argument list too long" error from pycbc_grb_inj_finder
in large PyGRB workflows
#5053
Labels
PyGRB
PyGRB development
pycbc_grb_inj_finder
in large PyGRB workflows
#5053
@Thomas-JACQUOT and I have been running some fairly large PyGRB workflows with several tens of thousand injections. We ran into a problem where the injection finder job would fail with an "Argument list too long" error. This happens because
pycbc_grb_inj_finder
takes a huge list of all input inspiral files via the--input-files
argument, leading in our case to a command line that is more than 6 million characters long. I suspect similar problems might arise elsewhere in PyCBC workflows, for example in the trigger merge jobs in the all-sky search workflow, though I do not remember seeing one there.For the moment we hacked around this by using
glob()
inpycbc_grb_inj_finder
, but I am not sure that is a way we want to adopt permanently. Is there any recommendation on this from Pegasus?Anyway, the main point of this issue is to discuss the fact that this error is realistically possible, make a proposal to try and catch it early on during the generation of the workflow, and gather other ideas for what else we could do.
The text was updated successfully, but these errors were encountered: