Opened 16 years ago

Closed 16 years ago

#302 closed defect (fixed)

caching problem with _fit_to_mesh

Reported by: steve Owned by: Ole
Priority: normal Milestone:
Component: Functionality and features Version:
Severity: normal Keywords:
Cc:

Description

I have been running run_okushiri.py (from the anuga_validation directory) on bogong (our 64bit amd machine).

The caching doesn't seem to work for the command

domain.set_quantity('elevation',

filename=project.bathymetry_filename, alpha=0.02, verbose=True, use_cache=True)

It produces files in my .python_cache directory, with the names such as

_fit_to_mesh[-2966466518982282974]_Admin _fit_to_mesh[-2966466518982282974]_Args _fit_to_mesh[-2966466518982282974]_Result

On the next run the code states that it is looking for

_fit_to_mesh[-2966466518982282974]_Admin.z _fit_to_mesh[-2966466518982282974]_Args.z _fit_to_mesh[-2966466518982282974]_Result.z

and then creates files _fit_to_mesh[-2966466518982282974]x_Admin _fit_to_mesh[-2966466518982282974]x_Args _fit_to_mesh[-2966466518982282974]x_Result

This goes on in subsequent calls to produce

_fit_to_mesh[-2966466518982282974]xx_Admin _fit_to_mesh[-2966466518982282974]xx_Args _fit_to_mesh[-2966466518982282974]xx_Result _fit_to_mesh[-2966466518982282974]xxx_Admin _fit_to_mesh[-2966466518982282974]xxx_Args _fit_to_mesh[-2966466518982282974]xxx_Result _fit_to_mesh[-2966466518982282974]xxxx_Admin _fit_to_mesh[-2966466518982282974]xxxx_Args _fit_to_mesh[-2966466518982282974]xxxx_Result _fit_to_mesh[-2966466518982282974]x_Admin _fit_to_mesh[-2966466518982282974]x_Args _fit_to_mesh[-2966466518982282974]x_Result _fit_to_mesh[-2966466518982282974]xx_Admin _fit_to_mesh[-2966466518982282974]xx_Args _fit_to_mesh[-2966466518982282974]xx_Result _fit_to_mesh[-2966466518982282974]xxx_Admin _fit_to_mesh[-2966466518982282974]xxx_Args _fit_to_mesh[-2966466518982282974]xxx_Result _fit_to_mesh[-2966466518982282974]xxxx_Admin _fit_to_mesh[-2966466518982282974]xxxx_Args _fit_to_mesh[-2966466518982282974]xxxx_Result

I have attached a test program and its output

Cheers Steve

Attachments (2)

test_caching_error.py (1.6 KB) - added by steve 16 years ago.
Script that produces problem
test_caching_error.out (7.5 KB) - added by steve 16 years ago.
Output from script test_caching_error.py

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by steve

Script that produces problem

Changed 16 years ago by steve

Output from script test_caching_error.py

comment:1 Changed 16 years ago by ole

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

This was addressed in changeset:5855

Note: See TracTickets for help on using tickets.