Rebased, and fixed command line parsing

Create one log file for each slave subprocess. Redirect both
stdout and stderr to this file
This commit is contained in:
Håkon Hægland 2024-08-12 15:17:38 +02:00
parent 09aa0be11c
commit 9ad5b8a7f2

View File

@ -52,6 +52,10 @@
#include <fcntl.h> // for open()
#include <unistd.h> // for dup2(), close()
#include <iostream>
#include <fcntl.h> // for open()
#include <unistd.h> // for dup2(), close()
namespace Opm {
Main::Main(int argc, char** argv, bool ownMPI)