JCSDA / spack-stack

Creative Commons Zero v1.0 Universal
21 stars 41 forks source link

Update Nautilus site config and common packages/modules to support oneAPI compilers (icx, icpx, ifort) #1135

Closed climbfuji closed 1 week ago

climbfuji commented 2 weeks ago

Summary

This PR adds a oneapi@2024.1.2 option to the nautilus site config. This option currently uses intel-oneapi-mpi instead of openmpi as MPI provider. If in-depth testing over the next weeks shows that this doesn't perform on Nautilus, we can change it.

The PR further adds the missing append-path logic to the stack-* meta modules, sets the I_MPI_* environment variables in the MPI meta modules (it doesn't hurt if those are always set, other MPI providers ignore them), and updates the documentation for supported compilers.

Testing

Applications affected

None

Systems affected

Nautilus

Dependencies

Issue(s) addressed

Resolves https://github.com/JCSDA/spack-stack/issues/1128

Checklist

AlexanderRichert-NOAA commented 2 weeks ago

What's the story with the append-path logic? What is it that's currently not working?

climbfuji commented 2 weeks ago

You want to append certain include paths (those that come from the compiler) so that the ones from spack come "first". I noticed that I coded up the prepend-path logic only, but not the append-path logic.

climbfuji commented 1 week ago

@AlexanderRichert-NOAA Would you like to take another look before I merge this? Thank you ...