Skip to content

Hyperqueue error in set_parallelization #76

@npaulish

Description

@npaulish

if run_hyperqueue:
if aiida_hq_installed:
metadata = get_metadata_hq(
num_cpus=num_cpus,
max_wallclock_seconds=max_wallclock_seconds,
memory_mb=memory_mb,
queue_name=queue_name,
account=account,
)
else: # aiida-hyperqueue not installed
raise ModuleNotFoundError(
"Must install aiida-hyperqueue using AiiDA with hyperqueue"
)
else:

Is this really needed in the setter function? It was causing an error in AIidalab where Hyperqueue is used. However, everything works when I just commented this out (aiida-hyperqueue should take care of adapting the metadata if I'm not mistaken).

We found this together with @superstar54
Pinging @jiang-yuha0 @qiaojunfeng

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions