I am new to C++. And I want to develop a dll of a function applying Monte Carlo Simulation using VS C++ 2013. I want to enhance the monte carlo capacity. So I want to use Microsoft MS-MPI and HPC 2008 to do parallel computing within this dll. Then, I need to call this dll in Excel VBA.
- Is it possible to do it?
- When excuting a C++ code using ms-mpi, I can use "mpiexec.exe" to tell computer how many cores to run. If in Excel Vba, I want the dll to run on multiple cores, how do I do that?