sxs-collaboration / spectre

SpECTRE is a code for multi-scale, multi-physics problems in astrophysics and gravitational physics.
https://spectre-code.org
Other
160 stars 190 forks source link

Automate BBH simulations #5021

Open nilsvu opened 1 year ago

nilsvu commented 1 year ago

Continuing discussion from #2987.

Remaining tasks are:

nilsvu commented 1 year ago

Discussion with @nilsdeppe @markscheel @wthrowe:

The directory structure for a BNS pipelines might look like this:

# Ecc reduction
Epoch_001_Id/  # (with or without suffixes)
Epoch_002_Ev/  # Runs at Lev_01
Epoch_003_Id/
Epoch_003_Ev/  # Runs at Lev_05
# Start all levs from end of Epoch_003 (PBandJ)
# Start at t = t_pbandj > 0 (don't relabel to t=0)
Epoch_004_Ev/Lev_01...04
    Lev_01/Segment_0000
         Segment_0001
         # ...
         # Switch to single BH
         Segment_0045
    Lev_02/Segment_0000
         Segment_0001
         # ...
         # Switch to single NS
         Segment_0048
         # ...
         # Switch to single BH
         Segment_0089
    # Or organize with stages when switching executables:
    Lev_02/
        Stage0/
            Segment_0000
            Segment_0001
            # ...
        # Switch to single NS
        Stage1/
            Segment_0000
            # ...
        # Switch to single BH
        Stage2/
            Segment_0000
Epoch_005_AssembleForArchive/Lev*
# Maybe a higher-level tool is responsible for the rest of the archiving:
Epoch_006_Archive/
Epoch_007_PushToCatalog/
# Metadata in input files:
Next: spectre.Pipelines.Bns