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

CFX license check in

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 26, 2010, 11:05
Default CFX license check in
  #1
ijk
Member
 
Join Date: Apr 2010
Posts: 33
Rep Power: 15
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, 11:57
Default
  #2
New Member
 
Alexander U.
Join Date: Aug 2010
Posts: 7
Rep Power: 15
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, 12:28
Default
  #3
ijk
Member
 
Join Date: Apr 2010
Posts: 33
Rep Power: 15
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, 13:02
Default
  #4
New Member
 
Alexander U.
Join Date: Aug 2010
Posts: 7
Rep Power: 15
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, 04:54
Default
  #5
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
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, 12:05
Default
  #6
ijk
Member
 
Join Date: Apr 2010
Posts: 33
Rep Power: 15
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, 19:24
Default
  #7
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 17
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, 19:34
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
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, 19:38
Default
  #9
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 17
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, 19:47
Default
  #10
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 17
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, 07:29
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, can't remember exactly what it is called - wb* something I think.
ghorrocks is offline   Reply With Quote

Old   September 21, 2010, 12:49
Default
  #12
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 17
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, 14:37
Default
  #13
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
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, 14:39
Default
  #14
Senior Member
 
Joshua Counsil
Join Date: Jul 2009
Location: Halifax, Nova Scotia, Canada
Posts: 366
Rep Power: 17
Josh is on a distinguished road
Anybody care to argue this out?
Josh is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 04:01
CFX - Pre and Workbench License issues CFX user CFX 2 August 12, 2009 17:59
Importing solutions in CFX. Alphonso CFX 1 August 1, 2008 15:01
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 12:59
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


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