Rust
Overview
Rust is an open-source, low-level programming language that focuses on performance and security (memory- and thread-safety).
Availability
| Cluster | Module/Version |
|---|---|
| BOSE | rust/1.99.0 |
| BGSC | N/A |
Note: You can simply use "module load rust" to activate the most recently installed version of this software.
Sample Slurm Script
submit.sh
#!/bin/bash
# -- SLURM SETTINGS -- #
# [..] other settings here [..]
# The following settings are for the overall request to Slurm
#SBATCH --ntasks-per-node=32 # How many CPU cores do you want to request
#SBATCH --nodes=1 # How many nodes do you want to request
# -- SCRIPT COMMANDS -- #
# Load the needed modules
module load rust/1.99.0 # Load Rust
rustc mycode.rs # Compile Rust source code
./mycode # Run newly compiled binary
Real Example
Has your research group used Rust in a project? Contact the HPC Team and we'd be glad to feature your work.