hive_config.json 2.16 KB
Newer Older
1
{
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
    "Meadow" : {    # configure Meadow-specific options here:
        "LSF" : {
            "SubmissionOptions"         : "",   # general options that different Meadows can plug into the submission command
            "PendingAdjust"             : 1,    # if set and ->can('count_pending_workers_by_rc_id'), adjusts submitted workers by those in pending state
            "TotalRunningWorkersMax"    : 1000, # how many workers can be run on this Meadow in total
            "farm2" : {
                "SubmitWorkersMax"  : 50,       # if set, provides a cut-off on the number of workers being submitted each iteration
            },
            "pcs4" : {
                "SubmitWorkersMax"  : 30,
            },
            "EBI" : {
                "SubmitWorkersMax"  : 60,
            },
        },
        "LOCAL" : {
            "TotalRunningWorkersMax"   : 2,
            "my-quadcore-desktop" : {
                "TotalRunningWorkersMax"   : 4,
            },
            "your-weak-laptop" : {
                "TotalRunningWorkersMax"   : 1,
            },
        },
    },
    "Graph" : {     # configure diagram-generation options here:
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
        "Colours" : {
            "Status" : {
                "BLOCKED"     : "grey",
                "LOADING"     : "yellow",
                "SYNCHING"    : "yellow",
                "READY"       : "yellow",
                "WORKING"     : "yellow",
                "ALL_CLAIMED" : "yellow",
                "DONE"        : "green",
                "FAILED"      : "red",
                "OTHER"       : "white",
                "TABLE"       : "black",
            },
            "Flows" : {
                "data"       : "blue",
                "control"    : "red",
                "semablock"  : "red",
            },
46 47 48 49
            "SemaphoreBoxes" : {
                "ColourScheme"  : "blues9",  # Examples: "blues9" or "bugn7" or "orrd8" or "purples7" or "ylorbr9"
                "ColourOffset"  : 1,
            },
50 51 52 53 54 55 56
        },
        "Fonts" : {
            "node" : "Helvetica",
            "edge" : "Helvetica",
        },
        "DisplayDetails"        : 1,
        "DisplayStretched"      : 0,
57
        "DisplaySemaphoreBoxes" : 1,
58 59
    }
}