def register_node():

    if not config.SERVER_IP:
        utility.msg("Server IP not configured", ERROR)
        return False

    data = {
        "skey": sha256(config.SERVER_KEY).hexdigest(),
        "fuzzer" : config.SESSION_FUZZER,
        "session" : config.SESSION_NAME
    }

    #
    # POST the skey to the server; we should get back our assigned node ID
    #

    url = "http://{0}:{1}/register/".format(config.SERVER_IP, config.SERVER_PORT)
    try:
        response = requests.post(url, data=data)
    except Exception:
        return False

    if response.status_code is 200 and "Active" in response.content:

        node_id = findall("Node (.*?) Active", response.content)[0]
        _write_id(node_id)
        utility.msg("Node %s now assigned and active" % config.NODE_ID)
        return True

    else:
        utility.msg("Could not register node: %s" % response.content, ERROR)

    return False
Compute Inverse Matrix.
dataset/ETHPy150Open hatRiot/PeachOrchard/node/src/core/node_resource.py/register_node--crossover with--dataset/ETHPy150Open lebedov/scikit-cuda/skcuda/cula.py/culaDeviceCgetri