slurm options are braindead and require =
authorDon Armstrong <don@donarmstrong.com>
Wed, 8 Feb 2017 19:02:15 +0000 (11:02 -0800)
committerDon Armstrong <don@donarmstrong.com>
Wed, 8 Feb 2017 19:02:15 +0000 (11:02 -0800)
dqsub

diff --git a/dqsub b/dqsub
index 4919219..6bca78b 100755 (executable)
--- a/dqsub
+++ b/dqsub
@@ -282,11 +282,11 @@ sub generate_slurm_options{
         );
     for my $k (keys %options_map) {
         if ($options->{$k}) {
-            push @qo,'--'.$options_map{$k},$options{$k};
+            push @qo,'--'.$options_map{$k}.'='.$options{$k};
         }
     }
     if ($options{mem}) {
-        push @qo,'--mem=',$options{mem};
+        push @qo,'--mem='.$options{mem};
     }
     if ($options->{interactive}) {
         push @qo,'-I';