24小时热门版块排行榜    

查看: 3072  |  回复: 26
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

板桥霜

木虫 (正式写手)

[求助] help---------openmpi 已有2人参与

hello every, I've got some problems when I try to compile hello_c.c, one sample of openmpi1.8 examples, the  messages are here:
./Makefile hello_c.c
./Makefile: line 27: CC: command not found
./Makefile: line 28: CXX: command not found
./Makefile: line 29: CCC: command not found
./Makefile: line 30: FC: command not found
./Makefile: line 31: JAVAC: command not found
./Makefile: line 32: SHMEMCC: command not found
./Makefile: line 33: SHMEMFC: command not found
./Makefile: line 40: CFLAGS: command not found
./Makefile: line 41: CXXFLAGS: command not found
./Makefile: line 42: CCFLAGS: command not found
./Makefile: line 43: FCFLAGS: command not found
./Makefile: line 47: EXAMPLES: command not found
./Makefile: line 70: all:: command not found
./Makefile: line 71: syntax error near unexpected token `then'
./Makefile: line 71: `        @ if which ompi_info >/dev/null 2>&1 ; then \'
[root@lab-host examples]# which mpicc
/home/han/program/openmpi/bin/mpicc
I have add the path of mpicc, mpic++ and mifort to PATH, what should I do?
Thanks alot
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liqizuiyang

木虫 (著名写手)

引用回帖:
6楼: Originally posted by 板桥霜 at 2014-08-30 10:40:51
$ make test
make: *** No rule to make target `test'.  Stop.
$...

Try "make test" at the top directory of the openmpi source code, not at the directory of 'examples'.

If this does not work, try 'make check' instead.
10楼2014-08-30 14:19:03
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 27 个回答

板桥霜

木虫 (正式写手)

waiting online..............
2楼2014-08-28 09:40:12
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

liliangfang

荣誉版主 (著名写手)

【答案】应助回帖

感谢参与,应助指数 +1
在root下试试
yum install gcc*
3楼2014-08-29 07:54:58
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

板桥霜

木虫 (正式写手)

引用回帖:
3楼: Originally posted by liliangfang at 2014-08-29 07:54:58
在root下试试
yum install gcc*

I've tried using root, still wrong.
and it's not about gcc, cause
$ rpm -qa |grep gcc
gcc-c++-4.4.6-3.el6.i686
gcc-gfortran-4.4.6-3.el6.i686
gcc-4.4.6-3.el6.i686
libgcc-4.4.6-3.el6.i686
The program was complied with icc, ifort
thanks anyway~
==================================================
The work was carried out in a cluster composed of 1 server(lib-host), 2 nodes(lib-p1 and lib-p2).
NFS, NIS, RSH, and ip ruls were set up.
now,  when I login the server as user (username han):
[han@lab-host ~]$ which mpicc
~/program/openmpi/bin/mpicc
[han@lab-host ~]$ which mpic++
~/program/openmpi/bin/mpic++
[han@lab-host ~]$ which mpifort
~/program/openmpi/bin/mpifort
[han@lab-host ~]$ which mpiexec
~/program/openmpi/bin/mpiexec
[han@lab-host ~]$ which mpirun
~/program/openmpi/bin/mpirun
===================================
I can locate the file here:
[han@lab-host ~]$ locate libsvml.so
/home/han/program/icc/composer_xe_2013_sp1.2.144/compiler/lib/ia32/libsvml.so
===================================
but when I log in the node , sth was wrong:

the program of "which " was correct
[han@lab-host ~]$ locate libsvml.so
/home/han/program/icc/composer_xe_2013_sp1.2.144/compiler/lib/ia32/libsvml.so
======================================
when I use the program of "locate"
[han@lab-p1 ~]$ locate libsvml.so
[han@lab-p1 ~]$
nothing was located
the enveriment variables of PATH, LD_LIBARARY_PATH was added. what' wrong with my cluster.....


thank you
4楼2014-08-29 09:02:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[硕博家园] 售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急 +4 SX5mJmPWDfOO 2026-11-13 4/200 2026-11-15 07:34 by xSrQNSSjcgoX
[基金申请] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +3 XJXMuRjD7cK7 2026-11-13 3/150 2026-11-15 05:44 by xSrQNSSjcgoX
[考研] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +3 uKOSCocCb6Fm 2026-11-13 3/150 2026-11-15 04:05 by xSrQNSSjcgoX
[论文投稿] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 uKOSCocCb6Fm 2026-11-12 7/350 2026-11-15 03:10 by xSrQNSSjcgoX
[考研] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +5 YHiw1gou1Eda 2026-11-10 8/400 2026-11-14 22:51 by Equinoxhua
[考研] 售SCI一区文章,我:8O5.5.1.O5.4,科目全,可伽急 +5 G2rhSvqvhNzl 2026-11-10 7/350 2026-11-14 21:58 by Equinoxhua
[考博] 27博士申请 +5 白白白ly 2026-11-09 5/250 2026-11-13 05:01 by wlf1982
[考研] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +4 Z7qfCsdIiD1T 2026-11-10 4/200 2026-11-12 11:22 by HajghKOMynmz
[硕博家园] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +5 Z7qfCsdIiD1T 2026-11-10 8/400 2026-11-12 11:20 by HajghKOMynmz
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +5 czAiolzR0IJC 2026-11-10 6/300 2026-11-12 11:03 by HajghKOMynmz
[教师之家] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +4 czAiolzR0IJC 2026-11-10 7/350 2026-11-12 11:00 by HajghKOMynmz
[基金申请] 售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急 +4 czAiolzR0IJC 2026-11-10 8/400 2026-11-12 11:00 by HajghKOMynmz
[基金申请] 售SCI一区文章,我:8.O.551.O.5.4,科目全,可伽急 +5 G2rhSvqvhNzl 2026-11-10 7/350 2026-11-12 10:49 by HajghKOMynmz
[公派出国] 售SCI-T0P文章,我:8O.5.5.1.O.54,科目齐全,可+急 +5 FChKX8meu1ds 2026-11-09 10/500 2026-11-12 09:52 by HajghKOMynmz
[教师之家] 售SCI一区T0P文章,我:8.O.55.1.O54,科目全,可伽急 +7 FChKX8meu1ds 2026-11-09 12/600 2026-11-12 09:43 by HajghKOMynmz
[考研] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +3 cdqGD6ftHmbl 2026-11-11 3/150 2026-11-12 07:53 by HajghKOMynmz
[公派出国] 售SCI一区T0P文章,我:8.O55.1.O.54,科目全,可十急 +4 Z7qfCsdIiD1T 2026-11-10 6/300 2026-11-12 07:09 by 9fOTqj074tIg
[考研] 售SCI一区文章,我:8.O.55.1.O.54,科目齐全,可伽急 +6 FChKX8meu1ds 2026-11-09 9/450 2026-11-12 05:19 by 9fOTqj074tIg
[教师之家] 售SCI一区T0P文章,我:8O.55.1.O.54,科目全,可伽急 +4 FChKX8meu1ds 2026-11-09 7/350 2026-11-12 05:19 by 9fOTqj074tIg
[考研] 售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急 +5 cqv1zKnzd7hr 2026-11-09 8/400 2026-11-12 05:08 by 9fOTqj074tIg
信息提示
请填处理意见