Opened 15 years ago

Closed 15 years ago

#246 closed defect (duplicate)

Errors in test_geospatial_data when run on node of cyclone.

Reported by: nick Owned by: nick
Priority: low Milestone:
Component: Functionality and features Version:
Severity: minor Keywords:
Cc:

Description

4 tests fail when running test_geospatial_data.py on a node using mpirun.

======================================================================
ERROR: test_find_optimal_smoothing_parameter (__main__.Test_Geospatial_data)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_geospatial_data.py", line 1878, in test_find_optimal_smoothing_parameter
    verbose=False)
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 1485, in find_optimal_smoothing_parameter
    G_small, G_other = G.split(split_factor,seed_num, verbose=verbose)
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 697, in split
    random_list.append(remainder_list.pop(i))
IndexError: pop index out of range

======================================================================
ERROR: test_find_optimal_smoothing_parameter1 (__main__.Test_Geospatial_data)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_geospatial_data.py", line 1927, in test_find_optimal_smoothing_parameter1
    verbose=False)
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 1485, in find_optimal_smoothing_parameter
    G_small, G_other = G.split(split_factor,seed_num, verbose=verbose)
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 697, in split
    random_list.append(remainder_list.pop(i))
IndexError: pop index out of range

======================================================================
ERROR: test if the results from spilt are disjoin sets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_geospatial_data.py", line 1812, in test_split
    G1, G2  = G.split(factor,100)
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 697, in split
    random_list.append(remainder_list.pop(i))
IndexError: pop index out of range

======================================================================
ERROR: test if the results from spilt are disjoin sets
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_geospatial_data.py", line 1836, in test_split1
    G1, G2  = G.split(factor,100)
  File "/d/cit/1/cit/unixhome/nbartzis/anuga/anuga_core/source/anuga/geospatial_data/geospatial_data.py", line 697, in split
    random_list.append(remainder_list.pop(i))
IndexError: pop index out of range

This does not occur when test_all is run on the head node.

Change History (2)

comment:1 Changed 15 years ago by nick

  • Owner changed from ole to nick

comment:2 Changed 15 years ago by nick

  • Resolution set to duplicate
  • Status changed from new to closed

same as ticket 237

Note: See TracTickets for help on using tickets.