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
......@@ -1241,8 +1241,11 @@ int main(int argc, char *argv[]) {
/* Did we want to run a re-submission command just before dying? */
if (myrank == 0 && resubmit) {
message("Running the resubmission command.");
message("Running the resubmission command:");
restart_resubmit(resubmit_command);
fflush(stdout);
fflush(stderr);
message("resubmission command completed.");
}
/* Clean everything */
......
......@@ -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.
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_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
DomainDecomposition:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment