| 查看: 2453 | 回复: 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 |
» 猜你喜欢
职称评审没过,求安慰
已经有49人回复
26申博自荐
已经有3人回复
A期刊撤稿
已经有4人回复
垃圾破二本职称评审标准
已经有17人回复
投稿Elsevier的Neoplasia杂志,到最后选publishing options时页面空白,不能完成投稿
已经有22人回复
EST投稿状态问题
已经有7人回复
毕业后当辅导员了,天天各种学生超烦
已经有4人回复
三无产品还有机会吗
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
Help 小虫本科高分子考研 想去东华大学
已经有22人回复
vasp 编译主程序时候出错,求好心人看一下
已经有17人回复
P不出来目的条带,求help
已经有4人回复
vasp编译错误求助
已经有6人回复
CPMD 3.17.1 新版更新与与ubuntu + gcc4.6 + openmpi并行编译
已经有3人回复
Help!!!发酵罐压力太大!!!
已经有19人回复
关于berkeleygw的安装与用法
已经有8人回复
help A 类错误
已经有4人回复
并行计算中MPI,openMPI,openMP的区别
已经有3人回复
单机多核一个cpu的串行并行求助
已经有26人回复
help~各位有没有投过《计算机与应用化学》的啊,我钱过去了,电话,邮件都没有一个。
已经有9人回复
[软件编译交流]如下的编译问题你了解多少?
已经有19人回复
openmpi安装问题
已经有17人回复
vasp5.2 openmpi+intel+mkl编译,能量正值问题
已经有7人回复
HELP!! q-PCR Stepone (Derivative Reporter)
已经有7人回复
C++下的mpi.h头文件
已经有5人回复
【求助】安装siesta2.0.2时如何编译arch.make??
已经有17人回复
【分享】openmpi-intelmkl-siesta3.0 并行安装--两种方式---原创
已经有5人回复
【求助】mpi vasp问题
已经有32人回复
【ghcacj个人文集】单机环境下安装openmpi使用Orca并行运算的方法介绍
已经有12人回复
【求助/交流】茚三酮法测氨基酸含量,虫虫们,HELP!
已经有12人回复
【求助】mkl+ifort+openmpi+siesta3.并行安装出错
已经有8人回复
【求助/交流】欲测DNA在260nm的紫外波长,困扰就出现了。。。。HELP~~
已经有15人回复
【求助】VASP 编译出错
已经有24人回复
板桥霜
木虫 (正式写手)
- 应助: 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
liqizuiyang
木虫 (著名写手)
- 应助: 59 (初中生)
- 金币: 6859.5
- 散金: 261
- 红花: 94
- 帖子: 2093
- 在线: 708.9小时
- 虫号: 2366686
- 注册: 2013-03-21
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
|
It seems that the corresponding environmental variables are not correctly set. You may set them by "export CC=icc" "export CXX=icpc" etc. . Anyway, there is no need to bother running the examples distributed along with the source code. Just try the testsuite by "make test". If it passes all the tests, then the compilation is successful. It happened to me that openmpi with version number > 1.6.4 did not work well. On the contrary, the 1.6.4 version was proved to very robust. In fact, all the computers in our group employ this version. |
5楼2014-08-29 09:24:41
板桥霜
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 4298.5
- 散金: 155
- 红花: 4
- 帖子: 572
- 在线: 95.4小时
- 虫号: 669402
- 注册: 2008-12-06
- 专业: 无机非金属类电介质与电解
6楼2014-08-30 10:40:51
感谢参与,应助指数 +1
|
本帖内容被屏蔽 |
7楼2014-08-30 10:58:39
板桥霜
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 4298.5
- 散金: 155
- 红花: 4
- 帖子: 572
- 在线: 95.4小时
- 虫号: 669402
- 注册: 2008-12-06
- 专业: 无机非金属类电介质与电解
|
[han@lab-host examples]$ echo $PATH /home/han/program/icc/bin:/home/han/program/openmpi/bin:/home/han/program/openmpi/bin:/home/han/program/icc/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/han/bin [han@lab-host examples]$ echo $LD_LIBRARY_PATH /home/han/program/icc/lib/ia32:/home/han/program/icc/composer_xe_2013_sp1.2.144/compiler/lib/ia32:/home/han/program/openmpi/lib:/home/han/program/icc/lib/ia32:/home/han/program/openmpi/lib: These are my environmental variables............. |
8楼2014-08-30 11:21:45
板桥霜
木虫 (正式写手)
- 应助: 2 (幼儿园)
- 金币: 4298.5
- 散金: 155
- 红花: 4
- 帖子: 572
- 在线: 95.4小时
- 虫号: 669402
- 注册: 2008-12-06
- 专业: 无机非金属类电介质与电解
|
environmental variables on nodes lab-p1 and lab-p2 are: [han@lab-p2 ~]$ echo $PATH /home/han/program/icc/bin:/home/han/program/openmpi/bin:/usr/lib/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/han/bin [han@lab-p2 ~]$ echo $LD_LIBRARY_PATH /home/han/program/icc/lib/ia32:/home/han/program/icc/composer_xe_2013_sp1.2.144/compiler/lib/ia32:/home/han/program/openmpi/lib: |
9楼2014-08-30 11:46:54
liqizuiyang
木虫 (著名写手)
- 应助: 59 (初中生)
- 金币: 6859.5
- 散金: 261
- 红花: 94
- 帖子: 2093
- 在线: 708.9小时
- 虫号: 2366686
- 注册: 2013-03-21
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
10楼2014-08-30 14:19:03













回复此楼