主机并行运算问题
-
组里刚弄了台主机,32核64线程的AMD EPYC 7502,ubuntu18.04上跑OF7,但是测试了一下,12核并行、24核并行和不并行的速度都是一样的,几十万网格和几万网格案例都试了,都是并行速度和没并行一样,这是什么原因?跑的时候我也看了系统监视器,的确并行的核的占用都起来了,风扇声音也贼大,但是速度一点没提升是哪里出了问题?
-
@cccrrryyy mpirun -np 24 twoPhaseEulerFoam -parallel ,命令应该没问题,我在其他电脑上并行的话都挺快的,就这机子不行。没有超线程,32核64线程我只用了24个核。
-
@cccrrryyy 是的,跑起来的时候24个cup的占用都起来了,就是速度没块,我再研究研究,感谢!
-
-
@cccrrryyy 我看东岳老师测试的,7502跑32核60多秒就跑完了,我比他慢了十倍
不知道是硬件的问题还是设置的问题
-
@星星星星晴 来了,大佬帮我看看,内存是16*8的
*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org \\ / A nd | Version: 7 \\/ M anipulation | \*---------------------------------------------------------------------------*/ Build : 7-3bcbaf946ae9 Exec : reactingTwoPhaseEulerFoam -parallel Date : Jan 18 2022 Time : 13:20:12 Host : "ps" PID : 6349 I/O : uncollated Case : /home/ps/OpenFoam/zf/tube nProcs : 24 Slaves : 23 ( "ps.6350" "ps.6351" "ps.6352" "ps.6353" "ps.6354" "ps.6355" "ps.6356" "ps.6357" "ps.6358" "ps.6359" "ps.6360" "ps.6361" "ps.6362" "ps.6363" "ps.6364" "ps.6365" "ps.6366" "ps.6367" "ps.6368" "ps.6369" "ps.6370" "ps.6371" "ps.6372" ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 PIMPLE: No convergence criteria found PIMPLE: No corrector convergence criteria found Calculations will do 3 corrections PIMPLE: Operating solver in transient mode with 3 outer correctors
2022年1月16日 06:43
8/36
2022年1月20日 04:14