From 80bb3e07207116a84e577deccd9c1e255d498917 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Sat, 23 Nov 2019 21:32:57 +0100 Subject: [PATCH 1/2] Add support for TACC's ibrun parallel job launcher --- docs/configure.rst | 2 ++ reframe/core/launchers/mpi.py | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/docs/configure.rst b/docs/configure.rst index 3ea07e667f..6a0bc4b674 100644 --- a/docs/configure.rst +++ b/docs/configure.rst @@ -305,6 +305,8 @@ ReFrame supports the following parallel job launchers: * ``alps``: Programs on the configured partition will be launched using the ``aprun`` command. * ``mpirun``: Programs on the configured partition will be launched using the ``mpirun`` command. * ``mpiexec``: Programs on the configured partition will be launched using the ``mpiexec`` command. +* ``ibrun``: *[new in 2.21]* Programs on the configured partition will be launched using the ``ibrun`` command. + This is a custom parallel job launcher used at `TACC `__. * ``local``: Programs on the configured partition will be launched as-is without using any parallel program launcher. * ``ssh``: *[new in 2.20]* Programs on the configured partition will be launched using SSH. This option uses the partition's ``access`` parameter (see `above <#partition-configuration>`__) in order to determine the remote host and any additional options to be passed to the SSH client. diff --git a/reframe/core/launchers/mpi.py b/reframe/core/launchers/mpi.py index 6c38887035..c0fc5a9d93 100644 --- a/reframe/core/launchers/mpi.py +++ b/reframe/core/launchers/mpi.py @@ -8,6 +8,14 @@ def command(self, job): return ['srun'] +@register_launcher('ibrun') +class SrunLauncher(JobLauncher): + '''TACC's custom parallel job launcher.''' + + def command(self, job): + return ['ibrun'] + + @register_launcher('alps') class AlpsLauncher(JobLauncher): def command(self, job): From 66a0c54c582f9e01fc41b588feceb2072bf22128 Mon Sep 17 00:00:00 2001 From: Vasileios Karakasis Date: Sat, 23 Nov 2019 21:47:15 +0100 Subject: [PATCH 2/2] Fix ibrun launcher's class name --- reframe/core/launchers/mpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reframe/core/launchers/mpi.py b/reframe/core/launchers/mpi.py index c0fc5a9d93..68da3ad4e4 100644 --- a/reframe/core/launchers/mpi.py +++ b/reframe/core/launchers/mpi.py @@ -9,7 +9,7 @@ def command(self, job): @register_launcher('ibrun') -class SrunLauncher(JobLauncher): +class IbrunLauncher(JobLauncher): '''TACC's custom parallel job launcher.''' def command(self, job):