Generate overwrite parameter grid (generalized)#2298
Conversation
…m/gammasim/simtools into generate-overwrite-parameter-grid
…m/gammasim/simtools into generate-overwrite-parameter-grid
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
|
@EshitaJoshi - I am trying to understand the default of job_grid_io.py: |
|
@EshitaJoshi - this is a copy of your branch with some simplifications applied. Feel free to change the base branch for this merge request to see the changes. I've checked the output grid, but didn't text the submission with HT Condor etc. Please do this testing. |
| command_parts.extend( | ||
| [ | ||
| "--output_path /tmp/simtools-output", | ||
| f'--grid_output_path "{bash_indices["grid_output_path"]}"', |
There was a problem hiding this comment.
I think the flag needs to change to --pack_for_grid_register and then it works for htcondor
There was a problem hiding this comment.
pack_for_grid_register changed to grid_output_path (is clearer). Is there still somewhere pack_for_grid_register used?
There was a problem hiding this comment.
Seems to be used still in simulate-prod as I get this error when I try to submit the .condor file: simulate_prod: error: unrecognized arguments: --grid_output_path ./simtools-output/default
There was a problem hiding this comment.
No wait, i guess i need a new apptainer image?
EshitaJoshi
left a comment
There was a problem hiding this comment.
Thanks a lot for the generalisation! This looks good to me - I also tested it on htcondor and it all works as expected.
|




This is based on #2248 with the following changes are applied: