Hi,
when I try to start a local pool either by clicking on 'Start parallel pool' or calling 'parpool' or during a call to 'parfor' (automatic start enabled), matlab starts to intitialize it but it does that for hours if I do not abort the process.
There is no error message, however, significant cpu resource consumption.
I went through similar issues posted in the forum and tried
distcomp.feature( 'LocalUseMpiexec', false )
However, this did not solve the issue.
The matlab version is running under windows 10 with administrative rights on a Lenovo notebook T470.
Please help!
Thanks, Norman

1 commentaire

Edric Ellis
Edric Ellis le 27 Fév 2019
I suggest contacting MathWorks support to help resolve this. (One quick thing you might check is that you don't have a startup.m file that might be interfering).

Connectez-vous pour commenter.

 Réponse acceptée

Norman Forschack
Norman Forschack le 27 Fév 2019

0 votes

Thanks Edric for your comment, which let me move forward to the solution :)
At first, I couldn't see how the startup.m file might interfere as I never had issues with startup.m files in the past years.
However, in this specific case, I used a startup.m file that prompts a user input. This would indeed create a problem if starting a parallel pool also starts the startup.m file again.
This is probably the case because commenting the "input" line solved the issue.
So I learned something new. Thanks a lot for your hint Edric!

Plus de réponses (0)

Catégories

Produits

Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by