From 47fefba2ed801abb831484aff7a9061ce97a9eb7 Mon Sep 17 00:00:00 2001
From: dave <dave@dtu.dk>
Date: Fri, 30 Sep 2016 15:58:28 +0200
Subject: [PATCH] prepost.Simulations: always run winefix in PBS mode

---
 wetb/prepost/Simulations.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/wetb/prepost/Simulations.py b/wetb/prepost/Simulations.py
index ddc44c61..ae64512c 100755
--- a/wetb/prepost/Simulations.py
+++ b/wetb/prepost/Simulations.py
@@ -1930,14 +1930,13 @@ class PBS(object):
             self.maxcpu = 1
             self.secperiter = 0.012
             self.wine = 'time WINEARCH=win32 WINEPREFIX=~/.wine32 wine'
-            self.winefix = ''
         elif server == 'jess':
             self.maxcpu = 1
             self.secperiter = 0.012
-            self.winefix = 'WINEARCH=win32 WINEPREFIX=~/.wine32 winefix\n'
             self.wine = 'time WINEARCH=win32 WINEPREFIX=~/.wine32 wine'
         else:
             raise UserWarning('server support only for jess or gorm')
+        self.winefix = 'WINEARCH=win32 WINEPREFIX=~/.wine32 winefix\n'
 
         # the output channels comes with a price tag. Each time step
         # will have a penelty depending on the number of output channels
-- 
GitLab