running on Ubuntu
Posted: Thu Dec 31, 2015 6:04 pm
Hi all, trying out Code-Saturne 4.0.4 I ran into the following problem when doing one of the tutorials.
After setting up the case, for a single CPU, clicking on the run button opens the output Window but CS is not launched. Only after clicking many times it worked.
I had to dig into the code and found out it works well when I change BatchRunningView.py:
from:
if self.case['salome'] or key == 'localhost':
dlg = ListingDialogView(self.parent, self.case, run_title, cmd)
dlg.show()
else:
cs_exec_environment.run_command(cmd)
to:
if self.case['salome'] or key == 'localhost':
dlg = ListingDialogView(self.parent, self.case, run_title, cmd)
dlg.show()
cs_exec_environment.run_command(cmd)
else:
cs_exec_environment.run_command(cmd)
Nobody else ran into this problem ??
After setting up the case, for a single CPU, clicking on the run button opens the output Window but CS is not launched. Only after clicking many times it worked.
I had to dig into the code and found out it works well when I change BatchRunningView.py:
from:
if self.case['salome'] or key == 'localhost':
dlg = ListingDialogView(self.parent, self.case, run_title, cmd)
dlg.show()
else:
cs_exec_environment.run_command(cmd)
to:
if self.case['salome'] or key == 'localhost':
dlg = ListingDialogView(self.parent, self.case, run_title, cmd)
dlg.show()
cs_exec_environment.run_command(cmd)
else:
cs_exec_environment.run_command(cmd)
Nobody else ran into this problem ??