CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

how to specify parallel running? (core i7 but with 6 cores running)

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

Like Tree1Likes
  • 1 Post By RodriguezFatz

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 16, 2014, 09:57
Default how to specify parallel running? (core i7 but with 6 cores running)
  #1
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
Hey. Performed once the simulation using all my intel i7 processors. But coller worked with all the power vent. I'm worried, since I'm afraid of causing problems in the processor when running a simulation using all 8 processors. can cause problems? maybe burn the processor?

if I want to use only 6 processors, how should I specify the decomposePar file and the command line in the terminal? I tried the following but it gave this error:

decomposePar:

Quote:
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 6;

method simple;

simpleCoeffs
{
n ( 3 2 1 );
delta 0.001;
Terminal:

Quote:
mpirun -np 6 icoFoam -parallel > log &
Error:
Quote:
--> FOAM FATAL ERROR:
[0] icoFoam: cannot open case directory "/home/s/Dropbox/Openfoam_PG/papers/libre_mechanics_tutorials/bridge/Case2pillars/processor0"
thanks all!
vitorspadeto is offline   Reply With Quote

Old   April 16, 2014, 09:59
Default
  #2
Member
 
Tommy Sp
Join Date: Jan 2014
Posts: 51
Rep Power: 12
vitorspadeto is on a distinguished road
changing the line command:

Quote:
mpirun -np 8 icoFoam -parallel > log &
[4] 5142
[3] Fim da execução com status 1 mpirun -np 6 icoFoam -parallel > log
s@s-Aspire-V3-571:~/Dropbox/Openfoam_PG/papers/libre_mechanics_tutorials/bridge/Case2pillars$ [0]
[0]
[0] --> FOAM FATAL ERROR:
[0] number of processor directories = 1 is not equal to the number of processors = 8
[0]
FOAM parallel run exiting
[0]
--------------------------------------------------------------------------
vitorspadeto is offline   Reply With Quote

Old   April 16, 2014, 11:25
Default
  #3
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
Hey Vitor, everything was fine, but you need to actually decompose your domain. The file "decomposeParDict" only says openfoam how the decomposition is done. Type "decomposePar" before running "mpi -np ...". The decomposePar command will create the (in your case) six directories ./processor0, ./processor/1 ... where the "cutted" domain is stored.
chrisb2244 likes this.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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
Selecting cores independently in a dual quad core machine jalarron FLUENT 1 September 7, 2009 18:06
Kubuntu uses dash breaks All scripts in tutorials platopus OpenFOAM Bugs 8 April 15, 2008 08:52
FEDORA CORE and PARALLEL processing Tuks CFX 2 August 20, 2005 12:05


All times are GMT -4. The time now is 02:26.