Commit graph

373 commits

Author SHA1 Message Date
Fabien Castan
b000c6f311 [core] no cmd line range arguments if we have only a single chunk 2021-05-25 18:22:08 +02:00
Fabien Castan
18be350e6f
Merge pull request #1227 from ChemicalXandco/box_select
[ui] add support for selecting multiple nodes at once
2021-05-03 23:42:11 +02:00
ChemicalXandco
fdfabf0066 [ui] GraphEditor: use entire node selection when handling '_ from here' operations 2021-04-18 14:33:17 +01:00
Francesco Zoffoli
ec7c0f73e8
Removing io_counters from the ProcStatatistics
`io_counters` is not always available (e.g. under Ubunutu 20 run in WSL), resulting in an exception being throw.

See #1373 for a complete explanation of the issue.
2021-04-10 22:39:55 +01:00
Fabien Castan
51572c8f59 [core] TaskManager: fix compute after submit
After a renderfarm submit, it was not possible to compute the same node
locally anymore.
2021-02-25 18:35:54 +01:00
Fabien Castan
2405030858
Merge pull request #1280 from alicevision/fix/minorStuff
Minor fixes
2021-02-15 15:46:34 +01:00
ChemicalXandco
3d33134ca9 [ui] add support for node categories 2021-02-14 16:12:39 +00:00
Fabien Castan
6972d37639 [core] avoid access to invalid node desc for CompatibilityNode 2021-02-12 18:15:46 +01:00
Fabien Castan
79e4a59e8c [core] fix clearSubmittedChunks 2021-01-28 19:56:25 +01:00
Fabien Castan
5e7b044d13 [core] fix StatusData inheritance 2021-01-28 19:44:44 +01:00
ChemicalXandco
acf1bf2116 [ui] grapheditor: explicitly pass selected nodes argument 2021-01-26 21:13:16 +00:00
Fabien Servant
1993114178 [core] more robust check of "status" file 2021-01-25 17:38:33 +01:00
Fabien Castan
078120696a [ui] GraphEditor: fix some readOnly regarding CompatibilityNodes 2021-01-22 14:30:33 +01:00
Fabien Castan
37d3008f9e [core] rename nodesOfType 2021-01-22 13:12:29 +01:00
Fabien Castan
831443c29d [ui] NodeEditor: refactor ChunksList and add global stats 2021-01-22 11:38:53 +01:00
ChemicalXandco
c253e7d363 [ui] add support for selecting multiple nodes at once 2021-01-15 18:16:45 +00:00
Fabien Castan
4a5995b346 [core] taskManager: downgrade status per chunk
Avoid to get trailing "submitted" chunks on the current node when we stop the computation.
2021-01-06 10:10:17 +01:00
Fabien Castan
d3d17ec6dd [core] node: fix missing function argument to getInputNodes 2020-12-28 17:31:48 +01:00
Fabien Castan
5fb6a5fb0f [ui] GraphEditor: only connect compatible attributes 2020-12-28 16:18:51 +01:00
Fabien Castan
ecf10a65f7 [ui] GraphEditor: visualize edges between params (non File attributes) 2020-12-18 01:13:54 +01:00
Fabien Castan
d291fcc39d [core] graph: use new dependenciesOnly option on graph operations
Input attribute to input attribute connection is not a real dependency between the nodes.
2020-12-14 19:02:49 +01:00
Fabien Castan
a0206a85fc [core] graph: fix retrieve first submitter 2020-12-02 01:06:04 +01:00
Fabien Castan
1102ce84e0 Merge branch 'develop' of github.com:alicevision/meshroom into dev/nodesAndTaskManager
Conflicts:
	meshroom/core/graph.py
	meshroom/ui/qml/main.qml
2020-12-01 20:02:43 +01:00
Fabien Castan
4e5bef2a80 [core] allow lambda on "group" property 2020-11-20 17:40:49 +01:00
Fabien Castan
12d80ac57b [core] stats: reduce stats refresh precision 2020-10-13 16:11:07 +02:00
Fabien Castan
cdee25e26e [core] stats: minor simplification
add timeout on nvidia-smi
add try/except
remove duplicated code
no error is no nvidia-smi available
2020-10-13 16:07:42 +02:00
Fabien Castan
88099dd28c [core] stats: avoid crash in psutil (windows only)
https://github.com/giampaolo/psutil/issues/1763
2020-10-13 16:04:04 +02:00
Julien-Haudegond
e91dab1a63 [core] Graph.canSubmitOrCompute: add documentation 2020-09-05 15:34:05 +02:00
Julien-Haudegond
94038736fe [core] TaskManager: handle simultaneous computing in LOCAL and EXTERN 2020-09-05 15:25:21 +02:00
Julien-Haudegond
635f36216b [core] Attribute.isLink: fix unreachable return 2020-09-05 13:05:20 +02:00
Fabien Castan
44fe0620c7 [core] graph: fix retrieve first submitter 2020-09-05 01:18:03 +02:00
Fabien Castan
c8978cd792 [core] Graph.findNode: if multiple candidates, do not raise an error if one is the exact input 2020-09-04 19:51:07 +02:00
Julien-Haudegond
0345672b34 [core] TaskManager: raise Error if computing/submitting duplicates 2020-09-04 17:21:45 +02:00
Julien-Haudegond
0693af58c1 [core] Node: fix locked issue when computation is canceled 2020-09-04 16:31:58 +02:00
Julien-Haudegond
37c758c8da [core/tests] Graph: default startNodes parameter in dfsOnDiscover() 2020-09-04 15:39:27 +02:00
Julien-Haudegond
deaf1e3abb [core] Graph: fix reverse issue in dfs() 2020-09-04 15:35:48 +02:00
Julien-Haudegond
8499431dff [core] Graph: add getRootNodes() 2020-09-04 15:21:03 +02:00
Julien-Haudegond
44d019b7f0 [core] Graph: move reverse property from dfs() to Visitor class 2020-09-04 15:11:19 +02:00
Julien-Haudegond
e4a95e89dc [core] Graph: change signature of dfsOnFinish() 2020-09-04 13:05:18 +02:00
Julien-Haudegond
b567d8ff5c [core] Graph: change default reverse direction in dfsOnDiscover() 2020-09-04 12:42:05 +02:00
Julien-Haudegond
208749d897 [core] Graph: change signature of dfsOnDiscover() 2020-09-04 12:22:20 +02:00
Julien-Haudegond
f8bd40ad38 [core] Graph: rename nodesFromNode() to dfsOnDiscover() 2020-09-04 11:49:45 +02:00
Julien-Haudegond
49e33fb9ba [core] Node: fix locked issue 2020-09-04 11:37:04 +02:00
Julien-Haudegond
bdf96e2119 [core] TaskManager: fix issue with checkCompatibilityNodes() 2020-09-03 19:05:36 +02:00
Julien-Haudegond
3fc09ddade [core] TaskManager: handle compatibility error outside dfsToProcess() 2020-09-03 18:42:36 +02:00
Julien-Haudegond
3f3a6c0e83 [core/bin] Submitting: remove a duplicate function and move another one 2020-09-03 18:23:55 +02:00
Julien-Haudegond
78f7febeb7 [ui] ErrorHandler: analyse error (only used by computation for now) 2020-09-03 14:56:35 +02:00
Julien-Haudegond
eb52459bbf [core] Graph: raise error in dfs() with longestPathFirst 2020-09-02 12:37:40 +02:00
Julien-Haudegond
58790e3bce [core] TaskManager: restart/block thread when stop computing
- If global stop: block restarting thread.
- If local stop: restart thread with the remaining nodes to compute.

This implementation permits to avoid app freezing when a local stop occurs.
2020-08-31 13:13:59 +02:00
Julien-Haudegond
f502625c0b [core] TaskManager: change removeNode() and add containsNodeName() 2020-08-31 11:38:50 +02:00