Skip to content

Commit

Permalink
AIRAVATA-2590 Only add processPerNode if there is a jobSubmitterCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
machristie committed Nov 9, 2017
1 parent eec7b76 commit b74c1c5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
if (moduleCommands != null) for(mc in moduleCommands) out.print mc +'\n'
if (workingDirectory != null && workingDirectory != "") out.print 'cd ' + workingDirectory +'\n'
if (preJobCommands != null) for(pjc in preJobCommands) out.print pjc +'\n'
if (jobSubmitterCommand != null && jobSubmitterCommand != "") out.print jobSubmitterCommand + ' '
if (processPerNode != null && processPerNode != "") out.print processPerNode + ' '
if (jobSubmitterCommand != null && jobSubmitterCommand != "") {
out.print jobSubmitterCommand + ' '
if (processPerNode != null && processPerNode != "") out.print processPerNode + ' '
}
if (executablePath != null && executablePath != "") out.print executablePath + ' '
if (inputs != null) for(input in inputs) out.print input + ' '
out.print '\n'
Expand Down

0 comments on commit b74c1c5

Please sign in to comment.