whizard is hosted by Hepforge, IPPP Durham

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#145 closed defect (duplicate)

Cache files break 'make check'

Reported by: Juergen Reuter Owned by: ohl
Priority: P1 Milestone:
Component: configure Version: 2.0.0beta
Severity: blocker Keywords: cache files
Cc:

Description

This is probably because of old cache files from a former installation still being present in the corresponding directory. This raises the question what happens in such a case. Anyway, this should be fixed.

Making check in tho
make[5]: Nothing to be done for `check'.
make[5]: Nothing to be done for `check-am'.
make  check-TESTS
../bin/omega_QED.opt -target:parameter_module parameters_qed -scatter "e+ e- -> m+ m-" > amplitude_qed_eemm.f90
Fatal error: exception Cache.Make(Hash)(Value).Mismatch("omega_cache_8cea068592e03e99843e1a3d51f084cf", "/Users/reuter/local/var/cache")
make[5]: *** [amplitude_qed_eemm.f90] Error 2
make[4]: *** [check-am] Error 2
make[3]: *** [check-recursive] Error 1
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1

Change History (3)

comment:1 Changed 14 years ago by kilian

I guess the problem arose because the internal representation of cache files has changed? Previously I never had a problem with old cache files, they just were reused if possible. If this is correct, the issue can be ignored (ThO: please comment).

comment:2 Changed 14 years ago by ohl

Resolution: duplicate
Status: newclosed

Indeed: the format has changed, b/c I include the MD5 checksum that used to be the filename. In the next step, I will use the model name as the filename. Cache().Mismatch exceptions are a sign of obsolete cache files and are to be resolved by rm'ing them. Make install will take care of that.

I'm closing this ticket, because it's part of the cache file rewrite.

comment:3 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.