Running a python script on different nodes in the school using SSH. Each node has 8 cores. I use the GNU screen to disconnect from a single process.
Is it desirable:
&
Are they equivalent?
I'm not sure that my experiments are poorly encoded and require an excessive amount of time (very possible), or my choice to use 1. significantly slows down the process. Thank!
bash , - (, /home ):
bash
/home
#!/bin/bash for i in {1..$NUM_NODES} do ssh node$i 'python /home/ryan/my_script.py' & done
script - screen . screen , .
screen
, (, - 7, ). , , Torque, Maui qsub. .
qsub
, . , . .
Source: https://habr.com/ru/post/1547490/More articles:Facebook Javascript SDK расширенные разрешения не запрашиваются/выход из системы не отображается - javascriptUsing Swift snapping with Objective-C wireframe - iosAzure Active Directory protected WebApi invoked from JavaScript - sharepointReplace the beginning of a line in a file quickly - c #JQuery validation depends on the requirements and requirements of the group - javascriptСоветник по обновлению SQL Server 2014 не работает - sql-serverWhy doesn't the backticks operator in Perl work without quotes in Windows? - perlShow all ignored files in git - gitArchitecture for s3 / cloudfront synchronization with database - pythonThe functions of the SORT window are expensive, can we overcome it? - performanceAll Articles