Skip to content

Commit 8ca46a5

Browse files
committed
Added the active shell variable
1 parent a3d7fc2 commit 8ca46a5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Modules/Cluster.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ def __init__(self, hostname=None, pwd=None, extra_options="", workdir = "",
184184
self.check_timeout = 300
185185
self.nonblocking_command = False # True if you use a different version of slurm that does not accept blocking commands
186186

187+
# Enforce ssh to open a shell for each command in the cluster
188+
self.use_active_shell = False
189+
187190
# This is the number of configurations to be computed for each jub submitted
188191
# This times the self.batch_size is the total amount of configurations submitted toghether
189192
self.job_number = 1

0 commit comments

Comments
 (0)