필터 지우기
필터 지우기

Just Curious, when I run parallel computing with k cores, why there are k matlab background processes in the task manager on my machine?

조회 수: 4 (최근 30일)
I'm recently running some simulations using matlab parallel computing with 100 cores(distributed across 10 nodes) on a computing cluster of my university. However, I received warnings about consuming too much CPUs on the node where I ran my file(after logging in). I checked the task manager and found that there are 100 matlabs launched as background processes, each one consuming an equal amount of CPU on this node(that's why total CPU consumption quickly blow up). Once I shut down 'parpool', those background processes disappeared. Just curious about what is going on there, why does matlab start a background process for each parallel on my machine? What are these background processes for?

채택된 답변

Matt J
Matt J 2017년 11월 2일
That's how parallel labs in the Parallel Computing Toolbox work. Essentially, they each run their own separate MATLAB session.
  댓글 수: 2
Tmat
Tmat 2017년 11월 2일
Ah, I see. Thank you so much, Matt! Is there a way to do parallel computing without triggering those background processes(so that I won't use too much CPUs on one node)?
Matt J
Matt J 2017년 11월 3일
편집: Matt J 2017년 11월 3일
I think the 100 background processes are inevitable, since they are running your 100 parallel jobs. The question is whether your entire parpool is running on your host node. You probably want to distribute some workers to other nodes. I suspect you need to dig into cluster profiles to do that,

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Clusters and Clouds에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by