]> git.donarmstrong.com Git - uiuc_igb_scripts.git/commitdiff
specify the -I option correctly
authorDon Armstrong <don@donarmstrong.com>
Wed, 5 Aug 2015 16:44:20 +0000 (09:44 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 5 Aug 2015 16:44:20 +0000 (09:44 -0700)
dqsub

diff --git a/dqsub b/dqsub
index af930905c2ba33bf1636b5ae04cec47c38b0e522..183d351f7b4eab41731601791eb1ca3236036fe2 100755 (executable)
--- a/dqsub
+++ b/dqsub
@@ -161,6 +161,9 @@ sub generate_qsub_options{
         push @l,'mem=',$options->{mem};
     }
     push @qo,'-l',join(',',@l) if @l;
+    if ($options->{interactive}) {
+        push @qo,'-I';
+    }
     return @qo;
 }