CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   Error: Unable to retrieve mon from working directo (https://www.cfd-online.com/Forums/cfx/20143-error-unable-retrieve-mon-working-directo.html)

Atit Koonsrisuk February 5, 2004 00:27

Error: Unable to retrieve mon from working directo
 
I am using CFX-5.6 on Window 2000. I have updated the virus definition file and scan my computer, there is no virus found on my PC. I got the unexplanation error message from CFX-Solver when I run any simulation, even the file that used to work. I uninstalled CFXs, and deleted all relevant files, then re-install CFX again. However the error still persist. The error message is, +--------------------------------------------------------------------+

| An error has occurred in cfx5solve: |

| |

| Unable to retrieve mon from working directory: Cannot move to |

| C:\CFX\work\axissymmetry\water\ModelAir4000_004\mo n: Permission |

| denied |

+--------------------------------------------------------------------+

+--------------------------------------------------------------------+

| Warning! |

| |

| An error has occurred during creation of a directory for |

| additional output files. To avoid losing results, the working |

| directory C:\CFX\work\axissymmetry\water\ModelAir4000_004.di r will |

| be kept at the end of the run. Please tidy this directory up |

| yourself when you have extracted what you need from it. |

+--------------------------------------------------------------------+

+--------------------------------------------------------------------+

| The following user files have been saved in the directory |

| C:\CFX\work\axissymmetry\water\ModelAir4000_004: |

| |

| mon |

+--------------------------------------------------------------------+ Do anyone understand this error? Please suggest me. Thank you very much.

Atit Koonsrisuk

Glenn Horrocks February 5, 2004 17:52

Re: Error: Unable to retrieve mon from working dir
 
Hi Atit,

When CFX5 is executing it creates a temporary directory for storage (C:\CFX\work\axissymmetry\water\ModelAir4000_004.d ir in this case). At the end of the run by default it moves everything to be kept out of this directory into the final data directory (C:\CFX\work\axissymmetry\water\ModelAir4000_004 in your case) and deletes the temporary ModelAir4000_004.dir directory. The error message you have says it cannot delete the temporary .dir directory. This can happen if you are looking at the directory with explorer, or have a file open in that directory.

Most of the time you can ignore this error message. Have a look in the temp directory and check there's nothing in there you want, and delete it.

Glenn

Atit Koonsrisuk February 6, 2004 05:02

Re: Error: Unable to retrieve mon from working dir
 
Thank you very much for your response. This make me understand that message. I cannot ignore that error message, however, the Solver stop to run with that message. It stop without reaching any criteria I set. It seems like Solver stopped by that error. And I am sure that I did not browse or open any file in that temporary directory. For your information, the free space in my harddrive is now 12.9 GB. So the space left is not the origin of the problem, is it? Do you have any additional idea? Thank you.

Atit Koonsrisuk

Glenn Horrocks February 8, 2004 16:41

Re: Error: Unable to retrieve mon from working dir
 
Hi Atit,

This error message does not stop the solver. The solver is already stopping, and is saying it can't clean up it's temporary directories afterwards. Something else is actually causing the solver to crash.

Glenn

Atit Koonsrisuk February 11, 2004 04:45

Re: Error: Unable to retrieve mon from working dir
 
Lastly, I got this message: ================================================== ====================

OUTER LOOP ITERATION = 18 CPU SECONDS = 3.33E+02

----------------------------------------------------------------------

| Equation | Rate | RMS Res | Max Res | Linear Solution |

+----------------------+------+---------+---------+------------------+

+--------------------------------------------------------------------+

| An error has occurred in cfx5solve: |

| |

| The CFX-5 solver could not be started: No child processes. No |

| results file has been created. |

+--------------------------------------------------------------------+

End of solution stage.

+--------------------------------------------------------------------+

| The following user files have been saved in the directory |

| c:\cfx\work\roof_height\10_10_0p2_q1265_001: |

| |

| mon |

+--------------------------------------------------------------------+

This run of the CFX-5 Solver has finished.

------------------------------------------------------- Help me please!

Atit Koonsrisuk February 11, 2004 11:21

Re: Error: Unable to retrieve mon from working dir
 
I format my hard drive, and try to run the file that used to work. It work as I expect. Then I run the new problem file, and I got the error old error message. I cannot solve that errror. Finally, I try to run the one the used to work again. Surprisingly it doesn't work and I got the following message, ================================================== ====================

OUTER LOOP ITERATION = 93 ( 13) CPU SECONDS = 4.77E+02 ( 9.20E+01)

----------------------------------------------------------------------

| Equation | Rate | RMS Res | Max Res | Linear Solution |

+----------------------+------+---------+---------+------------------+

+--------------------------------------------------------------------+

| An error has occurred in cfx5solve: |

| |

| The CFX-5 solver could not be started: No child processes. No |

| results file has been created. |

+--------------------------------------------------------------------+

End of solution stage.

+--------------------------------------------------------------------+

| An error has occurred in cfx5solve: |

| |

| Unable to retrieve mon from working directory: Cannot move to |

| c:\cfx\work\axissymmetry\water\PrototypeIdealAir_0 05\mon: |

| Permission denied |

+--------------------------------------------------------------------+

+--------------------------------------------------------------------+

| Warning! |

| |

| An error has occurred during creation of a directory for |

| additional output files. To avoid losing results, the working |

| directory c:\cfx\work\axissymmetry\water\PrototypeIdealAir_0 05.dir |

| will be kept at the end of the run. Please tidy this directory up |

| yourself when you have extracted what you need from it. |

+--------------------------------------------------------------------+

+--------------------------------------------------------------------+

| The following user files have been saved in the directory |

| c:\cfx\work\axissymmetry\water\PrototypeIdealAir_0 05: |

| |

| mon |

+--------------------------------------------------------------------+

This run of the CFX-5 Solver has finished.

-----------------------------------------------------

HELP ME PLEASE!

Atit Koonsrisuk

Forrest February 20, 2004 05:07

Re: Error: Unable to retrieve mon from working dir
 
HI, Atit and Glenn

The errors you had are the same as I had before using CFX5.6. However, they are still there from time to time ("Unable to retrieve mon from working dir, no child processes, no results file created, etc).

I've been asking cfx helpdesk and they checked with us about the OS, disk space, etc and I also sent them the files which including errors, .def file, .res file ... but there were still no straightaway answers for that yet.

Later, I found the problem only happened on my PC, the other two PCs in my office seemed ok, as well as another one running cfx5.6 under unix. I was suggested to re-install CFX5.6, we did that. It worked ok for a while, so I thought the problem was sorted. So I've already told cfx helpdesk that the problem was sorted. But recently, it happened again, not as often as before, but it does happen.

I had this problem more than half a year now, what I do now is trying to backup result files, once it stops by this 'no child processes', then run the backup file, it will get through the point where you stopped, I have to say it's totally random. Sometimes, it was nice, not annoying for a while, then suddenly came to you and drive you mad. Thank you for raising this problem here, at least I know I am not on my own. Hopefully, this will be sorted soon

Regards Forrest


All times are GMT -4. The time now is 06:16.