New Member
Join Date: May 2024
Posts: 17
Rep Power: 2
|
Hello everyone!
My PC has two Xeon E5620 processors combined in a multi-processor (SMP) configuration, resulting in 16 threads:
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?: запутался:
|