blob: d25037b73ddda3589b23b31a31a54fed86e0fb8a [file] [log] [blame]
#!${shellName}
# FORK job submission script generated by Apache Airavata
<% if (exports != null) for(com in exports) out.print 'export ' + com +'\n'
if (moduleCommands != null) for(mc in moduleCommands) out.print mc +'\n'
if (workingDirectory != null) out.print 'cd ' + workingDirectory +'\n'
if (preJobCommands != null) for(pjc in preJobCommands) out.print pjc +'\n'
if (jobSubmitterCommand != null) out.print jobSubmitterCommand + ' '
if (executablePath != null) out.print executablePath + ' '
if (inputs != null) for(input in inputs) out.print input + ' '
out.print '\n'
if (postJobCommands != null) for(pjc in postJobCommands) out.print pjc +'\n'
%>