From: Don Armstrong Date: Wed, 5 Aug 2015 17:16:53 +0000 (-0700) Subject: fixup array slot limit X-Git-Url: https://git.donarmstrong.com/?p=uiuc_igb_scripts.git;a=commitdiff_plain;h=6ff8280b017eb99c4ce759895d460bcb76646f4c;hp=9c646b255e1b843dc3423e23b161f3877bc6d5d1 fixup array slot limit --- diff --git a/dqsub b/dqsub index 77ff225..245f11e 100755 --- a/dqsub +++ b/dqsub @@ -138,8 +138,8 @@ if ($options{interactive}) { @array = read_array_options(\%options) if $options{array}; # the -t option gives the range of elements for an array job push @qsub_options,'-t','1-'. scalar @array; - if ($options->{array_slot_limit}) { - @qsub_options[$#qsub_options] .= '%'.$options->{array_slot_limit}; + if ($options{array_slot_limit}) { + $qsub_options[$#qsub_options] .= '%'.$options{array_slot_limit}; } } call_qsub(\@qsub_options,write_qsub_script(\%options,\@ARGV,\@array));