由于要调试mpi程序,所以需要编译/mpi/libmpiwrap.c
需要在./configure的时候check
checking for usable MPI2-compliant mpicc and mpi.h... yes, mpicc
是否是yes,当使用mvapich+intel时是no, 选择openmpi+intel是yes
./configure --prefix=where --with-mpicc=$MPI_PATH/bin/mpicc
之后make ---> make install
就在/mpi下生成.so文件
</