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

Re: How to use full 8 cores CPU power in Linux.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 12, 2022, 05:33
Default Re: How to use full 8 cores CPU power in Linux.
  #1
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Hello all,

I have a question regarding OpenFOAM in Linux. I am doing a project on 2D wells turbine case which has cyclic boundary conditions. When I run the simulation I use only two cores of CPU power but I need to use 8 cores. I have tried with decomposeParDict but it shows an error. Would you tell me how I can use 8 cores of CPU power?

Please answer this question.

Thanks.
mehulsasvadiya1996@gmail. is offline   Reply With Quote

Old   November 16, 2022, 05:36
Default
  #2
New Member
 
Aaditya
Join Date: Apr 2021
Posts: 19
Rep Power: 5
aadicfd is on a distinguished road
Quote:
Originally Posted by mehulsasvadiya1996@gmail. View Post
Hello all,

I have a question regarding OpenFOAM in Linux. I am doing a project on 2D wells turbine case which has cyclic boundary conditions. When I run the simulation I use only two cores of CPU power but I need to use 8 cores. I have tried with decomposeParDict but it shows an error. Would you tell me how I can use 8 cores of CPU power?

Please answer this question.

Thanks.
What error did you receive from decomposeParDict
aadicfd is offline   Reply With Quote

Old   November 16, 2022, 07:17
Default
  #3
New Member
 
mehulsasvadiya1996@gmail.'s Avatar
 
Mehulbhai Sasvadiya
Join Date: Jan 2021
Location: Germany
Posts: 25
Rep Power: 5
mehulsasvadiya1996@gmail. is on a distinguished road
Quote:
Originally Posted by aadicfd View Post
What error did you receive from decomposeParDict
PHP Code:
Courant Number mean0.000605 max1
deltaT 
7.685e-08
Time 
7.68462e-08

PIMPLE
iteration 1
[2#[3] #0  [0] #0  0  smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 0.08575, No Iterations 1
smoothSolver:  Solving for UyInitial residual 1, Final residual 0.0515No Iterations 1
[1#0  Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&) in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
 
in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1#1  [2] #1  Foam::sigFpe::sigHandler(int)Foam::sigFpe::sigHandler(int) in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[3#1  Foam::sigFpe::sigHandler(int) in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[0#1  Foam::sigFpe::sigHandler(int) in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1#2  ? in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[2#2  ? in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[3#2  ? in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[0#2  ? in /lib64/libpthread.so.0
 
in /lib64/libpthread.so.0
[1#3  [2] #3  Foam::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&)Foam::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&) in /lib64/libpthread.so.0
[3#3   in /lib64/libpthread.so.0
Foam::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&)[0#3  Foam::divide(Foam::Field<double>&, double const&, Foam::UList<double> const&) in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[1#4   in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[0#4   in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[3#4   in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so
[2#4  Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&)Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&)Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&)Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::operator/<Foam::fvPatchField, Foam::volMesh>(Foam::dimensioned<double> const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[0#5   in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[1#5   in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
 
in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[3#5  [2] #5  ???? in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[0#6  __libc_start_main in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[1#6  __libc_start_main in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[2#6  __libc_start_main in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[3#6  __libc_start_main in /lib64/libc.so.6
[0#7   in /lib64/libc.so.6
[1#7   in /lib64/libc.so.6
[3#7   in /lib64/libc.so.6
[2#7  ???? in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[ws06:02786] *** Process received signal ***
[
ws06:02786SignalFloating point exception (8)
[
ws06:02786Signal code:  (-6)
[
ws06:02786Failing at address0x4e8100000ae2
 in 
/home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[ws06:02787] *** Process received signal ***
[
ws06:02786] [ 0] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02786] [ 1] /lib64/libpthread.so.0(raise+0x2b) [0x377a40f5db]
[
ws06:02786] [ 2] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02786] [ 3] /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRKNS_5UListIdEE+0xfc) [0x7f07473be63c]
[
ws06:02786] [ 4pimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_11dimensionedIdEERKS8_+0x239) [0x46a219]
[
ws06:02786] [ 5pimpleFoam() [0x463147]
[
ws06:02786] [ 6] /lib64/libc.so.6(__libc_start_main+0xfd) [0x377a01ed1d]
[
ws06:02786] [ 7pimpleFoam() [0x4227b9]
[
ws06:02786] *** End of error message ***
[
ws06:02787SignalFloating point exception (8)
[
ws06:02787Signal code:  (-6)
[
ws06:02787Failing at address0x4e8100000ae3
[ws06:02787] [ 0] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02787] [ 1] /lib64/libpthread.so.0(raise+0x2b) [0x377a40f5db]
[
ws06:02787] [ 2] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02787] [ 3] /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRKNS_5UListIdEE+0xfc) [0x7f036485b63c]
[
ws06:02787] [ 4pimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_11dimensionedIdEERKS8_+0x239) [0x46a219]
[
ws06:02787] [ 5pimpleFoam() [0x463147]
[
ws06:02787] [ 6] /lib64/libc.so.6(__libc_start_main+0xfd) [0x377a01ed1d]
[
ws06:02787] [ 7pimpleFoam() [0x4227b9]
[
ws06:02787] *** End of error message ***
 
in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[ws06:02789] *** Process received signal ***
[
ws06:02789SignalFloating point exception (8)
[
ws06:02789Signal code:  (-6)
[
ws06:02789Failing at address0x4e8100000ae5
[ws06:02789] [ 0] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02789] [ 1] /lib64/libpthread.so.0(raise+0x2b) [0x377a40f5db]
[
ws06:02789] [ 2] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02789] [ 3] /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRKNS_5UListIdEE+0xfc) [0x7f2017a0c63c]
[
ws06:02789] [ 4pimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_11dimensionedIdEERKS8_+0x239) [0x46a219]
[
ws06:02789] [ 5pimpleFoam() [0x463147]
[
ws06:02789] [ 6] /lib64/libc.so.6(__libc_start_main+0xfd) [0x377a01ed1d]
[
ws06:02789] [ 7pimpleFoam() [0x4227b9]
[
ws06:02789] *** End of error message ***
 
in /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/bin/pimpleFoam
[ws06:02788] *** Process received signal ***
[
ws06:02788SignalFloating point exception (8)
[
ws06:02788Signal code:  (-6)
[
ws06:02788Failing at address0x4e8100000ae4
[ws06:02788] [ 0] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02788] [ 1] /lib64/libpthread.so.0(raise+0x2b) [0x377a40f5db]
[
ws06:02788] [ 2] /lib64/libpthread.so.0() [0x377a40f710]
[
ws06:02788] [ 3] /home/software/OpenFOAM/OpenFOAM-v2106/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam6divideERNS_5FieldIdEERKdRKNS_5UListIdEE+0xfc) [0x7f0ce660a63c]
[
ws06:02788] [ 4pimpleFoam(_ZN4FoamdvINS_12fvPatchFieldENS_7volMeshEEENS_3tmpINS_14GeometricFieldIdT_T0_EEEERKNS_11dimensionedIdEERKS8_+0x239) [0x46a219]
[
ws06:02788] [ 5pimpleFoam() [0x463147]
[
ws06:02788] [ 6] /lib64/libc.so.6(__libc_start_main+0xfd) [0x377a01ed1d]
[
ws06:02788] [ 7pimpleFoam() [0x4227b9]
[
ws06:02788] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 2786 on node ws06.clus exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
3 total processes killed (some possibly by mpirun during cleanup
mehulsasvadiya1996@gmail. 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
Is the number of processes in parallel the number of physical cores in the CPU? Pulse FLUENT 0 September 3, 2020 11:53
Openfoam parallel calculation performance study - Half performance on mpirun Jurado OpenFOAM Running, Solving & CFD 22 March 24, 2018 20:40
How to use all cpu cores base on 8-nodes license hatecrew Hardware 4 August 30, 2016 11:06
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 05:36
How to calculate CPU time in Linux system? HS Dou Main CFD Forum 6 March 1, 2000 22:38


All times are GMT -4. The time now is 07:55.