Skip to content

Minimum number of repetitions required for sumo run #20

@aakrosh

Description

@aakrosh

sumo run fails with the following message when a small number of repetitions (-n 2 in this case) is used.

Traceback (most recent call last):
  File "sumo/env/bin/sumo", line 11, in <module>
    load_entry_point('python-sumo', 'console_scripts', 'sumo')()
  File "sumo/src/sumo/run.py", line 15, in main
    mode.run()
  File "sumo/src/sumo/modes/run/run.py", line 150, in run
    results = [_run_factorization(sparsity=sparsity, k=k, sumo_run=_sumo_run) for sparsity in self.sparsity]
  File "sumo/src/sumo/modes/run/run.py", line 150, in <listcomp>
    results = [_run_factorization(sparsity=sparsity, k=k, sumo_run=_sumo_run) for sparsity in self.sparsity]
  File "sumo/src/sumo/modes/run/run.py", line 336, in _run_factorization
    consensus_labels = extract_ncut(consensus, k=k)
  File "sumo/src/sumo/utils.py", line 195, in extract_ncut
    u, s, vh = np.linalg.svd(np.eye(a.shape[0]) - d @ a @ d)
  File "<__array_function__ internals>", line 6, in svd
  File "sumo/env/lib/python3.6/site-packages/numpy/linalg/linalg.py", line 1626, in svd
    u, s, vh = gufunc(a, signature=signature, extobj=extobj)
ValueError: On entry to DLASCL parameter number 4 had an illegal value

Is there a minimum value that should be specified for a successful run?

Metadata

Metadata

Assignees

No one assigned

    Labels

    sumo runissue concerns "run" mode

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions