-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Put an arc5gl in ska3-template and set for RH8 #855
Conversation
I would figure out issue #856 first, because I would bundle them. |
I think we've hesitated in the past to remove $SKA/lib from LD_LIBRARY_PATH because we didn't define a test plan for the perl code #73 or anything else that might by dynamically linked and need those $SKA/lib libraries. So I suppose this would need more comprehensive testing for starcheck, Replan Central, arc5gl, and task_schedule to start. I don't care about needing to support the other perl code (aca_egse splat) if we can just run them from an old environment and certify aca_view. |
I think this is also independent of #856 , but this would need to be retested with that. |
Why is |
I duplicated the functionality that was in the previous arc5gl (/proj/sot/ska/bin/arc5gl) that called a perl that was always configured to have the skare3 environment variables from the #! without requiring that the user be "in" a skare3 environment. I couldn't figure out how to do that without a wrapper. If we don't need to have that functionality we can remove it, but I also figured it didn't cost much. |
I figured that is what the |
The perlwrap is used in the #! line of arc5gl. I tried to use skare directly in a #! line like
and that just gives
I didn't explore how to call |
It looks like, technically, RH8 supports the use of the "-S" flag to env, so this would work:
But that doesn't work with /usr/bin/env in CentOS7. |
@taldcroft Can you think of a need to have arc5gl run directly without having HEAD ska environment variables sourced? I figured it was more work/testing to remove functionality but am not attached to it. While I am used calling /proj/sot/ska/bin/arc5gl directly by hand (and probably have an alias somewhere), I could just update my SOP or any aliases to call skare directly before calling arc5gl. When it comes to perl stuff, I suppose telem_archive and fid_drift_mon probably will not run on RH8 even from the ska2 environment, so not sure if we want to finally fix that or just try to keep them running from CentOS7 indefinitely. |
I personally would never think to do that. I'd type
|
Maybe that is my question... What are you doing now to run arc5gl because I figure you aren't sourcing into ska2? Or just doesn't come up? |
I would use my |
Some quick research:
|
Maybe we need a new |
Yes, if we get to that point (no CentOS7) we could do that. I might also be able to keep the ska2 working on RH8 with a couple of direct edits to those versions of the perl modules. |
Reading this thread... it seems like if this solves the issue, then we should merge, right? (and the thing about telem_archive and fid_drift_mon is a digression). |
Yes, the handling of the other perl stuff (old ska2 that might not run on RH8) is a digression. Since neither of you seem to want the perl wrapper in arc5gl I've removed it, though that does mean I'll need to redo my testing thus far. |
To be clear, I have no strong opinions about implementation, except:
|
I think my testing of this (which was basically against the draft environment) is sufficient. |
I'm ok with merging, rebasing 2022.6 on top of this and continuing. |
OK. Merged. |
I'm not sure how things are set to kick off a new build of ska3-template, otherwise it can be built manually. |
Well this is exciting, long time coming!! |
Description
Updates for RH8:
Interface impact
Testing:
For testing, I set /proj/sot/ska3/test-rh8 to have these changes + updated eng_archive + update ska.shell module + updated ska.arc5gl module.
Unit tests
Functional tests