Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use the module name ray to discover versions available and to load the application, and required dependencies.

Testing: Based on User Manual

Examples

The examples have been updated on the 20220513 due to the mpi issue indictaed on our Known Issues page.

Example 1: Using one node, with ten tasks (one core per task). Notice that the srun -n option is set to 1 * 10 = 10:

Code Block
languagecpp
#!/bin/bash
#SBATCH --account=<project-name>
#SBATCH --time=00:30:00
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=10
#SBATCH --cpus-per-task=1
#SBATCH --output=ray_%A.out

module load ray/2.3.1

srun --mpi=pmi2 -n 10 Ray -o test -p test_file_1.fastq test_file_2.fastq -k 31

Example 2: Using five nodes, with sixteen tasks per node (one core per task). Notice that the srun -n option is set to 5 * 16 = 80:

...

languagecpp

...

Multicore

The Ray application is MPI enabled and can thus run across multiple nodes with the appropriate resources requested.

To run, use the following:

Code Block
srn Ray ...