CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

CFX not releasing licenses

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2007, 20:03
Default CFX not releasing licenses
  #1
Glenn Horrocks
Guest
 
Posts: n/a
Hi all,

This is a problem which has been bugging me (no pun intended) for a while and it killed some jobs last night so hopefully somebody has some ideas about it. I have discussed this with my local support office but so far the fix eludes me.

When I do a batch file to script a number of CFX jobs together it occasionally fails to release a license in the previous run and crashes the next run as a license is not available. The previous run had stopped and finished successfully so there is no obvious reason why it failed to release the license. Also there was no other users of CFX on the network at that time so nobody else grabbed the license. I can also assure you the license server was up and the network was functioning - for example all other licenses except the parallel licenses were released.

I have recently installed CFX SP1 (on top of update 1) but I have had the problem for ages (at least a year, on and off) so it is not caused by the service pack or update on CFX11.

Is there any known issues with CFX releasing licenses? Is there something I can set to force CFX to release its licenses when it finishes? Or is it something on the license server? Any tips would be appreciated.

Glenn Horrocks

  Reply With Quote

Old   August 30, 2007, 09:46
Default Re: CFX not releasing licenses
  #2
longbow
Guest
 
Posts: n/a
Have you tried to put a delay of launching new job after one is done, for example, 5 or 10 minutes?
  Reply With Quote

Old   August 30, 2007, 19:28
Default Re: CFX not releasing licenses
  #3
Glenn Horrocks
Guest
 
Posts: n/a
Hi,

A little more information:

It is only the parallel licenses which don't release, the solver and solver options (eg multiphase) options release OK.

When they don't release they stay stuck - you have to reset the license server to release them. They do not release themselves after a period of time.

I have read the flexlm manual but it is pretty hard work to make sense of. I think there is an option to make a license server re-check a license every few minutes. I might give that a try. Any other ideas are welcome!

Glenn Horrocks
  Reply With Quote

Old   August 31, 2007, 05:58
Default Re: CFX not releasing licenses
  #4
Patrick
Guest
 
Posts: n/a
Hi Glenn,

As we installed the SP1 a while ago we were confronted with similar problems. Check out of licences worked except the parallel (and only on linux machines). Our support guy found out, that the sequence of the license check out is not in the correct order.

With the Solver start command "-P 335" everything works now. But this is just a workaround and I hope this bug will be fixed soon.

Regards

Patrick
  Reply With Quote

Old   August 31, 2007, 13:15
Default Re: CFX not releasing licenses
  #5
Bian
Guest
 
Posts: n/a
I do not have the exact experience. But, frequently, if the program crashes (solver, Pre, Post, or others), I have to restart the license manager to release licenses it still holds.
  Reply With Quote

Old   August 31, 2007, 19:37
Default Re: CFX not releasing licenses
  #6
Glenn Horrocks
Guest
 
Posts: n/a
Hi Patrick,

Thanks for that tip, I will try it shortly. I assume you it is a flag on the command line, such as "cfx5solve -def XXX.def -P 335". Is this correct?

Glenn Horrocks
  Reply With Quote

Old   September 4, 2007, 09:52
Default Re: CFX not releasing licenses
  #7
Patrick
Guest
 
Posts: n/a
Hi Glenn,

Should also work in the command line. But you can also write the arguments in the GUI of the solver with "Define Run" in the "Solver"-tab in the "Solver Argument"-Field.

Regards Patrick
  Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 03:20
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 14:22
PhD using CFX Rui CFX 9 May 28, 2007 06:59
How many CFX licenses for dual core processors? km CFX 12 September 8, 2006 16:18
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 14:17.