#140: set_dynare_threads function fails on MATLAB < 7.2 ---------------------------+------------------------------------------------ Reporter: sebastien | Owner: stepan Type: bug | Status: assigned Priority: critical | Milestone: 4.2 Component: Core M-files | Version: Resolution: | Keywords: ---------------------------+------------------------------------------------ Changes (by sebastien):
* owner: => stepan * status: new => assigned
Comment:
Solution discussed by Stéphane and Sébastien:
- remove the environment variable - replace it by a substructure of options_, which would contain an entry per threaded DLL - add an extra mandatory input arg to every threaded DLL, corresponding to the number of threads: the argument will only be used if the DLL is compiled with OMP - add the extra input arg in every call from the MATLAB code, using the value from options_ - modify the set_dynare_threads function to add an extra input character arg, corresponding to the name of the DLL to affect; 'all' applies to all threaded DLL