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

Parallel with 2 processors dual-core.

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 8, 2007, 09:09
Default Parallel with 2 processors dual-core.
  #1
Sam
Guest
 
Posts: n/a
Hi everyone, I've been looking everywhere on the forum and in Fluent documentation, but still can't find any solution to my problem : I run 2 parallel applications (Linux) on 2 dual core processors( cpu1, cpu2, cpu3 and cpu4 to name the different cores): If the 1st calculation is launched with : fluent 3ddp -t2, it will use cpu1 and cpu2. If I run a second calculation with the same command fluent 3ddp -t2, Fluent assigned the 2nd calculation to also cpu1 and cpu2 instead of using cpu3 and cpu4. However with a parallel job running (on cpu1 and 2), if I run a serial case it will automatically use the cpu3.

So How can I specify to fluent to use 1 pair of cores per parallel job instead using the first two one. I guess it has to do with the hostfile thing...but not very clear I think.

Thanks for any help. Sam
  Reply With Quote

Old   October 8, 2007, 18:05
Default Re: Parallel with 2 processors dual-core.
  #2
red lemon
Guest
 
Posts: n/a
write a hosts file (example in manual) then use switch fluent 3d -cnf=hostfile.txt and these nodes will be called to spawn
  Reply With Quote

Old   October 9, 2007, 03:34
Default Re: Parallel with 2 processors dual-core.
  #3
max
Guest
 
Posts: n/a
Hi Sam, on dual core you have to set the affinity of each compute node manually. After starting Fluent and reading the case file use the scheme command (set-affinity "n0 p0 n1 p1 ...") where n0, n1, ..., are your compute nodes and p0, p1 ...are your core-ids.

Max
  Reply With Quote

Old   October 9, 2007, 12:07
Default Re: Parallel with 2 processors dual-core.
  #4
rj
Guest
 
Posts: n/a
This is due to an issue with FLUENT when you try to run two FLUENT jobs on the same machine. The solution from max is good, but you need to set it after the case file is read, because during case file read affinity is always been reset. This problem is supposed to be fixed in FLUENT6.4.

You may have another fix by putting the following lines in a file called ~/.fluent ;;;;;;;;;;;;;;;;;; (set! set-affinity

(lambda (str) (display "User defined set-affinity\n")) ) ;;;;;;;;;;;;;;;;;;

Good luck!

  Reply With Quote

Old   October 10, 2007, 10:43
Default Re: Parallel with 2 processors dual-core.
  #5
Sam
Guest
 
Posts: n/a
Hi ,

Thanks again for the answers, I'm going to try that and give you the feedback !

Cheers
  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
solving a conduction problem in FLUENT using UDF Avin2407 Fluent UDF and Scheme Programming 1 March 13, 2015 03:02
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
Questions about CPU's: quad core, dual core, etc. Tim FLUENT 0 February 26, 2007 15:02
How many CFX licenses for dual core processors? km CFX 12 September 8, 2006 15:18
How many licenses for dual core processors? bob CD-adapco 9 August 15, 2006 08:12


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