[GE users] Parallel environment and flexlm

Dmitry Zhukovski DZH at maerskoil.com
Thu Aug 30 12:17:09 BST 2007


Hi Colin,

  Yes - you are right. SGE currently multiply number under -l by number
of slots. I asked same question sometime ago - search for 'Consumable
variable : one license per job' subject in the list.

Br,
dmitry

-----Original Message-----
From: Colin Thomas [mailto:Colin.Thomas at csr.com] 
Sent: 30. august 2007 13:02
To: users at gridengine.sunsource.net
Subject: [GE users] Parallel environment and flexlm

Hello,

We are using 6.0u9.

We have set up a parallel environment "calibre", with $pe_slots to
ensure it goes onto just one machine.

We have a job we want to reserve all 8 cpus on a machine for this job,
so we run "-pe calibre 8" (there is one slot per cpu in this queue) 9The
calibre job will multi thread on all cpus on the allocated machine).

Now we also use the oleson flexlm method, and have tokens calibrelvs and
calibrehlvs

For a 8 slot parallel job we run 

-pe calibre 8 -l calibrelvs=1,calibrehlvs=1

But it goes into pending, with 
"can not run in PE "calibre" because it only offers 0 slots".

After some debugging, we only have 7 calibrehlvs tokens. If we set "-pe
calibre 7" it will run.

This therefore implies that the number of licenses the grid is looking
for is "number in the -l" * "number of pe slots". (And also the message
seems to be misleading (perhaps)).

This is not the case though, I want just the number in the -l definition
to be consumed and no more.

I have looked at the PE definition, and see no way to tell the grid not
to multiply resources up :-(

I would be grateful of some pointers on where I might be going wrong.

I look forward to your reply.

Best regards

Colin Thomas


.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net


**********************************************************************
This e-mail and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to which they 
are addressed. If you have received this e-mail in error please notify 
the system manager at helpdesk at maerskoil.com.

This e-mail and its contents do not constitute and shall not be 
considered as a financial commitment of Maersk Olie og Gas AS 
and its affiliates. 
Maersk Olie og Gas AS expressly disclaims any responsibility
as to the accuracy and use of this e-mail and its contents.
**********************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list