Skip to content
Snippets Groups Projects
Commit e9ba6e4b authored by David Verelst's avatar David Verelst
Browse files

attempt to fix failed test, assumption is there might be line end diffs

parent 7d94b8c0
No related branches found
No related tags found
Loading
Pipeline #4856 failed
......@@ -132,20 +132,35 @@ def create_chunks_htc_pbs(cases, sort_by_values=['[Windspeed]'], ppn=20, i0=0,
return fname, df_index
pbs_tmplate ="""
### Standard Output
#PBS -N [job_name]
#PBS -o [std_out]
### Standard Error
#PBS -e [std_err]
#PBS -W umask=[umask]
### Maximum wallclock time format HOURS:MINUTES:SECONDS
#PBS -l walltime=[walltime]
#PBS -l nodes=[nodes]:ppn=[ppn]
### Queue name
#PBS -q [queue]
"""
pbs_tmplate = "\n"
pbs_tmplate += "### Standard Output\n"
pbs_tmplate += "#PBS -N [job_name]\n"
pbs_tmplate += "#PBS -o [std_out]\n"
pbs_tmplate += "### Standard Error\n"
pbs_tmplate += "#PBS -e [std_err]\n"
pbs_tmplate += "#PBS -W umask=[umask]\n"
pbs_tmplate += "### Maximum wallclock time format HOURS:MINUTES:SECONDS\n"
pbs_tmplate += "#PBS -l walltime=[walltime]\n"
pbs_tmplate += "#PBS -l nodes=[nodes]:ppn=[ppn]\n"
pbs_tmplate += "### Queue name\n"
pbs_tmplate += "#PBS -q [queue]\n"
pbs_tmplate += "\n"
# this causes troubles on CI runner for the tests (line endings?)
# pbs_tmplate = """
# ### Standard Output
# #PBS -N [job_name]
# #PBS -o [std_out]
# ### Standard Error
# #PBS -e [std_err]
# #PBS -W umask=[umask]
# ### Maximum wallclock time format HOURS:MINUTES:SECONDS
# #PBS -l walltime=[walltime]
# #PBS -l nodes=[nodes]:ppn=[ppn]
# ### Queue name
# #PBS -q [queue]
# """
def make_pbs_chunks(df, ii, sim_id, run_dir, model_zip, compress=False,
wine_64bit=False):
......
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