N8-CIR-Bede / documentation

Documentation for the N8CIR Bede Tier 2 HPC faciltiy
https://bede-documentation.readthedocs.io/en/latest/
7 stars 11 forks source link

Document Rust #112

Closed ptheywood closed 2 years ago

ptheywood commented 2 years ago

Rust is available on RHEL 8 images, installed centrally without the need for a module load (via the rust-toolset yum package?). Previously the presence of rust on Bede has only been mentioned in an email thread.

This is currently rust 1.54. It is not and will not be available on the RHEL 7 image.

The RHEL rust toolset package documentation: https://access.redhat.com/documentation/en-us/red_hat_developer_tools/1/html/using_rust_1.54.0_toolset/assembly_rust-toolset

This states it provides rust, cargo and rustfmt packages, but rustfmt doesn't appear to be available on Bede RHEL 8 images. rust-doc also appears to be installed.

Command line tools provided are

It is a compiler (plus toolset), so probably belongs in the compilers section, although it could go in the applications section instead much like R / python (as it's not a C/C++/Fortran compiler, so doesn't set CC etc like the other modules. alternatively compilers/index.rst could be tweaked.

I'm not aware of how stable rust's versions are, so it may be worth providing instructions on how to install a differnt version of rust/cargo to /nobackup if the system wide version is not compatible with the users code. This can probable be deffered to when it is required however.