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

Is it possible to run foamRun on a PC configuration for 16 threads?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 9, 2024, 02:27
Default Is it possible to run foamRun on a PC configuration for 16 threads?
  #1
New Member
 
Join Date: May 2024
Posts: 17
Rep Power: 2
kol1978 is on a distinguished road
Hello everyone!
My PC has two Xeon E5620 processors combined in a multi-processor (SMP) configuration, resulting in 16 threads:
Quote:
kol@kol:~$ nproc
16
Quote:
__top - 04:14:33 up 4:10, 1 user, load average: 0,81, 2,49, 10,73
Tasks: 332 total, 1 running, 331 sleeping, 0 stopped, 0 zombie
%Cpu0 : 3,7 us, 1,3 sy, 0,0 ni, 95,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu1 : 5,0 us, 8,3 sy, 0,0 ni, 86,8 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu2 : 3,3 us, 0,7 sy, 0,0 ni, 96,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu3 : 2,7 us, 10,6 sy, 0,0 ni, 86,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu4 : 5,0 us, 2,7 sy, 0,0 ni, 92,4 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu5 : 6,3 us, 2,7 sy, 0,0 ni, 91,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu6 : 5,7 us, 7,3 sy, 0,0 ni, 87,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu7 : 4,7 us, 2,0 sy, 0,0 ni, 93,3 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu8 : 3,0 us, 2,7 sy, 0,0 ni, 94,4 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu9 : 3,6 us, 0,7 sy, 0,0 ni, 95,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu10 : 3,7 us, 0,7 sy, 0,0 ni, 95,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu11 : 3,7 us, 1,0 sy, 0,0 ni, 95,3 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu12 : 4,3 us, 4,0 sy, 0,0 ni, 91,6 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu13 : 4,7 us, 3,7 sy, 0,0 ni, 91,6 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu14 : 4,0 us, 1,3 sy, 0,0 ni, 94,7 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
%Cpu15 : 3,7 us, 5,3 sy, 0,0 ni, 91,0 id, 0,0 wa, 0,0 hi, 0,0 si, 0,0 st
MiB Mem : 193409,9 total, 178916,1 free, 4157,9 used, 11950,4 buff/cache
MiB Swap: 8192,0 total, 8192,0 free, 0,0 used. 189252,0 avail Mem
On startup:
Quote:
mpirun -np 16 foamRun –parallel
an error message appears:
Quote:
There are not enough slots available in the system to satisfy the 16
slots that were requested by the application:

foamRun

Either request fewer slots for your application, or make more slots
available for use.

A "slot" is the Open MPI term for an allocatable unit where we can
launch a process. The number of slots available are defined by the
environment in which Open MPI processes are run:

1. Hostfile, via "slots=N" clauses (N defaults to number of
processor cores if not provided)
2. The --host command line parameter, via a ":N" suffix on the
hostname (N defaults to 1 if not provided)
3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
4. If none of a hostfile, the --host command line parameter, or an
RM is present, Open MPI defaults to the number of processor cores

In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.

Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
----------------
Is it possible to run foamRun on this PC configuration for 16 threads? Team?: запутался:
kol1978 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
Can not run OpenFOAM in parallel in clusters, help! ripperjack OpenFOAM Running, Solving & CFD 5 May 6, 2014 15:25
First Parallel Run - need some help Gian Maria OpenFOAM 3 June 17, 2011 12:08
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
Multiple Configuration Simulation Tristan CFX 0 November 13, 2009 23:01
Cycling a transient run Chetan Mistry Phoenics 0 March 3, 2004 09:50


All times are GMT -4. The time now is 22:03.