Linux 在Sun Grid引擎上运行并行作业
在tsch脚本中,我使用while循环并行运行作业Linux 在Sun Grid引擎上运行并行作业,linux,cluster-computing,tcsh,Linux,Cluster Computing,Tcsh,在tsch脚本中,我使用while循环并行运行作业 set i = 1 while ( $i <= 8 ) ( nohup time /path/to/program/prog arg1 arg2 ) > /path/to/log/task_time_$i.log & @ i ++ end 设置i=1 而($i/path/to/log/task\u time\u$i.log)& @我++ 结束 如果集群有8个节点,这个脚本会并行运行8个作业
set i = 1
while ( $i <= 8 )
( nohup time /path/to/program/prog arg1 arg2 ) > /path/to/log/task_time_$i.log &
@ i ++
end
设置i=1
而($i/path/to/log/task\u time\u$i.log)&
@我++
结束
如果集群有8个节点,这个脚本会并行运行8个作业吗?每个作业的arg1和arg2都会发生变化。或者我应该将每个作业发送到特定节点?在这种情况下,“节点”和“集群”是什么?tcsh只是启动一个进程,关于运行位置的任何管理都由tcsh负责,由系统管理。