<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
I recently started working at adaptive computing on the team that
works on Torque.<br>
<br>
I have been looking at qsub and had a question. (Short explanation
of the question first)<br>
<br>
Use the -l flag on the command line you can submit the same resource
name with different values.<br>
i.e.<br>
1.) qsub -l nodes=2:ppn=3,mem=3MB {bunch of other flags} -l
mem=2MB,walltime=2:00 script.sh<br>
2.) qsub -l nodes=2:ppn=3,mem=4MB,nodes=3:ppn=1,mem=5MB script.sh<br>
3.) qsub -l nodes=1:ppn=6 script.sh<br>
<br>
script.sh can also have a -l flag with resource information<br>
#PBS -l nodes=4:ppn=4,mem=6MB,walltime=1:00<br>
<br>
Currently, from what I understand of the code, the qsub parses all
of the command line options and adds all of them to the resource
linked list. Then it add and resources found in any additional
locations (including the script) but only if they don't already
exist. It then ships all the resources over to the server (whether
there is duplication or not). On the server side, when it parses the
resources, everything but the last resource value is overwritten.<br>
Using the line from the script above for both qsub commands, the
lines above end up as the following on the server after being
parsed.<br>
<br>
1.) -l notes=2:ppn=3,mem=2MB,walltime=2:00<br>
2.) -l nodes=3:ppn=1,mem=5MB,walltime=1:00<br>
3.) -l nodes=1:ppn=6,mem=6MB,walltime=1:00<br>
<br>
The question is, if someone used this mixture of locations to add
resource information (and/or had multiple duplicate -l flags on the
command line), what it the current expected functionality?<br>
<br>
<br>
Thanks.<br>
<div class="moz-signature">-- <br>
<table>
<tbody>
<tr>
<td>
<span style="font-size: 12pt; color: rgb(31, 73, 125);
font-family: sans-serif;">
John Rosenquist
</span><span style="font-size: 10pt; color: rgb(166, 166,
166); font-family: sans-serif; font-weight: bold;"> |
Torque Developer
</span>
</td>
</tr>
<tr>
<td>
<span style="font-size: 10pt; color: rgb(166, 166, 166);
font-family: sans-serif;">
Direct Line: 801.717.3--- | Fax: 801.717.3738
</span>
</td>
</tr>
<tr>
<td>
<span style="font-size: 10pt; color: rgb(166, 166, 166);
font-family: sans-serif;">
1656 S. East Bay Blvd. Suite #300 | Provo, Utah 84601 |
USA
</span>
</td>
</tr>
<tr>
<td>
<span style="font-size: 10pt; color: rgb(166, 166, 166);
font-family: sans-serif; font-weight: bold;">
Adaptive Computing, Ent.
</span>
<br>
<a href="File:Sig.png" class="image" title="File:Sig.png"><img
alt="File:Sig.png"
src="cid:part1.03050706.00040609@adaptivecomputing.com"
height="52" border="0" width="200"></a>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>