<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi,
<div><br>
</div>
<div>I am trying to use Swift (<font face="Menlo"><span style="font-size: 11px;">swift-0.96-sge-mod) and trying to run a script on SGE for the local cluster. Is there any clear reason for the error (below).</span></font></div>
<div><span style="font-family: Menlo; font-size: 11px;"><br>
</span></div>
<div><span style="font-family: Menlo; font-size: 11px;">My swift.conf setup is:</span></div>
<div><span style="font-family: Menlo; font-size: 11px;"><br>
</span></div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">site.Legion {</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> execution {</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> type: "coaster"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> jobManager: "local:sge"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> URL : "localhost"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> options {</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> maxJobs: 2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> nodeGranularity: 1</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> maxNodesPerJob: 2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> tasksPerNode: 1</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> jobProject: "AllUsers"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> jobQueue: "Tarvek"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> maxJobTime: "1800"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> }</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> }</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> maxParallelTasks : 3</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> initialParallelTasks : 2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> staging: local</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> workDirectory: "/tmp/"${env.USER}</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> app.ALL {</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> executable: "*"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> maxWallTime: "00:05:00"</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> }</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">}</div>
</div>
<div><span style="font-family: Menlo; font-size: 11px;"><br>
</span></div>
<div><span style="font-family: Menlo; font-size: 11px;"><br>
</span></div>
<div><font face="Menlo"><span style="font-size: 11px;">I get the following error:</span></font></div>
<div><font face="Menlo"><span style="font-size: 11px;"><br>
</span></font></div>
<div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">RunID: run009</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Warning: The @ syntax for function invocation is deprecated</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Warning: Variable spans, defined on line 52, might have multiple conflicting writers</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Progress: Fri, 01 May 2015 16:19:29+0100</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Number of parameter combinations: 2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Stride: 1</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Begin: 1, End: 1</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Begin: 2, End: 2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Progress: Fri, 01 May 2015 16:19:30+0100 Submitted:2</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Error: No parallel environment specified</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Could not submit job (qsub reported an exit code of 1). </div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Unable to run job: job rejected: the requested parallel environment "1way" does not exist.Exiting.</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Execution failed:</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Exception in sh:</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> Arguments: [repast_instance.sh, /imports/home1/tcrnma3/Scratch/UrbanModel/, 1, 1, 1, urf_2.txt]</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> Host: Legion</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"> Directory: repast-run009/jobs/9/sh-9xg6568m</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>exception @ swift-int-staging.k, line: 174</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Caused by: </div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>exception @ swift-int-staging.k, line: 170</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Caused by: Block task failed: Error submitting block task</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">org.globus.cog.abstraction.impl.common.task.TaskSubmissionException: Could not submit job (qsub reported an exit code of 1). </div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Unable to run job: job rejected: the requested parallel environment "1way" does not exist.Exiting.</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at org.globus.cog.abstraction.impl.scheduler.common.AbstractJobSubmissionTaskHandler.submit(AbstractJobSubmissionTaskHandler.java:62)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at org.globus.cog.abstraction.impl.common.AbstractTaskHandler.submit(AbstractTaskHandler.java:45)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at org.globus.cog.abstraction.impl.common.task.ExecutionTaskHandler.submit(ExecutionTaskHandler.java:61)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at org.globus.cog.abstraction.coaster.service.job.manager.BlockTaskSubmitter.run(BlockTaskSubmitter.java:70)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Caused by: org.globus.cog.abstraction.impl.scheduler.common.ProcessException: Could not submit job (qsub reported an exit code of 1). </div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;">Unable to run job: job rejected: the requested parallel environment "1way" does not exist.Exiting.</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at org.globus.cog.abstraction.impl.scheduler.common.AbstractExecutor.start(AbstractExecutor.java:116)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at org.globus.cog.abstraction.impl.scheduler.sge.SGEExecutor.start(SGEExecutor.java:192)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>at org.globus.cog.abstraction.impl.scheduler.common.AbstractJobSubmissionTaskHandler.submit(AbstractJobSubmissionTaskHandler.java:52)</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span>... 3 more</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;">
<br>
</div>
<div style="margin: 0px; font-size: 11px; font-family: Menlo;"><span class="Apple-tab-span" style="white-space:pre"></span></div>
</div>
</body>
</html>