Beispiel #1
0
def _init_pool_globals(_cfg_contents, global_lock):
    cfg.unpack_config(_cfg_contents)
    utils.lock = global_lock
Beispiel #2
0
def _init_pool_globals(_cfg_contents):
    cfg.unpack_config(_cfg_contents)
Beispiel #3
0
def _mpi_slave_bcast(comm):
    cfg_store, task_func = comm.bcast(None, root=OGGM_MPI_ROOT)
    if cfg_store is not None:
        cfg.unpack_config(cfg_store)
    return task_func
Beispiel #4
0
def _init_pool_globals(_cfg_contents):
    cfg.unpack_config(_cfg_contents)
Beispiel #5
0
def _mpi_slave_bcast(comm):
    cfg_store, task_func = comm.bcast(None, root=OGGM_MPI_ROOT)
    if cfg_store is not None:
        cfg.unpack_config(cfg_store)
    return task_func
Beispiel #6
0
def _init_pool_globals(_cfg_contents, global_lock):
    cfg.unpack_config(_cfg_contents)
    utils.lock = global_lock