Skip to content

Sample submit script for running ray on biowulf

Notifications You must be signed in to change notification settings

NIH-HPC/biowulf_ray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Sample script for submitting ray jobs on biowulf

  • The submit script was adapted from the submit script in the ray documentation. The example python scripts are from the ray repository.
  • I could not get ray to work properly with more than one task per node. The task doesn't have to be exclusive but in realistic examples it probably would be. In this example it is not.
  • Use --tasks-per-node and --nnodes to determine the number of worker processes.
  • Use --cpus-per-task and --gpus-per-task to determine the number of CPUs and GPUs. If you allocate exclusively, please also allocate all resources.
  • For real multinode jobs submit to the multinode partition. This simple example is fine on the quick partition.

To submit:

git clone https://github.com/NIH-HPC/biowulf_ray.git
sbatch submit-ray

About

Sample submit script for running ray on biowulf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published