| 1 | package HPCD::SLURM::JobGroup; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | HPCD::SLURM::JobGroup | ||
| 6 | |||
| 7 | =head1 SYNOPSIS | ||
| 8 | |||
| 9 | This is an internal module that would never cause a user to write "use HPCD::SLURM::JobGroup" | ||
| 10 | themselves. Users get it provided for them when they write "use HPCI; HPCI->JobGroup( cluster | ||
| 11 | => 'SLURM', ... ) | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | ### INCLUDES ################################################################## | ||
| 16 | |||
| 17 | # safe Perl | ||
| 18 | use warnings; | ||
| 19 | use strict; | ||
| 20 | use Carp; | ||
| 21 | use Moose::Role; | ||
| 22 | |||
| 23 | with 'HPCI::JobGroup' => { theDriver => 'HPCD::SLURM' }; | ||
| 24 | |||
| 25 | after 'BUILD' => sub { | ||
| 26 | my $self = shift; | ||
| 27 | $self->info( | ||
| 28 | "SLURM job submission will use: srun\n" | ||
| 29 | ); | ||
| 30 | }; | ||
| 31 | |||
| 32 | =head1 AUTHOR | ||
| 33 | |||
| 34 | John Macdonald - Boutros Lab | ||
| 35 | |||
| 36 | Anqi (Joyce) Yang - Boutros Lab | ||
| 37 | |||
| 38 | =head1 ACKNOWLEDGEMENTS | ||
| 39 | |||
| 40 | Paul Boutros, Phd, PI - Boutros Lab | ||
| 41 | |||
| 42 | The Ontario Institute for Cancer Research | ||
| 43 | |||
| 44 | =cut | ||
| 45 | |||
| 46 | 1; |