CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   CFX license check in (

ijk August 26, 2010 10:05

CFX license check in
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?

FoxTwo August 26, 2010 10:57


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.

ijk August 26, 2010 11:28

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?

FoxTwo August 26, 2010 12:02

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.

mvoss August 27, 2010 03:54


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.


ijk August 27, 2010 11:05

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.

Josh September 20, 2010 18:24

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?


ghorrocks September 20, 2010 18:34

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.

Josh September 20, 2010 18:38

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 September 20, 2010 18:47

On another note, does Workbench require a license? I can't find an answer to this in the Help file.

ghorrocks September 21, 2010 06:29

Yes, can't remember exactly what it is called - wb* something I think.

Josh September 21, 2010 11:49

Thanks, Glenn. I thought it must but couldn't find the process.

joey2007 September 21, 2010 13:37

As far as I know workbench does not need a license. You will just not be able to start any simulation, pre- or postprocess.

Josh September 21, 2010 13:39

Anybody care to argue this out?

All times are GMT -4. The time now is 08:46.