Specify the maximum number of compute threads to be used with " maxNumCompThreads(N) " at the beginning of the matlab program where N is the maximum number of threads in the program.To allow the multi-thread functions in matlab, users need to do the following: Without the option, matlab session will potentially spawn as many as 28 (on intel16 nodes) or 20 (on intel14 nodes) threads when a built-in multi-threaded function is called. User could also use option " -SingleCompThread" to launch matlab session that would only use single thread. To avoid over utilizing compute nodes on HPCC, user should set the max number of threads by using “ maxNumCompThreads(N)” in matlab where N is the maximum number of threads matlab would use in the session. On your personal computer, when a MATLAB function with multi-threads is called, MATLAB will automatically spawn as many threads as the number of cores on the machine. MATLAB's many built-in functions have multi-threaded capability.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |