User Tools

Site Tools


running_your_task_interactively

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
running_your_task_interactively [2025/05/15 16:29] – created cmorinrunning_your_task_interactively [2025/05/20 14:29] (current) cmorin
Line 73: Line 73:
   node14:   node14:
     container:     container:
-    - image: ghcr.io/cortexlab/cxlb-gnuradio-3.10:1.4+    - image: ghcr.io/cortexlab/cxlb-gnuradio-3.10:1.5
       command: /usr/sbin/sshd -p 2222 -D       command: /usr/sbin/sshd -p 2222 -D
  
   node16:   node16:
     container:     container:
-    - image: ghcr.io/cortexlab/cxlb-gnuradio-3.10:1.4+    - image: ghcr.io/cortexlab/cxlb-gnuradio-3.10:1.5
       command: /usr/sbin/sshd -p 2222 -D       command: /usr/sbin/sshd -p 2222 -D
 </code> </code>
Line 100: Line 100:
  
 <code> <code>
-you@srvairlock:~/Tutorials/Tuto_1/examplesminus task submit ofdm_benchmark.task+you@srvairlock:~/Tutorials/Tuto_2/examples minus task submit ofdm_benchmark.task
 2541 2541
 </code> </code>
Line 117: Line 117:
 <code> <code>
 # From node 14 # From node 14
-root@mnode14:~/ /cortexlab/homes/[username]/Tutorials/Tuto_2/ofdm_benchmark/ofdm_tx_example.py -g 15 -b 4 -r 1000000 -f 1250000000+root@mnode14:~/ /cortexlab/homes/[username]/Tutorials/Tuto_2/examples/ofdm_benchmark/ofdm_tx_example.py -g 15 -b 4 -r 1000000 -f 1250000000
   
 # From node 16 # From node 16
-root@mnode16:~/ /cortexlab/homes/[username]/Tutorials/Tuto_2/ofdm_benchmark/ofdm_rx_example.py -g 15 -b 4 -r 1000000 -f 1250000000+root@mnode16:~/ /cortexlab/homes/[username]/Tutorials/Tuto_2/examples/ofdm_benchmark/ofdm_rx_example.py -g 15 -b 4 -r 1000000 -f 1250000000
 </code> </code>
  
Line 165: Line 165:
 </code> </code>
  
-Here, we can directly see the standard output that was logged in the ''results/task_XXXX/node_16/task_XXXX_container_0.log.stdout'' file.+Here, we can directly see the standard output that was logged in the ''results/task\_XXXX/node\_16/task_XXXX_container_0.log.stdout'' file.
 And we can stop the execution with ''Ctrl+C'' and restart it as we wish, and change the arguments like frequency or gain. And we can stop the execution with ''Ctrl+C'' and restart it as we wish, and change the arguments like frequency or gain.
 On the other hand, this output will not be recorded in the 'results' folder since we are getting it directly. On the other hand, this output will not be recorded in the 'results' folder since we are getting it directly.
 +
 +## Conclusion
 +
 +You have now seen how to setup a task to allow you to run commands directly and manually on the nodes.
 +This operation mode is mostly useful for final tests and tweaks to an experiment, with a quicker feedback loop.
 +
 +For "production" experiments, and especially ones with many participating nodes, it is better to specify the commands in the scenario file as seen in previous tutorial, as the platform handles the simultaneous start of every node.
running_your_task_interactively.1747319373.txt.gz · Last modified: 2025/05/15 16:29 by cmorin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki