Package bigjob :: Module bigjob_agent_condor :: Class bigjob_agent
[hide private]
[frames] | no frames]

Class bigjob_agent

source code

BigJob Agent:

Instance Methods [hide private]
 
__init__(self, args) source code
 
init_rms(self) source code
 
init_local(self)
initialize free nodes list with dummy (for fork jobs)
source code
 
init_sge(self)
initialize free nodes list from SGE environment
source code
 
init_pbs(self)
initialize free nodes list from PBS environment
source code
 
get_num_cpus(self) source code
 
execute_job(self, job_url, job_dict)
obtain job attributes from c&c and execute process
source code
 
allocate_nodes(self, job_dict)
allocate nodes allocated nodes will be written to machinefile advert-launcher-machines-<jobid>
source code
 
setup_charmpp_nodefile(self, allocated_nodes)
Setup charm++ nodefile to use for executing NAMD HACK!! Method violates layering principle File $HOME/machinefile in charm++ nodefileformat is written to first node in list
source code
 
print_machine_file(self, filename) source code
 
free_nodes(self, job_url) source code
 
get_machine_file_name(self, job_dict)
create machinefile based on jobid
source code
 
dequeue_new_jobs(self)
Subscribe to new jobs from Redis.
source code
 
start_new_job_in_thread(self, job_url)
evaluates job dir, sanity checks, executes job
source code
 
monitor_jobs(self)
Monitor running processes.
source code
 
print_job(self, job_url) source code
 
start_background_thread(self) source code
 
is_stopped(self, base_url) source code
 
stop_background_thread(self) source code