-
Notifications
You must be signed in to change notification settings - Fork 64
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
Add scripts to load dependency packages via Environment Modules #409
Conversation
Did you mean to write Or is there a |
Yes, it should be |
Thanks. Also in that comment (and reading the code...) starver expects a filename like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As noted in other comment... I believe these scripts should carry the ".config" suffix rather than ".csh".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am a bit concerned about the multiplicity of config files that could / will appear in mgr. I would propose to address this by organizing the scripts into subdirectories in mgr. The starver script already should support this...
starver dev v0.2.0/5.34.38/64b
would execute mgr/v0.2.0/5.34.38/64b.config
There would need to be a directory layout naming convention...
star-environment/root-version/ ... /32b.config
or 64b.config
Other subdirectories to be added for (e.g.) geant versioning.
I appreciate the suggestion to minimize clutter, @klendathu2k .Can we know in advance what all items need versioning (e.g. GEANT, then what else?)....because re-organizing later would be problematic for maintaining compatibility of people's private scripts. |
@genevb Geant versioning would be good. But as we add more and more directory levels... the starver command becomes less and less user friendly. More error prone for users to discover the available scripts. More annoying to type. So perhaps a flat directory structure is preferred after all. But the scripts should be under mgr/config instead of mgr to avoid the clutter. |
And one last comment. The starver script looks for these environment scripts under $STAR/mgr. If it isn't found, a default config is executed. This means there is no possibility to specify a local script. The trick that I normally use (setting STAR to the local directory) doesn't work... b/c starver resets it.
|
Right, Jerome mentioned at the beginning that he would add this if we requested. Maybe we should request, as it would also help test this before final integration |
Ok I sent an email to Jerome to address the loading of configs from local user directories. |
I would drop the v0.2.0 configs and only keep the currently latest v0.2.3. Since it is going to be the first time we rely on this environment there is no need to keep the older ones around. |
Hi can we resolve this - I have not received any new comments? We are waiting on this for the potential to run production with official libraries (or dev). Maybe just need an approval from @plexoos I have not heard from Jerome, but will ping him. |
I have no objections and can approve and merge ASAP. If I understand correctly this will not have an immediately effect as there is no |
I also have no objection with these files in a
Waiting only 19 minutes to merge after requesting to hear from the Production Team seems a bit....short? ;-) -Gene p.s. Jerome is at a conference for which he is an organizer and contributing author on multiple talks. I'm not saying whether or not you will hear from him, but I'm giving you some context for why you might not. |
Depends on your reference point: 19 minutes since my comment or 13 days since the original post Thank you for confirming the (lack of) possible impact! |
I checked out the group directory from CVS and modified .starver to look for a local configuration file. I confirmed that my version of starver runs, and executes the configuration script. I expect that the environment will be setup for root 6. It still points to root 5. So... this does not appear ready for prime time. This is the config file which will be executed...
This is the starver command executed and its result (I've deleted most of the
And now which version of ROOT is loaded?
|
I am a bit confused... What commands do I need to run to reproduce? |
Probably the simplest way to reproduce ...
$ cp -R ~jwebb/group .
$ cp -R /star/simu/simu/jwebb/2022/star-root6/star-sw-1/mgr .
$ setup 64b
$ setenv GROUP_DIR ./group
$ starver dev v0.23-6.16.00
…On 2022-10-26 10:58, Dmitri Smirnov wrote:
I am a bit confused... What commands do I need to run to reproduce?
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you were mentioned.Message ID:
***@***.***>
Links:
------
[1]
#409 (comment)
[2]
https://github.com/notifications/unsubscribe-auth/ANL4LVDUCDCMHKKI4CQ3CX3WFFBJLANCNFSM6AAAAAARDJOAX4
|
Ok, I followed the steps exactly. Here is what I see: $ which root.exe
/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.16.00-bdclikaa3lfpfqolnfmwkcv5ws4vtepn/bin/root.exe |
Okay. That means there is something funny going on in my environment.
…On 2022-10-26 11:36, Dmitri Smirnov wrote:
Ok, I followed the steps exactly. Here is what I see:
$ which root.exe
/cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.16.00-bdclikaa3lfpfqolnfmwkcv5ws4vtepn/bin/root.exe
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you were mentioned.Message ID:
***@***.***>
Links:
------
[1]
#409 (comment)
[2]
https://github.com/notifications/unsubscribe-auth/ANL4LVB52C7WV3HRXTFS2LTWFFFYXANCNFSM6AAAAAARDJOAX4
|
... and now it is working for me. I picked the wrong week to stop
drinking coffee.
…On 2022-10-26 11:47, jwebb wrote:
Okay. That means there is something funny going on in my environment.
On 2022-10-26 11:36, Dmitri Smirnov wrote:
> Ok, I followed the steps exactly. Here is what I see:
>
> $ which root.exe
> /cvmfs/star.sdcc.bnl.gov/star-spack/spack/opt/spack/linux-rhel7-x86_64/gcc-4.8.5/root-6.16.00-bdclikaa3lfpfqolnfmwkcv5ws4vtepn/bin/root.exe
>
> --
> Reply to this email directly, view it on GitHub [1], or unsubscribe
> [2].
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
> Links:
> ------
> [1]
> #409 (comment)
> [2]
> https://github.com/notifications/unsubscribe-auth/ANL4LVB52C7WV3HRXTFS2LTWFFFYXANCNFSM6AAAAAARDJOAX4
|
This PR provides 2 configs to load spack library versions:
0.2.3 (32b & 64b)
I have not added scripts for root 6 variants yet as I do not think these are used by anyone.
If I understand correctly, these will become usable with, e.g.:
OR
Closes #359