| 查看: 2892 | 回复: 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 |
» 猜你喜欢
现代”学阀”该如何界定
已经有11人回复
各位大神,目前国内有哪些比较好用的逆合成软件?
已经有15人回复
国社科系统bug了,是不是要放榜了?
已经有10人回复
课题组招2027级博士 上海工程技术大学 激光智能制造方向
已经有4人回复
上海工程技术大学 激光智能制造课题组 2027级博士研究生招生
已经有3人回复
上海工程技术大学激光智能制造课题组|2027级博士研究生招生公告
已经有11人回复
申博发邮件
已经有11人回复
我的奶奶
已经有3人回复
板桥霜
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 4298.5
- 散金: 155
- 红花: 4
- 帖子: 572
- 在线: 95.4小时
- 虫号: 669402
- 注册: 2008-12-06
- 专业: 无机非金属类电介质与电解
18楼2014-09-02 11:56:43
板桥霜
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 4298.5
- 散金: 155
- 红花: 4
- 帖子: 572
- 在线: 95.4小时
- 虫号: 669402
- 注册: 2008-12-06
- 专业: 无机非金属类电介质与电解
2楼2014-08-28 09:40:12
liliangfang
荣誉版主 (著名写手)
- 1ST强帖: 7
- 应助: 138 (高中生)
- 贵宾: 0.952
- 金币: 10648.7
- 散金: 4575
- 红花: 42
- 沙发: 3
- 帖子: 1856
- 在线: 825.2小时
- 虫号: 1275010
- 注册: 2011-04-23
- 性别: GG
- 专业: 微/纳机械系统
- 管辖: 第一性原理
3楼2014-08-29 07:54:58
板桥霜
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 4298.5
- 散金: 155
- 红花: 4
- 帖子: 572
- 在线: 95.4小时
- 虫号: 669402
- 注册: 2008-12-06
- 专业: 无机非金属类电介质与电解
|
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










回复此楼