我使用本帖子的答案(Using GDB to debug an MPI program in Fortran)在我的Mac上調試MPI Fortran程序。我試圖實現一個弗拉基米爾·F.給出然而,經過了答案: gdb -pid <the_pid_you_got_from_getpid>
調試器打開,我得到了以下信息: warning: unhandled dyld version (15)
我有一個相當複雜的程序,我必須與MPI並行。我爲此使用MPICH3。 我知道做一個新MPI_Datatype結合的方式: typedef struct{
float x;
float y;
int centroid;
} point;
typedef struct{
int csize;//the current size
int tsize;