Skip to content
Snippets Groups Projects
Commit fbb282ff authored by Izzard, Robert Dr (Maths & Physics)'s avatar Izzard, Robert Dr (Maths & Physics)
Browse files

fix typos

parent b9504c02
No related branches found
No related tags found
No related merge requests found
...@@ -328,7 +328,7 @@ JobBatchName = {batchname} ...@@ -328,7 +328,7 @@ JobBatchName = {batchname}
{extra_settings} {extra_settings}
queue {njobs} queue {njobs}
""".format( """.format(
usr_bin_env = self.grid_options['condor_usr_bin_env'], usr_bin_env = self.grid_options['condor_env'],
bash = self.grid_options['condor_bash'], bash = self.grid_options['condor_bash'],
job_script_path = job_script_path, job_script_path = job_script_path,
universe = self.grid_options['condor_universe'], universe = self.grid_options['condor_universe'],
......
...@@ -241,7 +241,7 @@ class grid_options_defaults(): ...@@ -241,7 +241,7 @@ class grid_options_defaults():
'condor_save_joined_file':0, # if 1 then results/joined contains the results 'condor_save_joined_file':0, # if 1 then results/joined contains the results
# (useful for debugging, otherwise a lot of work) # (useful for debugging, otherwise a lot of work)
'condor_requirements':'', # job requirements 'condor_requirements':'', # job requirements
'condor_usr_bin_env' : shutil.which("env"), # /usr/bin/env location 'condor_env' : shutil.which("env"), # /usr/bin/env location
'condor_bash' : shutil.which("bash"), # bash executable location 'condor_bash' : shutil.which("bash"), # bash executable location
"condor_pwd" : shutil.which("pwd"), # pwd command location for Condor "condor_pwd" : shutil.which("pwd"), # pwd command location for Condor
"condor_date" : shutil.which("date"), # bash location for Condor "condor_date" : shutil.which("date"), # bash location for Condor
...@@ -250,7 +250,7 @@ class grid_options_defaults(): ...@@ -250,7 +250,7 @@ class grid_options_defaults():
"condor_submit" : "condor_submit", # the condor_submit command "condor_submit" : "condor_submit", # the condor_submit command
"condor_getenv" : True, # if True condor takes the environment at submission and copies it to the jobs. You almost certainly want this. "condor_getenv" : True, # if True condor takes the environment at submission and copies it to the jobs. You almost certainly want this.
"condor_restart_dir" : None, # restart Condor jobs from this directory "condor_restart_dir" : None, # restart Condor jobs from this directory
"condor_batchname" : "", # Condor batchname option "condor_batchname" : "binary_c-condor", # Condor batchname option
########################## ##########################
# Unordered. Need to go through this. Copied from the perl implementation. # Unordered. Need to go through this. Copied from the perl implementation.
########################## ##########################
......
...@@ -219,7 +219,7 @@ class slurm(): ...@@ -219,7 +219,7 @@ class slurm():
# build the grid command # build the grid command
grid_command = [ grid_command = [
str(grid_options['slurm_env']) str(grid_options['slurm_env']),
sys.executable, sys.executable,
str(lib_programname.get_path_executed_script()), str(lib_programname.get_path_executed_script()),
] + sys.argv[1:] + [ ] + sys.argv[1:] + [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment