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

Random machine freezes when running several OpenFoam jobs simultaneously

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 27, 2009, 13:00
Default Random machine freezes when running several OpenFoam jobs simultaneously
  #1
New Member
 
Tobias Baier
Join Date: Jul 2009
Location: Darmstadt
Posts: 3
Rep Power: 17
2bias is on a distinguished road
Dear Foamers,

I am experiencing random machine freezes when running several (>6) OpenFoam processes on an 8-kernel computer (two quad-core processors) and I cannot figure out why this is happening. Maybe someone has had the same experience or an idea what might be going on.

A little background:

a) When I start > 6 OpenFOAM processes simultaneously the system completely freezes between 1 and 30 minutes later. This happens both when I run a parallel job or several individual jobs.
("Freeze" means no keyboard entry is accepted and the mouse doesn't move - I cannot even change to the basic shell with "ctrl-alt-F1" and no connection via network is possible.)

b) I am not observing this behavior with any other program (in particular parallel jobs in Mathematica and Comsol run for >12 hours using all 8 system cores without problems)

c) In particular I have been using icoFoam and simpleFoam as well as self compiled variants of these which also solve a scalar equation.

d) The same problem occurs under OpenSUSE 11.0 and the enterprise version SLES10-SP2.

e) I could reproduce the behavior with OpenFoam versions 1.5, 1.6 and also 1.3.

f) The jobs I used are not particularly memory intensive, so no wild swapping is going on.

g) Running only a few jobs works fine...

The computer I am using has two quad-core Intel-Xeon X5570 CPUs and 12 GB of RAM. I have been using the pre-compiled OpenFOAM binaries as downloaded from sourceforge (apart from the two customized solvers).

Any suggestions on how to overcome the problem are greatly appreciated!

Thanks,
Tobias Baier
2bias is offline   Reply With Quote

Old   July 2, 2010, 05:55
Default
  #2
New Member
 
Muhammad reza hassani
Join Date: Apr 2010
Posts: 29
Rep Power: 16
mhassani is on a distinguished road
I have the same problem, when I edit color map or legends. how I can kill the process when the keyboard does not function. If I wait, does it differ? I have not waited more than 10 min. I don't know if I wait more it gets out of the freeze condition
mhassani is offline   Reply With Quote

Old   July 2, 2010, 07:33
Default
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by mhassani View Post
I have the same problem, when I edit color map or legends. how I can kill the process when the keyboard does not function. If I wait, does it differ? I have not waited more than 10 min. I don't know if I wait more it gets out of the freeze condition
ssh in from another machine. If that doesn't work you have a serious problem

No idea about the original problem
gschaider is offline   Reply With Quote

Old   July 2, 2010, 07:34
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings mhassani,

You're experiencing problems with ParaView, not OpenFOAM in particular.
Quote:
Originally Posted by mhassani
I have the same problem, when I edit color map or legends. how I can kill the process when the keyboard does not function. If I wait, does it differ? I have not waited more than 10 min. I don't know if I wait more it gets out of the freeze condition
That usually happens when ParaView is not built with a valid Qt library version. Try downloading and using the official ParaView build: http://www.paraview.org/paraview/res.../software.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   July 2, 2010, 07:38
Default
  #5
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
are you running the job over a network disk?

is it the same when you run them under /scratch?
is it the same when your foam installation is under /scratch?

N
niklas is offline   Reply With Quote

Old   July 2, 2010, 08:40
Default
  #6
New Member
 
Tobias Baier
Join Date: Jul 2009
Location: Darmstadt
Posts: 3
Rep Power: 17
2bias is on a distinguished road
Hi mhassani,

I never found out what really was the reason for my system hangups, but in the end concluded that is was most likely a hardware problem and that it was unrelated to OpenFOAM (I also occasionally got hangups when using some other software heavily).

Anyway, I believe you are experiencing the same problem but most likely for some different reason, since in particular you seem to get a hangup while using Paraview. Have you tried using "ctrl-alt-F1" to switch to a basic shell? If that still works, you might be able to abort paraview from there...

Best,
Tobias
2bias is offline   Reply With Quote

Reply


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
Statically Compiling OpenFOAM Issues herzfeldd OpenFOAM Installation 21 January 6, 2009 10:38
OpenFOAM Distribution by Virtual Machine will OpenFOAM Installation 5 June 20, 2008 09:11
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52
Running 2 CFD jobs on one PC steve podleski Main CFD Forum 17 February 16, 2000 15:40


All times are GMT -4. The time now is 09:12.