LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple processors

Does anyone know how to use more than 64 logical processors in a parallel for loop?

0 Kudos
Message 1 of 6
(388 Views)

You can set a line in your INI file:

 

ParallelLoop.MaxNumLoopInstances=256

 

https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Support-more-parallel-instances-in-the-parallel-FOR-l...

 

 

0 Kudos
Message 2 of 6
(372 Views)

Thank you but this did not work on a Windows 10 machine.  Do I need to go to W11?

0 Kudos
Message 3 of 6
(276 Views)

@cleo99 wrote:

Thank you but this did not work on a Windows 10 machine.  Do I need to go to W11?


No, it should work on Windows 10 as well, regardless of the operating system. You did something wrong, perhaps through a mistyping...

0 Kudos
Message 4 of 6
(266 Views)

@cleo99 wrote:

Thank you but this did not work on a Windows 10 machine.  Do I need to go to W11?


Can you post both the INI file you used that didn't work, as well as a screenshot of the place in you go where it "doesn't work"?

 

Also, do you have multiple instances of LabVIEW on your PC by chance?  Either different "year" versions or different bitness versions?  It would need to be applied to all of them, if so.

0 Kudos
Message 5 of 6
(262 Views)

I have a 64 core, 128 logical, Ryzen Threadripper.  I added the line ParallelLoop.MaxNumLoopInstances=256 to my .INI file (LV2023).  When I then go into the ParFor loop configuration screen, I am able to up the number of instances from 64 to 128, which I was not able to do before - so that part worked.  But when I ran my code and looked at the performance in the task manager - only half (64) of the logical processors where being used.

0 Kudos
Message 6 of 6
(235 Views)