Skip to content

self.build_locally = False doesn't get a --time specification with Slurm based launching. #1733

@akesandgren

Description

@akesandgren

using this config:

site_configuration = {
    'systems': [
        {   
            'name': 'kebnekaise',
            'descr': 'Kebnekaise cluster',
            'hostnames': ['b-'],
            'modules_system': 'lmod',
            'partitions': [
                {   
                    'name': 'bdw',
                    'descr': 'Broadwell compute nodes',
                    'scheduler': 'slurm',
                    'launcher': 'srun',
                    'access': ['-C broadwell', '-A sysop'],
                    'environs': ['gnu', 'intel'],
                    'resources': [
                        {   
                            'name': 'tasks',
                            'options': ['-n {cores}']
                        },
                    ],
                },
...
}

And a test that does

self.build_locally = False

The build phase created slurm batch file lacks a --time specification, causing it to fail on our system since we require it to be specified.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions