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 committed 2025-01-17 22:04:17 +01:00
1 parent 7dfc25048c
commit e47c89832d
1 file changed
+4
+4
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)