Skip to content
Browse files

Fixes for LSF

  • Loading branch information...
1 parent 7952c77 commit bfb3a62a19900f88717227bfd5dbcf6232cbd01c @mbrucher mbrucher committed with Jul 22, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 IPython/kernel/scripts/ipcluster.py
View
3 IPython/kernel/scripts/ipcluster.py
@@ -18,6 +18,7 @@
import re
import sys
import signal
+import stat
import tempfile
pjoin = os.path.join
@@ -332,6 +333,8 @@ def start(self, n):
self._temp_file.file.write(default_script)
self.template_file = self._temp_file.name
self._temp_file.file.flush()
+ os.chmod(self._temp_file.name, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR)
+ self._temp_file.file.close()
d = getProcessOutput(self.submit_command,
[self.template_file],
env=os.environ)

0 comments on commit bfb3a62

Please sign in to comment.
Something went wrong with that request. Please try again.