[Moabusers] Combining floating and generic licenses for the same
software ?
csamuel at vpac.org
csamuel at vpac.org
Wed Aug 29 22:22:08 MDT 2007
Hi folks,
I'm trying to help some people out with their Moab
configuration and there are some packages for which
they have both FlexLM and node locked licenses (for
historical reasons). They wish jobs that request
this software to use the node locked licenses, if
available, in preference to the FlexLM licenses.
My thought was that I would need to assign a GRES to
the node which has the same name as the names that
returned via FlexLM, but I see odd things are happening.
If I submit a test job doing:
echo 'sleep 60; hostname' | qsub -l software=PA_MSC_NASTRAN -l nodes=1
then Moab reserves *two* nodes for it, one being the
system with the node locked GRES and the other being
the next available node. But the hostname runs on the
*wrong* node, i.e. not the one with the license I requested.
This is what I have in their moab.cfg:
NODECFG[node004] GRES=NASTRAN:2,NA_Nonlinear:2,PA_MSC_NASTRAN:1
Here's what checkjob says:
job 188 (RM job '188.foo')
AName: STDIN
State: Running
Creds: user:csamuel group:csamuel class:dque
WallTime: 00:00:00 of 14:00:00:00
SubmitTime: Thu Aug 30 14:10:00
(Time Queued Total: 00:00:01 Eligible: 00:00:01)
StartTime: Thu Aug 30 14:10:01
Total Requested Tasks: 2
Total Requested Nodes: 1
Submit Directives: -l software=PA_MSC_NASTRAN -l nodes=1
Req[0] TaskCount: 1 Partition: base
Memory >= 0 Disk >= 0 Swap >= 0
Opsys: --- Arch: --- Features: ---
Dedicated Resources Per Task: PROCS: 1
NodeAccess: SHARED
Application: PA_MSC_NASTRAN NodesRequested: 1
Allocated Nodes:
[node003:1]
Req[1] TaskCount: 1 Partition: base
Memory >= 0 Disk >= 0 Swap >= 0
Opsys: --- Arch: --- Features: ---
Dedicated Resources Per Task: PA_MSC_NASTRAN: 1
NodeAccess: SHARED
NodesRequested: 1
Allocated Nodes:
[node004:1]
Task Distribution: node003,node004
OutputFile: - (mgt.foo:/home/csamuel/STDIN.o188)
ErrorFile: - (mgt.foo:/home/csamuel/STDIN.e188)
StartCount: 1
User Specified Partition Mask: [base][SHARED]
System Available Partition Mask: [base][SHARED]
Partition Mask: [ALL]
SrcRM: base DstRM: base DstRMJID: 188.mgt.foo
Submit Args: -l software=PA_MSC_NASTRAN -l nodes=1
Flags: RESTARTABLE
Attr: checkpoint
StartPriority: 1
PE: 1.00
Reservation '188' (-00:00:04 -> 13:23:59:56 Duration: 14:00:00:00)
Any clues on what's going on here ?
Am I missing something ?
cheers,
Chris
More information about the moabusers
mailing list