Open marcelo-alvarez opened 1 year ago
On further investigation, it appears that the installation succeeds if "module load cudatoolkit" is executed beforehand. The correct C/C++ compilers are found in desiconda/20220119-2.0.1 without the need to update Cmake.
I will leave this open until we can find a solution that does not require "module load cudatoolkit", since this is not currently a part of the standard DESI environment on Perlmutter. @sbailey
This was announced after the December perlmutter downtime, so it shouldn't actually come as a surprise. See https://docs.nersc.gov/development/languages/python/using-python-perlmutter/ and Rebecca Hartman-Baker's email on 22 December.
Specex won't install with desiconda/20220119-2.0.1 on Perlmutter, i.e.
fails with
The cleanest solution is likely to be to patch the current desiconda by updating cmake in desiconda to be consistent with the new version of craype (2.7.15 --> 2.7.19), e.g. by running
Evidence that this will work is that specex installs successfully with a fresh desiconda installation that includes an updated cmake with consistent defaults, so that, e.g. ,
CMAKE_C_COMPILER
is set correctly to/opt/cray/pe/craype/2.7.19/bin/cc
by default.However, we are not applying this patch so as not to risk breaking anything, since the current specex/main is up-to-date and the patch is not required at this time. If we get into a situation where we need to update specex in the desiconda/20220119-2.0.1 environment, then we can consider applying the patch outlined above. @sbailey