Skip to content

--failsafe_threshold in ml_optimiser is no longer used. #1325

@huwjenkins

Description

@huwjenkins

The option --failsafe_threshold:

failsafe_threshold = textToInteger(parser.getOption("--failsafe_threshold", "Maximum number of particles permitted to be handled by fail-safe mode, due to zero sum of weights, before exiting with an error (GPU only).", "40"));

Was added to the original ‎src/gpu_utils/cuda_ml_optimiser.cu in db46c45 after the refactoring of this code was started in f160b82.

The failsafe method itself had already been removed from src/acc/acc_ml_optimiser_impl.h in 3ab12c1 by the time the option was added to ‎src/gpu_utils/cuda_ml_optimiser.cu(!) and so both this option and ERRNUMFAILSAFE:

#define ERRNUMFAILSAFE ("Relion had to use extra-precision fallbacks too many times.\n\n\

were no longer used in the code (45a8ed0) before RELION-4 was released . It probably would be good to remove the unused option?

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