Skip to content

Investigate removal of Cray compiler wrappers for Narwhal, Blueback #771

@climbfuji

Description

@climbfuji

Is your feature request related to a problem? Please describe.

This is from a conversation with spack developers:

Can you run ls -l /opt/cray/pe/cpe

> ls -l /opt/cray/pe/cpe/
total 1
drwxr-xr-x  2 root root 264 Feb 26  2021 21.03
drwxr-xr-x  2 root root 264 Mar 26  2021 21.04
drwxr-xr-x  2 root root 264 May  3  2021 21.05
drwxr-xr-x. 2 root root 264 Aug 24  2021 21.09
drwxr-xr-x  2 root root 264 Feb 16  2022 22.03
drwxr-xr-x  2 root root 264 Aug 22  2022 22.09
drwxr-xr-x  2 root root 264 Oct 27  2022 22.11
lrwxrwxrwx  1 root root   5 Aug 22  2022 default -> 22.09

Ok by what I have anything newer than 21.10 is supposed to support using the compilers without cc/CC/ftn, and Spack should be detecting yours as 22.09. Is your 22.09 not letting you use the compilers without cc/CC/ftn?
...
Interestingly, the two things I had to do to get fully functional spack environments were (a) tell spack that the external cray-mpich package uses the cray wrappers (+wrappers) and change the Python package to always apply the cray-rpath patch, i.e. remove the when condition.

Describe the solution you'd like
Move away from Cray compiler wrappers were possible

Additional context
See https://spackpm.slack.com/archives/C5W7NKZJT/p1694393880262699

Metadata

Metadata

Assignees

Labels

NAVYUnited States Naval Research LabNOAA-EMCOAR-EPICNOAA Oceanic and Atmospheric Research and Earth Prediction Innovation Center

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions