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

CFX license check in

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 26, 2010, 10:05
Default CFX license check in
  #1
ijk
Member
 
Join Date: Apr 2010
Posts: 33
Rep Power: 7
ijk is on a distinguished road
Hi all,

I use CFX on a linux cluster. I cannot run interactively and sometimes have to kill my jobs. Whenever I check license manager it says that I am still using the licenses. Does anyone know how long it takes to check in the licenses after CFX is killed?
ijk is offline   Reply With Quote

Old   August 26, 2010, 10:57
Default
  #2
New Member
 
Alexander U.
Join Date: Aug 2010
Posts: 7
Rep Power: 7
FoxTwo is on a distinguished road
hi,

you have to stop the ansys license server (flexlm) by your own and start the service again. otherwise he will keep the used licenses alive forever. i have the same problem sometimes.

i hope it will help.
FoxTwo is offline   Reply With Quote

Old   August 26, 2010, 11:28
Default
  #3
ijk
Member
 
Join Date: Apr 2010
Posts: 33
Rep Power: 7
ijk is on a distinguished road
Thanks for your response

Stopping the license server isn't really practical as would that not end all jobs for all users? Are you sure it checks them out forever as I have killed lots of jobs before and licenses are still available now?
ijk is offline   Reply With Quote

Old   August 26, 2010, 12:02
Default
  #4
New Member
 
Alexander U.
Join Date: Aug 2010
Posts: 7
Rep Power: 7
FoxTwo is on a distinguished road
times ago i had really hard crashes with ansys, so i had to kill ansys completly (kill the process with task manager under windows). when i started ansys and my simulation again, i got the license error under cfx-solver and couldnīt start the run. in my way, it only helped to stop the ansys license server.
perhaps you didnīt really kill the solver-process and it runs in the background. but i am noch familar with linux, so perhaps you can check this on your own. something like a task manager under linux to watch the running processes. itīs only a guess.
FoxTwo is offline   Reply With Quote

Old   August 27, 2010, 03:54
Default
  #5
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 446
Rep Power: 11
mvoss is on a distinguished road
hi,

Afaik:When loosing connection to the license-server all tasks remain alive for 60min before they get killed.
Thatīs the time to restart the server. And yes somtetimes the licenses stay checked-out when the solver is crashing.

neewbie
mvoss is offline   Reply With Quote

Old   August 27, 2010, 11:05
Default
  #6
ijk
Member
 
Join Date: Apr 2010
Posts: 33
Rep Power: 7
ijk is on a distinguished road
Hi all,

What I found was when I killed my jobs was that the licenses did not check in for 24 hrs. I can just kill them with an stp file or possibly using cfx5stop if needed.
ijk is offline   Reply With Quote

Old   September 20, 2010, 18:24
Default
  #7
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 9
Josh is on a distinguished road
I'd like to bump this topic as I am having similar problems. A task I stopped six hours ago still hasn't released its license. I have four available licenses but can only run three instances of Solver. Here's a screenshot of my running processes:



Should PreEngine and PostEngine be running when I only have the Solver application open? Are there other processes there (besides the three Solver applications) that require a license? Is my only option to restart the server?

Thanks!
Josh is offline   Reply With Quote

Old   September 20, 2010, 18:34
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,959
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
PreEngine and PostEngine should only be running when pre or post is open. If not then they are a stray process from an old session and should be killed. You have a few options: (in the order I would try them)
1) kill the stray processes. Hopefully that releases the license.
2) Stop and start the license server. Do not reboot the machine (although you can do that), but fire up the license manager and stop it and restart it. Again, hopefully it releases the licenses.
3) Reboot everything, license server, compute server. Things are pretty desparate if you have to do this.
ghorrocks is offline   Reply With Quote

Old   September 20, 2010, 18:38
Default
  #9
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 9
Josh is on a distinguished road
Thanks, Glenn. I figured PreEngine and PostEngine were the problem but I wanted to ensure they were to avoid prematurely stopping a long-running simulation. Killing those processes released the required license.
Josh is offline   Reply With Quote

Old   September 20, 2010, 18:47
Default
  #10
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 9
Josh is on a distinguished road
On another note, does Workbench require a license? I can't find an answer to this in the Help file.
Josh is offline   Reply With Quote

Old   September 21, 2010, 06:29
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,959
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Yes, can't remember exactly what it is called - wb* something I think.
ghorrocks is offline   Reply With Quote

Old   September 21, 2010, 11:49
Default
  #12
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 9
Josh is on a distinguished road
Thanks, Glenn. I thought it must but couldn't find the process.
Josh is offline   Reply With Quote

Old   September 21, 2010, 13:37
Default
  #13
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 168
Rep Power: 8
joey2007 is on a distinguished road
As far as I know workbench does not need a license. You will just not be able to start any simulation, pre- or postprocess.
joey2007 is offline   Reply With Quote

Old   September 21, 2010, 13:39
Default
  #14
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 9
Josh is on a distinguished road
Anybody care to argue this out?
Josh is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 03:01
CFX - Pre and Workbench License issues CFX user CFX 2 August 12, 2009 16:59
Importing solutions in CFX. Alphonso CFX 1 August 1, 2008 14:01
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 11:59
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 04:07.