Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

HOW can i wrap the MPI parallel code into a DLL and use LabvIEW call it.

hi,I write my algorithm in C language by MPI (process-level parallel ). After that, I want to wrap the parallel code into a DLL(dynamic link library) and embed the DLL to LabVIEW. But the MPI must be started by mpiexec command. So, if I wrap the MPI code into a DLL, I cannot run the MPI code. can  LabVIEW support to process-level parallel in a DLL?  Can you give me some advice or else to run the MPI parallel code or else? Look forward for you replying.

0 Kudos
Message 1 of 3
(2,853 Views)

Hello,

Can I understand that you want to use Labview to call dll, but don't know how to do it, if so, you can view the documents below:

http://digital.ni.com/public.nsf/allkb/26C71455943336FA86257977000FE004

0 Kudos
Message 2 of 3
(2,802 Views)

hi, I can call a DLL in LabVIEW and the MPI is a Message-Passing-Interface used for parallel process-level. MPI must start by "mpirun" command. so I want to know how to start the MPI in a DLL code.

thanks in advance.

 

0 Kudos
Message 3 of 3
(2,793 Views)