| ²é¿´: 2538 | »Ø¸´: 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 |
» ²ÂÄãϲ»¶
Çóµ÷¼Á
ÒѾÓÐ3È˻ظ´
265Çóµ÷¼Á
ÒѾÓÐ4È˻ظ´
085700×ÊÔ´Óë»·¾³308Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
Ò»Ö¾Ô¸¼ªÁÖ´óѧ²ÄÁÏѧ˶321Çóµ÷¼Á
ÒѾÓÐ12È˻ظ´
286·ÖÈ˹¤ÖÇÄÜרҵÇëÇóµ÷¼ÁÔ¸Òâ¿ç¿¼£¡
ÒѾÓÐ3È˻ظ´
329Çóµ÷¼Á
ÒѾÓÐ5È˻ظ´
ÉêÇë»Ø¸åÑÓÆÚÒ»¸öÔ£¬±à¼Í¬ÒâÁË¡£µ«ÏµÍ³ÉϵÄʱ¼äû±ä£¬¸ø±à¼ÓÖдÓʼþÁË£¬Ã»»Ø¸´
ÒѾÓÐ4È˻ظ´
²ÄÁÏѧ˶318Çóµ÷¼Á
ÒѾÓÐ5È˻ظ´
Ò»Ö¾Ô¸Öйúº£Ñó´óѧ£¬ÉúÎïѧ£¬301·Ö£¬Çóµ÷¼Á
ÒѾÓÐ6È˻ظ´
081700»¯¹¤Ñ§Ë¶µ÷¼Á
ÒѾÓÐ3È˻ظ´
» ±¾Ö÷ÌâÏà¹Ø¼ÛÖµÌùÍÆ¼ö£¬¶ÔÄúͬÑùÓаïÖú:
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













»Ø¸´´ËÂ¥