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

CFX Parallel Run Error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   December 7, 2012, 14:59
Default CFX Parallel Run Error
  #1
New Member
 
Join Date: Dec 2012
Posts: 5
Rep Power: 4
rjd150 is on a distinguished road
I am trying to run a job on local parallel and I keep getting the following error. I can't find anything in the help topics about it and I am not sure what to do!

"The ANSYS CFX solver could not be started, or exited with return code 255: . No results file has been created."
rjd150 is offline   Reply With Quote

Old   December 7, 2012, 20:27
Default
  #2
New Member
 
Kianoosh
Join Date: Jul 2012
Posts: 20
Rep Power: 5
kianoosh_py is on a distinguished road
Quote:
Originally Posted by rjd150 View Post
I am trying to run a job on local parallel and I keep getting the following error. I can't find anything in the help topics about it and I am not sure what to do!

"The ANSYS CFX solver could not be started, or exited with return code 255: . No results file has been created."
in which version you receive this error?
kianoosh_py is offline   Reply With Quote

Old   December 9, 2012, 01:16
Default
  #3
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
Post more of the output to give some more hints. Error 255 is not very helpful unfortunately.
cdegroot is offline   Reply With Quote

Old   November 19, 2013, 11:28
Default CFX Parallel doesn't start/Serial works fine
  #4
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 3
Googlestuff is on a distinguished road
Hey Guys!

I have the same problem. I can run my job on serial, but every parallel attempt shows the following in the out-file:

+--------------------------------------------------------------------+
| |
| Solver |
| |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver could not be started, or exited with return |
| code 255: No such file or directory. No results file has been |
| created. |
+--------------------------------------------------------------------+

End of solution stage.

This run of the ANSYS CFX Solver has finished.
------------------------------------------------------------------------
The complete outfile is attached.

My system:
Windows 7 64 bit
ANSYS 14.5.7 64 bit
Intel Core I5 3570K @ 3,4 Ghz
8 GB Ram

The partitioning seems to work well, anyhow it looks everything okay in the out-file. I tried to use 2, 3, and 4 Cores with MPI local parallel and MPI distributed parallel but nothing worked. I also followed the Installation and Licensing Guide to ensure everything is right installed. The project itself also seems to be okay (mesh/BC's etc), because it runs on my notebook (Core2Duo) in MPI local parallel very well.
I read that it might help to use another parallel run mode like PVM or MPICH2, but i dont know how to set them up. I can't choose them in the CFX Solver Manager GUI so i don't even know if they are installed. Do they come along with CFX?
My only available options are: serial/Platform MPI local parallel/Platform MPI distributed parallel.
I also ensured that the programms could pass the windows firewall and the connection to the licence server is also fine. I am also sure I have the right license for parallel computing, because it runs on at least two cores on my notebook and not even that works on my desktop pc.

I looked through this forum a while, but couldn't find a solution that helped .

If you need additional information to help me I'll try hard to deliver them!

Regards
Attached Files
File Type: txt outfile.txt (15.6 KB, 10 views)

Last edited by Googlestuff; November 19, 2013 at 13:07.
Googlestuff is offline   Reply With Quote

Old   November 25, 2013, 12:26
Default
  #5
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 3
Googlestuff is on a distinguished road
Any ideas? Anybody?
Googlestuff is offline   Reply With Quote

Old   November 25, 2013, 12:30
Default
  #6
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
When you installed CFX did you also install MPI? If not, start up the install program again and install MPI.
cdegroot is offline   Reply With Quote

Old   November 25, 2013, 15:12
Default
  #7
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 3
Googlestuff is on a distinguished road
Yes, I also did install MPI. Could there be another explanation why I doesn't work?
Googlestuff is offline   Reply With Quote

Old   November 25, 2013, 15:42
Default
  #8
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
It seems like an installation or configuration issue since you have it working on your notebook. Sorry I don't have many other suggestions. Are you using Intel MPI or Platform MPI? Whichever you are using, have you tried the opposite?
cdegroot is offline   Reply With Quote

Old   November 26, 2013, 06:09
Default
  #9
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 3
Googlestuff is on a distinguished road
I think I'm using Platform MPI but I will check on that, thanks!
Googlestuff is offline   Reply With Quote

Old   November 27, 2013, 03:32
Default
  #10
Member
 
Shreyas Ragavan
Join Date: Feb 2012
Location: India
Posts: 35
Rep Power: 5
shreyasr is on a distinguished road
Hi Googlestuff,
PVM and MPICH2 libraries - I believe has to be installed separately. However, though it is useful, I don't think that will solve your problem, because the out file seems to indicate that the partitioning is successful.

You could try progressively increasing the solver memory allocation factor, to 1.2 or 1.5, or as high as you can go, based on the memory being used by the simulation. This worked in a similar situation I faced.
__________________
Shreyas
www.cfdrevolutions.weebly.com
shreyasr is offline   Reply With Quote

Old   November 27, 2013, 10:48
Default
  #11
New Member
 
Sebastian
Join Date: Nov 2013
Location: Germany
Posts: 14
Rep Power: 3
Googlestuff is on a distinguished road
Hey,
I wanted to try the Intel MPI and installed it. But I can't choose it in the CFX Solver Manger Window. Do i have to implement it somehow to ansys?

shreyasr do you mean the memory allocation factor of the solver, the interpolator or the partitioner? Or even all of them?
Googlestuff is offline   Reply With Quote

Old   November 27, 2013, 11:43
Default
  #12
Senior Member
 
Chris DeGroot
Join Date: Nov 2011
Location: Canada
Posts: 387
Rep Power: 6
cdegroot is on a distinguished road
I'm not sure why you wouldn't be able to select Intel MPI in the Solver Manager. For me it has just worked.

Based on your output, it seems like the partitioning succeeded. To me it doesn't seem like a memory problem since it works in serial. But you can try adjusting the memory allocation factor if you'd like.

I think the best thing you can do to figure this out is run a very small and simple case in parallel and see if that works (maybe grab a small case from the CFX examples directory). If not, you have narrowed it down to a problem with the parallel configuration.
cdegroot is offline   Reply With Quote

Old   November 27, 2013, 12:41
Default
  #13
Member
 
Shreyas Ragavan
Join Date: Feb 2012
Location: India
Posts: 35
Rep Power: 5
shreyasr is on a distinguished road
I agree with Chris's suggestion. That would make things clear.

@Chris : I agree with you, it does not seem apparently a memory problem. To try recollect my actions when I faced this error code - I tried looking it up, and found no useful information. The exception was in this thread :Error code 255 in cfx ? .. You can see, from the last post that the simulation has worked on another machine. Well, interesting enough - if I remember right - on increasing the solver partition factor, my simulation was running. It is probably worth a shot anyway, if there's no useful information ? In my case - I could not try the serial option due to mesh size limitations. It was a simulation that took up most of 32GB RAM, with partition factors at 1. It just about crawled along!

@Sebastian :You could increase all three, but the partitioner seems okay, I would increase the solver's first.
__________________
Shreyas
www.cfdrevolutions.weebly.com
shreyasr 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
Compile problem ivanyao OpenFOAM Running, Solving & CFD 1 October 12, 2012 09:31
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
error compiling modified applications yvyan OpenFOAM Programming & Development 18 December 17, 2011 15:39
Call for help! Cfx error in Parallel run. yq11ys CFX 4 July 27, 2009 10:09
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 05:51.