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 7dfc25048c
commit e47c89832d

View File

@@ -48,6 +48,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)