If doing a CSM install or upgrade, the release tarball contains a CANU RPM. It can be extracted and installed using the following steps.
Display the current CANU version.
canu --version
Set the TARBALL
variable to the path and filename of the CSM release tarball:
TARBALL=/your/path/here/csm-version.tar.gz
Extract the CANU RPM from the tarball:
tar -xzvf "$TARBALL" --wildcards "*/canu*.rpm"
Output should look similar to the following:
csm-1.2.0-beta.81/rpm/cray/csm/sle-15sp2/x86_64/canu-1.2.1-1.x86_64.rpm
Note the path to the RPM from the output of the previous command, and install it:
rpm -Uvh <path-to-canu-rpm>
Display the new CANU version.
canu --version