-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi!
When trying to start remora from an interactive Slurm session, it immediately exits with the following error:
$ srun --pty bash
[cn] $ remora --help
REMORA Error: Incorrect syntax: REMORA can't run in parallel
REMORA Howto
remora ./myapp [args] (serial applications)
remora ibrun [options] ./myapp [args] (parallel MPI applications)
Our Slurm setup has MpiDefault=pmi2, and when starting an interactive session with srun --pty bash, the PMI environment is set, so PMI_RANK is defined in the environment, and remora thinks that it's running in a parallel mode (checks are in check_running_parallel() in aux/extra).
Unsetting the PMI_RANK variable allowsremora to start:
$ srun --pty bash
[cn] $ unset PMI_RANK
[cn] $ remora --help
SYNOPSIS
remora ./myapp [args] (serial applications)
remora ibrun [options] ./myapp [args] (parallel MPI applications)
DESCRIPTION
REMORA: REsource MOnitoring for Remote Applications
[...]
Metadata
Metadata
Assignees
Labels
No labels