Skip to content

Fix PGIS regression due to cxxopts update#72

Merged
pearzt merged 2 commits intotudasc:develfrom
pearzt:fix/pgis-cxxopts
Aug 8, 2025
Merged

Fix PGIS regression due to cxxopts update#72
pearzt merged 2 commits intotudasc:develfrom
pearzt:fix/pgis-cxxopts

Conversation

@pearzt
Copy link
Member

@pearzt pearzt commented Aug 7, 2025

PR to fix regression that I introduced in #68

Co-authored-by: Tim Heldmann <tim.heldmann@tu-darmstadt.de>
Co-authored-by: Sebastian Kreutzer <sebastian.kreutzer@tu-darmstadt.de>
@pearzt pearzt marked this pull request as draft August 7, 2025 16:30
@pearzt pearzt self-assigned this Aug 7, 2025
@TimHeldmann
Copy link
Member

LGTM, why is this marked as draf?

@pearzt
Copy link
Member Author

pearzt commented Aug 8, 2025

Maybe it looked good, but it wasn't working yet, that's why it was a draft. I think I've fixed it now. Downstream CI is running now.

@pearzt pearzt marked this pull request as ready for review August 8, 2025 09:11
@pearzt pearzt requested review from TimHeldmann and jplehr August 8, 2025 09:11

```{.sh}
$> pgis_pira --metacg-format 2 --parameter-file <parameter-file> --lide 1 --cube cube-file mcg-file
$> pgis_pira --metacg-format 2 --parameter-file <parameter-file> --lide --cube cube-file mcg-file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this 1 getting removed?
Iirc this is load imbalance dectection?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--lide is a boolean option (either it's present or it's not), so the 1 was unnecessary even before, but was just ignored. With the new parsing logic based on a positional argument the 1 was being wrongfully parsed as the MetaCG input file.

@pearzt pearzt merged commit b56f791 into tudasc:devel Aug 8, 2025
3 checks passed
@pearzt pearzt deleted the fix/pgis-cxxopts branch August 8, 2025 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants