Add run_palace and combine_snp wrapper scripts for gds2palace integration#260
Draft
Copilot wants to merge 2 commits into
Draft
Add run_palace and combine_snp wrapper scripts for gds2palace integration#260Copilot wants to merge 2 commits into
Copilot wants to merge 2 commits into
Conversation
…tion Agent-Logs-Url: https://github.com/iic-jku/IIC-OSIC-TOOLS/sessions/1eb5b461-fe3f-46e1-ab61-861949457e75 Co-authored-by: hpretl <57392031+hpretl@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix mesh generation error in gds2palace integration
Add run_palace and combine_snp wrapper scripts for gds2palace integration
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
gds2palaceworkflow auto-generates arun_simscript callingrun_palaceandcombine_snp, but neither script was provided anywhere in the IIC-OSIC-TOOLS environment, causing immediatecommand not foundfailures when running any gds2palace simulation.Changes
_build/images/palace/scripts/run_palace— bash wrapper around thepalacebinary; supports optional-np Nfor MPI parallelism_build/images/palace/scripts/combine_snp— bash wrapper that invokescombine_extend_snp.pyviareadlink -fso it resolves correctly when called through the${TOOLS}/bin/symlink_build/images/palace/scripts/combine_extend_snp.py— Python post-processor (adapted from gds2palace_ihp_sg13g2/scripts) that walks the output tree forport-S.csv(Palace) orscalar_results.names(Elmer), assembles the full S-matrix, writes Touchstone.snp, and optionally performs DC extrapolation and port de-embedding via scikit-rf_build/images/palace/scripts/install.sh— installs the above to${TOOLS}/palace/bin/and${TOOLS}/palace/lib/; the existinginstall_links.shauto-symlinks${TOOLS}/*/bin/*→${TOOLS}/bin/, so both scripts land in PATH without further changesNotes on the gmsh display errors
The
Could not generate display lists/XRequest.148: BadValueerrors visible in the screenshots are cosmetic X11/OpenGL warnings from gmsh's FLTK window underLIBGL_ALWAYS_INDIRECT=1(set bystart_x.shin WSL mode). The mesh is generated and written successfully. Users can suppress the GUI entirely withsettings['no_gui'] = Truein their simulation script, or switch to VNC mode.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/VolkerMuehlhaus/gds2palace_ihp_sg13g2/contents//usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/VolkerMuehlhaus/gds2palace_ihp_sg13g2/contents/workflow/usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/VolkerMuehlhaus/gds2palace_ihp_sg13g2/contents/workflow/scripts/usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/awslabs/palace/commits/e72ad3b6aa8af6fc7a9e08a5cb1b387cc3c8beba/usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/awslabs/palace/contents//usr/bin/curl curl -s REDACTED(http block)https://api.github.com/repos/awslabs/palace/contents/scripts/usr/bin/curl curl -s REDACTED conntrack --ctstate INVALID,NEW -j DROP(http block)If you need me to access, download, or install something from one of these locations, you can either: