y*h 发帖数: 107 | 1 I tried, but it doesn't work
$ gcc fork.c -o a.out
fork.c:2:17: error: mpi.h: No such file or directory
fork.c: In function 'main':
fork.c:11: error: 'MPI_SUCCESS' undeclared (first use in this function)
fork.c:11: error: (Each undeclared identifier is reported only once
fork.c:11: error: for each function it appears in.)
fork.c:13: error: 'MPI_COMM_WORLD' undeclared (first use in this function) |
t****t 发帖数: 6806 | 2 你装MPI了吗.
【在 y*h 的大作中提到】 : I tried, but it doesn't work : $ gcc fork.c -o a.out : fork.c:2:17: error: mpi.h: No such file or directory : fork.c: In function 'main': : fork.c:11: error: 'MPI_SUCCESS' undeclared (first use in this function) : fork.c:11: error: (Each undeclared identifier is reported only once : fork.c:11: error: for each function it appears in.) : fork.c:13: error: 'MPI_COMM_WORLD' undeclared (first use in this function)
|
y*h 发帖数: 107 | 3 我也怀疑用的UNIX根本就没有装. 不知道怎么查.
【在 t****t 的大作中提到】 : 你装MPI了吗.
|
k****f 发帖数: 3794 | 4 哈哈,eecareer的问题啦
如果是cscareer就会的
locate mpi就知道了,如果有indexing的话
【在 t****t 的大作中提到】 : 你装MPI了吗.
|
t****t 发帖数: 6806 | 5 我每次都不记得这是他的马脚
【在 k****f 的大作中提到】 : 哈哈,eecareer的问题啦 : 如果是cscareer就会的 : locate mpi就知道了,如果有indexing的话
|
y*h 发帖数: 107 | 6 如果没indexing 呢? 还怎么找?
另外, 我现在的UNIX account, 连std::cout都不认识, 这是怎么回事?
【在 k****f 的大作中提到】 : 哈哈,eecareer的问题啦 : 如果是cscareer就会的 : locate mpi就知道了,如果有indexing的话
|