#10 closed defect (invalid)
Use CSR format consistently
Reported by: | ole | Owned by: | duncan |
---|---|---|---|
Priority: | normal | Milestone: | least_squares module finished |
Component: | Architecture and API | Version: | |
Severity: | normal | Keywords: | |
Cc: | ole |
Description
use sparse matrix (CSR) format in "build_interpolation_matrix_A"
Change History (6)
comment:1 Changed 20 years ago by
comment:2 Changed 20 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
CSR isn't a good format to use to build a sparse matrix, so it shouldn't be used in the building phase. So it will not reduce the max memory used. Therefore let's not implement it to save memory.
comment:4 Changed 20 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:5 Changed 20 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
comment:6 Changed 20 years ago by
Component: | Compilation and installation → Architecture and API |
---|
Note: See
TracTickets for help on using
tickets.
This change request is in responce to memeory issues. Here's an example of the memory errors we are getting: F:\inundation\sandpits\tdhu\inundation\pyvolution>test_data_manager.py WARNING: psyco (speedup) could not import, you may want to consider installing i t WARNING: psyco (speedup) could not import, you may want to consider installing i t Reading from karratha_100m.sww Reading quantity depth Reducing quantity depth Creating grid Building mesh Building interpolation matrix Number of datapoints: 12061352 Number of basis functions: 65227 Doing 0 of 12061352 Doing 1206136 of 12061352 Doing 2412272 of 12061352 Doing 3618408 of 12061352 Doing 4824544 of 12061352 E ====================================================================== ERROR: Test that sww information can be converted correctly to asc/prj
Traceback (most recent call last):
e 351, in init
e 382, in build_coefficient_matrix_B
e 551, in build_interpolation_matrix_A
n setitem
MemoryError?
Ran 1 test in 16129.731s
FAILED (errors=1)