Похожие чаты

I'M trying to write a script to multiply matrices on

a network, using socket programming.
it's a recursive function(using Strassen algorithm) and i need to send each recursive call to a node to be processed(and return the result ofc)
the process all the incoming data and output the result to the machine that requested the process in the first place.
all machines serve as both server and client.
any idea on how i can distribute the recursive calls?
(i have the "regular" multiplication script, i have a server and client that can send pickled data)

4 ответов

10 просмотров
Ædel- Автор вопроса

multiplication code server.py client.py

You mean how to decide which node to choose for each function call?

Ædel- Автор вопроса

ok apparently this was easier than what i thought lol

Похожие вопросы

Обсуждают сегодня

Anyone here suffers from unexplained aural migraines, who would be up for talking for a bit? Doesn't *have* to be aural, but I am not asking about headaches, I mean actual mi...
Martin Rys
55
Сonst magicTgHTML = (text, entities) => { let processedText = text; let offsetShift = 0; entities.forEach(entity => { const { offset, length, type, url, ...
Андрей
1
A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
45
Здравствуйте товарищи! решил всё таки поставить линукс. Порядок создание разделов /boot/efi 200МиБ; /boot 1000; подсистему / 80000; swap 8Гб Будет норм?
K2
19
How Will #Monero Be Attacked? First of all I want to tell you that this is not teaching the network attackers, the central regulators. They already know how to attack the net...
Li₿ΞʁLiøη
3
подскажите пожалуйста, как мне освободить результат записанный в переменную result? в чем проблема подскажите если МОЖЕТЕ?
Михаил Helper
28
we need to look at what power and capital monopolies are seeking to prevent or control in order to understand why it is important to keep building right now. the elites are go...
Noah
1
есть тут кто-то , кто только начал изучать си? если проходите курс на степике или как-то сами изучаете, пишите, может, скооперируемся?..
Eule
25
Слушайте, ещё такая интересная задачка. Сделан аудит действий пользователей через триггеры в базе, соответственно каждый пользователь имеет свой логин и пароль в базе. Это пре...
Сергей Бычков
12
Скажите, тут нет проблемы? IMyInterface1 = interface function GetInterface2: IInterface2; ... function TMyInterface.GetInterface2: IInterface2; begin Result := TI...
Ruslan aka DUDE
18
Карта сайта