Visual Studio使用MPI进行Fortran并行

Posted by Xiehua on August 23, 2022

Visual Studio使用MPI进行Fortran并行

  1. mpi include路劲的设置:D:\soft\Intel\mpi\2021.5.2\include(或者D:\soft\Intel\mpi\2021.5.2\include\ilp64)
    VS-MPI-include

  2. mpi lib路劲的设置: D:\soft\Intel\mpi\2021.5.2\lib(\debug or \release)
    VS-MPI-lib

  3. mpi库文件的调用:impi.lib(libmpi_ilp64.lib) VS-MPI-mpilib

  4. MPI执行命令设置:D:\soft\Intel\mpi\2021.5.2\bin\mpiexec.exe command Arguments : -n 4 “$(TargetPath)” VS-MPI-exe