Skip to content

Improve SchedulerPy #61

@palful

Description

@palful

The schedulerpy module needs to be improved, because as it stands it can only support simple submission scripts. For example, in the slurm case, many arguments are not recognized by default (such as reservation, account, etc).

It could be changed in such a way that all kwargs (which may containing scheduler-specific arguments) are always accepted even if the argument names themselves are not hardcoded: in this case, yambopy may use the name of the argument itself as given by the user (it may convert underscores to hyphens as standard behaviour in the slurm case).

Another option is to have a reference dictionary with all possible arguments for each scheduler hardcoded in a specific file, and the kwargs are checked against this dictionary.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions