Copyright Schrodinger, LLC. All rights reserved.
This is a common module for parallel job execution. It provides
functionalities to configure and run parallel jobs. Currently this script
is used by epik_driver, bmin_driver, and ligprep_driver.
|
add_para_job_options(parser,
options=[ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] )
Adds common para job control options to a SingleDashOptionParser
instance. |
|
|
|
|
|
print_job_info(argv,
driver_script,
version)
Check command line arguments passed and environment variables based
on the driver. |
|
|
|
_subjob_input_id(text)
To be used for the subjob input names sorting. |
|
|
|
_append_st_file(st_file,
st_writer,
raw_append=False,
is_compressed=False)
Append structure files. |
|
|
|
_print_subjob_logfile(log_file='
' ,
start_msg=None,
end_msg=None)
Prints given log file with start and end messages. |
|
|
|
|
|
_merge_subjobs(backend_instance,
subjob_input_mae_files,
output_file,
output_org,
data)
Merge subjobs structure and log files. |
|
|
|
|
|
_generate_subjobs(job_input_file,
job_output_file,
options,
driver_script,
split_input_file=True)
Creates the subjob dirs and fill in data |
|
|
|
_run_subjobs(jdj,
restart_file) |
|
|
|
launch_subjobs(options,
driver_script,
backend_instance,
backend_args,
job_input_file,
job_output_file,
cmd_append='
' ,
merge=True,
prepare_subjob_callback=None,
callback_data={ } ,
split_input_file=True,
post_execution_processing_callback=None,
post_execution_processing_callback_data={ } )
Launch subjobs. |
|
|