Write an MPI example program, under the VC.NET platform.
Several first: in engineering properties 1. Additional included in the catalog, include the MPICH SDK's include path, such as "E: / Program Files / MPICH / SDK / INCLUDE" 2. Add the library of MPICH SDK in the attached library, such as " E: / Program Files / MPICH / SDK / LIB "3. Debug | Command plus mpirun.exe, mainly for the convenience of running, don't forget to add" -np 4 $ (targetPath) "on the command parameter 4. The environment variable of my computer properties increases the execution path of MPICH BIN, such as "E: / Progra ~ 1 / MPICH / MPD / BIN"
Built an empty console program, configure it above, you can use the following code segment.
#include
These are the lectures of Chi Xue Bin, Mozu, etc., such as the next day.
It feels good.