From b1df9ecc3835df3bb35fcb6e71c3b77ce588c5b7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Fri, 13 Nov 2020 15:35:01 +0100
Subject: [PATCH] Parallel config file: switch back to DynarePath field
 (instead of ProgramPath)

This is a partial revert of f022f666b74aebcc206e5ff3eb815a07a440a0ab

Ref. dynare#1748
---
 src/ConfigFile.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/ConfigFile.cc b/src/ConfigFile.cc
index c0b90be6..bf261c16 100644
--- a/src/ConfigFile.cc
+++ b/src/ConfigFile.cc
@@ -734,7 +734,8 @@ ConfigFile::writeCluster(ostream &output) const
              << "'Password', '" << slave_node.second.password << "', "
              << "'RemoteDrive', '" << slave_node.second.remoteDrive << "', "
              << "'RemoteDirectory', '" << slave_node.second.remoteDirectory << "', "
-             << "'ProgramPath', '" << slave_node.second.programPath << "', "
+        // The following should be switched back to “ProgramPath” once we move to Dragonfly
+             << "'DynarePath', '" << slave_node.second.programPath << "', "
              << "'ProgramConfig', '" << slave_node.second.programConfig << "', "
              << "'MatlabOctavePath', '" << slave_node.second.matlabOctavePath << "', "
              << "'OperatingSystem', '" << slave_node.second.operatingSystem << "', "
-- 
GitLab