由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - How to run Message Passing Interface C file?
相关主题
Using unordered_map in Visual Studio怎么才能在Unix里连续跑10个c写的程序
没有root权限怎么安装gcc(RHEL5.9) (转载)请教C++11
哪位帮忙看一个极为简单的 MPI 程序,感谢拉!unix timestamp
A tough pointer conceptQuestion about a TICPP example
aws EMR能设置一个mapper吗?新版的 eclipse 有什么大的改进?
关于程序必须支持win and linux, 可不可以用class而不是#ifdef WIN32 ?javascript function-ask for help
Unix Multi-processor Programminggcc -O
an error message questionQuestion about COM
相关话题的讨论汇总
话题: error话题: undeclared话题: mpi话题: interface话题: message
进入Programming版参与讨论
1 (共1页)
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的话

1 (共1页)
进入Programming版参与讨论
相关主题
Question about COMaws EMR能设置一个mapper吗?
请教matlab转C++关于程序必须支持win and linux, 可不可以用class而不是#ifdef WIN32 ?
为什么我的visual C++ 找不到 "Stdafx.h" ?Unix Multi-processor Programming
effective C++里的memory pool 一问:an error message question
Using unordered_map in Visual Studio怎么才能在Unix里连续跑10个c写的程序
没有root权限怎么安装gcc(RHEL5.9) (转载)请教C++11
哪位帮忙看一个极为简单的 MPI 程序,感谢拉!unix timestamp
A tough pointer conceptQuestion about a TICPP example
相关话题的讨论汇总
话题: error话题: undeclared话题: mpi话题: interface话题: message