Skip to content
Snippets Groups Projects
Commit 109cf456 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Add warning that command is a security concern, make sure output is not mixed...

Add warning that command is a security concern, make sure output is not mixed with any from the MPI process
parent 8c7c9241
No related branches found
No related tags found
1 merge request!643Runtime limit and resubmission command
...@@ -1241,8 +1241,11 @@ int main(int argc, char *argv[]) { ...@@ -1241,8 +1241,11 @@ int main(int argc, char *argv[]) {
/* Did we want to run a re-submission command just before dying? */ /* Did we want to run a re-submission command just before dying? */
if (myrank == 0 && resubmit) { if (myrank == 0 && resubmit) {
message("Running the resubmission command."); message("Running the resubmission command:");
restart_resubmit(resubmit_command); restart_resubmit(resubmit_command);
fflush(stdout);
fflush(stderr);
message("resubmission command completed.");
} }
/* Clean everything */ /* Clean everything */
......
...@@ -123,7 +123,7 @@ Restarts: ...@@ -123,7 +123,7 @@ Restarts:
stop_steps: 100 # (Optional) how many steps to process before checking if the <subdir>/stop file exists. When present the application will attempt to exit early, dumping restart files first. stop_steps: 100 # (Optional) how many steps to process before checking if the <subdir>/stop file exists. When present the application will attempt to exit early, dumping restart files first.
max_run_time: 24.0 # (optional) Maximal wall-clock time in hours. The application will exit when this limit is reached. max_run_time: 24.0 # (optional) Maximal wall-clock time in hours. The application will exit when this limit is reached.
resubmit_on_exit: 0 # (Optional) whether to run a command when exiting after the time limit has been reached. resubmit_on_exit: 0 # (Optional) whether to run a command when exiting after the time limit has been reached.
resubmit_command: ./resub.sh # (Optional) Command to run when time limit is reached. Compulsory if resubmit_on_exit is switched on. resubmit_command: ./resub.sh # (Optional) Command to run when time limit is reached. Compulsory if resubmit_on_exit is switched on. Note potentially unsafe.
# Parameters governing domain decomposition # Parameters governing domain decomposition
DomainDecomposition: DomainDecomposition:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment