callat-qcd / lattedb

Lattice QCD database interface using EspressoDB as the content manager.
https://ithems.lbl.gov/lattedb
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Physics tables beta #20

Closed ckoerber closed 5 years ago

ckoerber commented 5 years ago

Result of todays table meeting

Below you can find the current form of the physics tables (which is going to change).

models.pdf

Please take a look, ask questions and suggest modifications.

Specifically entries with a question mark or a / need suggestions.

Proposed changes

Ensemble -> GaugeConfig

Action

Propagator

Current

Hadron -> Interpolator?

Non-physics tables

According to https://github.com/callat-qcd/lattedb/issues/18#issuecomment-516631851

Job/Task/Data/Status

Machine

Computation?

The reason for keeping Computation simple is that it seems hard to generalize. Also, it seems like that you do not specifically query for specific information -- you might want to backtrace previous runs though. The disadvantage is that the actual jobs must be created externally. E.g., given machine and physics object, generate me the actual job to submit, submit this job, push this job to the DB with status submitted.

cchang5 commented 5 years ago

changelog

Action table changes: Split Action -> FermionAction and GaugeAction

Moved quark masses into FermionAction. Tag quark name. In particular, allows same mass to be called different names (light, up, down for example) Quark mass dropped from propagator and gaugeconfig

Moved beta into GaugeAction

Ensemble table changes: Renamed Ensemble -> GaugeConfig Changed Nconfig -> Config to specify specific config number GaugeConfig has children (e.g. Nf211) which FKeys to gaugeaction and fermionactions

Propagator table changes: Propagator now points to gaugeconfig and fermionaction Children of propagators specialize different RHS. (Decided to not make a source table and just specialize in Propagator).

Current table changes: removed flavor from Local(Current). The propagators explicitly contain quark mass info now. moved momentum into current to denote momentum transfer. created Local4D to spatial current (non FT’d) removed momentum from FHPropagator

Hadron table changes:
rename to Interpolator moved momentum into children tables. remove momentum from correlation functions (All momentum now defined at interpolating operator and current if in momentum space)

HadronSmear table changes: rename to interpolatorsmear

Todo: Need to think more about Interpolator table. Need to work on non-physics tables.

ckoerber commented 5 years ago

We settled for the following physics table layout with commit 0b94784e18309080f1ed40374a9aaca79df9d2a3 and following.

models.pdf

Note that the gauge config table now has a config column so that we will have many gaugeconfigs for a given ensemble (thus all tables depending on gaugeconfig will have many entries as well). The ensemble table groups gaugeconfigs.