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

Parallel Fluent: trouble going from 2 to 4 CPUs

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2006, 16:31
Default Parallel Fluent: trouble going from 2 to 4 CPUs
  #1
Mario
Guest
 
Posts: n/a
I started programming my CFD simulations in parallel to use with a Linux Cluster. I can run Serial simulations just fine, and I can run Parallel 2 CPU simulations fine as well. When I try to increase the number of CPUs higher than 2, the simulation halts when the iterations begin.

At first I thought it might be some of the parallel coding that I added, but I went back to the original serial version and I get the exact same result. It makes no difference if I spawn 4 nodes on 1 dual processor machine or spawn 1 node per CPU on 2 different dual processor machines (thought it might have been a communication issue).

Is there anything obvious that I should be looking for to fix in my UDF file? I am launching Fluent by:

fluent 2d -g -t4 -alnamd64

The -alnamd64 switch is needed for that particular cluster. I tried the switch -psmpi as well, but that didn't help.

Any suggestions?
  Reply With Quote

Old   August 17, 2006, 16:52
Default Re: Parallel Fluent: trouble going from 2 to 4 CPU
  #2
cadaei
Guest
 
Posts: n/a
try -pnmpi. you will need to use -cnf=hostname file path with the -pnmpi switch. hostname file is just text file with host names eg. node1 node2 etc
  Reply With Quote

Old   August 17, 2006, 17:54
Default Re: Parallel Fluent: trouble going from 2 to 4 CPU
  #3
s.feven
Guest
 
Posts: n/a
try partitioning the grid in serial before running in parallel
  Reply With Quote

Old   August 18, 2006, 16:56
Default Re: Parallel Fluent: trouble going from 2 to 4 CPU
  #4
Mario
Guest
 
Posts: n/a
Thanks for the responses. I tried the -pnmpi switch and I also tried partitioning the grid in serial before running in parallel, but neither seemed to help

Is there anything else (that I may have written in my UDF) obvious which would cause the solver to get stuck? I thought about File I/O, but I disabled any file read/write and that didn't help.

The UDF basically records velocities from particular cells (C_U,V,W), computes an output, and applies that value as a boundary input (F_PROFILE). I suppose I could try (as a test) getting rid of the UDF completely and see if Fluent still gets stuck....

Any more suggestions?
  Reply With Quote

Old   August 21, 2006, 05:21
Default Re: Parallel Fluent: trouble going from 2 to 4 CPU
  #5
mAx
Guest
 
Posts: n/a
hi try to spawn manually your nodes, and don't type -t4 option. It should be done before reading your case
  Reply With Quote

Old   August 23, 2006, 11:01
Default Re: Parallel Fluent: trouble going from 2 to 4 CPU
  #6
Mario
Guest
 
Posts: n/a
How do I manually spawn nodes from Fluent without the GUI? I've read Ch. 30 (Parallel Processing) of the Fluent Manual, but it only mentions spawning nodes through the GUI.

I created a test simulation which did not use any UDFs and I get the exact same results when going from 2 to 4 CPU's (simulation "locks up" upon beginning iterations - as if it is waiting for something....), so at least that narrows down the possibilities.

It is most likely a communication issue on the cluster itself, but I'm not sure how to get around it.....
  Reply With Quote

Old   August 24, 2006, 01:17
Default Re: Parallel Fluent: trouble going from 2 to 4 CPU
  #7
mAx
Guest
 
Posts: n/a
try with gui. you will know immediatly if your cluster is well set up. If it's ok, then write a journal while spawning your nodes. After that you will be able to spwan your nodes "manually" and automatically. It's like a -cnf options with hostfile
  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
Parallel running of Fluent Bhanu Gupta FLUENT 3 April 7, 2011 10:32
Fluent Parallel Error Will Humber FLUENT 2 April 3, 2008 15:15
Fluent parallel poovanna FLUENT 0 March 24, 2007 00:22
running multiple Fluent parallel jobs Michael Bo Hansen FLUENT 8 June 7, 2006 09:52
error parallel fluent session Diet FLUENT 2 January 27, 2005 13:31


All times are GMT -4. The time now is 11:23.