polaris.Component.run_parallel_command
- Component.run_parallel_command(args, cpus_per_task, ntasks, openmp_threads, logger, gpus_per_task=0)[source]
Run a command using the active parallel system
- Parameters:
args (list of str) – Command line arguments for the executable
cpus_per_task (int) – Number of CPUs per task
ntasks (int) – Number of parallel tasks
openmp_threads (int) – Number of OpenMP threads
logger (logging.Logger) – Logger to output command-line execution info
gpus_per_task (int, optional) – Number of GPUs per task