Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
PMC-SOG
experiments
hybrid
Commits
fe680c00
Commit
fe680c00
authored
Feb 18, 2022
by
Jaime Arias
Browse files
only run experiment if it has not been already executed
parent
ba798580
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/sbatch_generator.py
View file @
fe680c00
...
...
@@ -266,7 +266,9 @@ def mpi_run(command, nodes, threads, timeout_minutes, job_name, output_folder):
error_file
=
f
"
{
output_folder
}
/
{
job_name
}
.err"
output_file
=
f
"
{
output_folder
}
/
{
job_name
}
.out"
timeout
=
timeout_minutes
*
60
return
f
'mpirun --mca orte_rsh_agent "oarsh" -machinefile $OAR_NODEFILE --npernode
{
nodes
}
-cpus-per-proc
{
threads
}
--timeout
{
timeout
}
{
command
}
>
{
output_file
}
2>
{
error_file
}
'
command
=
f
'mpirun --mca orte_rsh_agent "oarsh" -machinefile $OAR_NODEFILE --npernode
{
nodes
}
-cpus-per-proc
{
threads
}
--timeout
{
timeout
}
{
command
}
>
{
output_file
}
2>
{
error_file
}
'
return
f
"[ ! -f
{
output_file
}
] &&
{
command
}
;"
def
generate_experiment_name
(
tool_dict
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment