whizard is hosted by Hepforge, IPPP Durham

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#101 closed enhancement (fixed)

Handling of O'Mega cache files

Reported by: kilian Owned by: ohl
Priority: P1 Milestone:
Component: omega Version: 2.0.0beta
Severity: minor Keywords:
Cc:

Description

Creating the O'Mega cache when a process in a complicated model (NMSSM ...) is run takes quite long. This may be irritating to the unexperienced user.

Two proposals:

  • (minor) Issue a message that the cache is being built, be patient
  • (major) Move cache generation to the initial build and install cache files in a central location. Advantage: No waiting for the first process, no pollution of user directory. Disadvantage: Build process takes longer (but only if make check is not run).

Change History (6)

comment:1 Changed 15 years ago by Juergen Reuter

Priority: P4P2

Ranked this to higher priority. We should be able to have a cleaner solution here, and also early testing.

comment:2 Changed 15 years ago by ohl

Status: newassigned

comment:3 Changed 15 years ago by ohl

Priority: P2P3

As of r1473, there's a partial solution: O'Mega tries to write the cache files to CACHE_DIR="$localstatedir/cache". There can be problems with write permissions.

comment:4 Changed 15 years ago by Juergen Reuter

Priority: P3P1

The rest of the fest should be done relatively quickly (?), ranking this high now.

comment:5 Changed 15 years ago by ohl

Resolution: fixed
Status: assignedclosed

Implemented in r1564:

make install

will install a small subset of caches (QED, QCD, SM) to allow reasonably quick distchecks.

make -j <number-of-cores+1> install-all-caches

will install caches, but requires a lot of patience.

O'Mega tries to write in

$localstatedir/cache
${HOME}/var/cache
.

(in that order) and it will later try to read in reverse order.

I'm closing the ticket. Please test and open new tickets if you are nor satisfied.

comment:6 Changed 14 years ago by Juergen Reuter

Milestone: v2.0.0final

Milestone v2.0.0final deleted

Note: See TracTickets for help on using tickets.