Class: WorkflowManager::FGCZCourseCluster

Inherits:
FGCZCluster show all
Defined in:
lib/workflow_manager/cluster.rb

Instance Attribute Summary

Attributes inherited from Cluster

#log_dir, #name, #options

Instance Method Summary collapse

Methods inherited from FGCZCluster

#cluster_nodes, #job_ends?, #job_pending?, #job_running?, #kill_command, #node_list, #submit_job

Methods inherited from Cluster

#cluster_nodes, #default_node, #generate_new_job_script, #initialize, #job_ends?, #job_pending?, #job_running?, #kill_command, #node_list, #submit_job

Constructor Details

This class inherits a constructor from WorkflowManager::Cluster

Instance Method Details

#copy_commands(org_dir, dest_parent_dir, now = nil) ⇒ Object



303
304
305
# File 'lib/workflow_manager/cluster.rb', line 303

def copy_commands(org_dir, dest_parent_dir, now=nil)
  commands = ["cp -r #{org_dir} #{dest_parent_dir}"]
end

#delete_command(target) ⇒ Object



306
307
308
# File 'lib/workflow_manager/cluster.rb', line 306

def delete_command(target)
  command = "rm -rf #{target}"
end