openhpc / ohpc

OpenHPC Integration, Packaging, and Test Repo
http://openhpc.community
Apache License 2.0
852 stars 185 forks source link

intel-compilers-devel-ohpc path causing integration issues with Bright Cluster Manager #586

Open metzenw opened 6 years ago

metzenw commented 6 years ago

Bright installs the Intel Parallel Studio under the following path and it causes an issue with " intel-compilers-devel-ohpc"

[root@bright80]# rpm -qal | grep "intel64/icc"
/cm/shared/apps/intel/compilers_and_libraries/2017.2.174/bin/intel64/icc
/cm/shared/apps/intel/compilers_and_libraries/2017.2.174/bin/intel64/icc.cfg
/cm/shared/apps/intel/compilers_and_libraries/2017.2.174/bin/intel64/icc_libFNP.so

In the intel-compilers-devel-ohpc path, there is a check for "linux/bin/intel64/icc", wich does not resolve since Bright packages it as "2017.2.174/bin/intel64/icc" rpm -qal | grep "linux/bin/intel64/icc" The request here is to remove the "linux" path in this check.

koomie commented 6 years ago

Can I see what package owns the paths you provided? something like

rpm -qf /cm/shared/apps/intel/compilers_and_libraries/2017.2.174/bin/intel64/icc
metzenw commented 6 years ago

rpm -qf /cm/shared/apps/intel/compilers_and_libraries/2017.2.174/bin/intel64/icc intel-cc-2017-17.0.2-53_cm8.0.x86_64

koomie commented 6 years ago

So, it seems they are repackaging and providing their own path layout. I'd say this falls outside intended support, and while I wouldn't mind tweaking the rpm query to remove linux from the leading path, I don't think that will be sufficient to make this work. In particular, we are leveraging the compilervars.sh script to create a modulefile dynamically, and again that is expected to reside in a .../linux/bin/compilervars.sh path. Perhaps a fix on your side would be to create a soft link for the linux directory so the ohpc compatibility can resolve the expected path?

github-actions[bot] commented 1 month ago

A friendly reminder that this issue had no activity for 30 days.