Skip to content

Max_step vs hipace.max_time #1177

@lboult

Description

@lboult

Hi,

I would like to use the hipace.max_time definition to define how long my HiPACE simulations run for rather than max_step. However, I find that if I don't include max_step in the prefile that the simulation crashes with the message "Please use more or equal time steps than number of ranks".

I assume this is because HiPACE assumes the default value of max_step (0) and if you're using more than 1 gpu it doesn't like it. But anyway, I guess it should be the case that if hipace.max_time is provided then this should override the default value of max_step, if I'm understanding correctly?

Cheers,
Lewis

P.S would it also make sense to have max_step be hipace.max_step to be more consistent?

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