How to compile MPI with gcc?

前端 未结 6 1550
忘掉有多难
忘掉有多难 2021-01-31 09:31

Does anyone know if it is possible to compile MPI with gcc?. I need to use gcc, no mpicc.

6条回答
  •  孤城傲影
    2021-01-31 09:54

    For MPICH, according to the mpicc man pages, mpicc -compile_info shows the flags for compiling a program, and mpicc -link_info shows the flags for linking a program.

提交回复
热议问题