Znn3bq.jpeg
²é¿´: 2561  |  »Ø¸´: 26

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

ÒýÓûØÌû:
10Â¥: Originally posted by liqizuiyang at 2014-08-30 14:19:03
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....

Hi~
I did configure and make like this:
./configure --prefix=/cluster/lab-p1/openmpi
make
make check
o Error
make install
but when I did it again
./configure --prefix=/cluster/lab-p1/openmpi
make
make check
libtool: link: cannot find the library `../../ompi/libmpi.la' or unhandled argument `../../ompi/libmpi.la'
make[3]: *** [predefined_gap_test] Error 1
make[3]: Leaving directory `/usr/local/src/openmpi-1.8/ompi/debuggers'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/local/src/openmpi-1.8/ompi/debuggers'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/openmpi-1.8/ompi'
make: *** [check-recursive] Error 1
what should I do?>
thaks
11Â¥2014-08-30 17:41:51
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

FC=ifor CC=icc CXX=icpc
12Â¥2014-08-30 17:44:07
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

liqizuiyang

ľ³æ (ÖøÃûдÊÖ)

ÒýÓûØÌû:
11Â¥: Originally posted by °åÇÅ˪ at 2014-08-30 17:41:51
Hi~
I did configure and make like this:
./configure --prefix=/cluster/lab-p1/openmpi
make
make check
o Error
make install
but when I did it again
./configure --prefix=/cluster/lab-p1/openmpi ...

Try 'make clean'. Then 'make check'.

I recommend an older version of openmpi if you are using the latest 1.8.x series.

Try the following command when compiling openmpi:
--------------------------------------------------------------------------
export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export CFLAGS=-O2
export CXXFLAGS=-O2
export FCFLAGS=-O2
export FFLAGS=-O2
./configure --prefix=$HOME/openmpi
---------------------------------------------------------------------------------

I do not think it a good idea to place the source code under /usr/local since it requires root previledge. Also, fierce optimization flags like '-O3' '-xHost' may be sources of trouble. So I recommend '-O2'.
13Â¥2014-08-30 18:06:51
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

ÒýÓûØÌû:
13Â¥: Originally posted by liqizuiyang at 2014-08-30 18:06:51
Try 'make clean'. Then 'make check'.

I recommend an older version of openmpi if you are using the latest 1.8.x series.

Try the following command when compiling openmpi:
---------------------- ...

make clean && make check
...
...
make  predefined_gap_test dlopen_test
make[3]: Entering directory `/usr/local/src/openmpi-1.8/ompi/debuggers'
  CC       predefined_gap_test.o
  CCLD     predefined_gap_test
libtool: link: cannot find the library `../../ompi/libmpi.la' or unhandled argument `../../ompi/libmpi.la'
make[3]: *** [predefined_gap_test] Error 1
make[3]: Leaving directory `/usr/local/src/openmpi-1.8/ompi/debuggers'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/local/src/openmpi-1.8/ompi/debuggers'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/openmpi-1.8/ompi'
make: *** [check-recursive] Error 1
what should I do?
hanks a lot
14Â¥2014-09-01 10:22:14
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

help please
15Â¥2014-09-01 22:25:55
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

I've tried openmpi1.6.4
/.configure --prefix=/cluster/lab-p1/openmpi-1.6.4/ CC=icc CXX=icpc
make check
...
...
make  predefined_gap_test dlopen_test
make[3]: Entering directory `/usr/local/src/openmpi-1.6.4/openmpi-1.6.4/ompi/debuggers'
  CC     predefined_gap_test.o
  CCLD   predefined_gap_test
libtool: link: cannot find the library `../../ompi/libmpi.la' or unhandled argument `../../ompi/libmpi.la'
make[3]: *** [predefined_gap_test] Error 1
make[3]: Leaving directory `/usr/local/src/openmpi-1.6.4/openmpi-1.6.4/ompi/debuggers'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/usr/local/src/openmpi-1.6.4/openmpi-1.6.4/ompi/debuggers'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/openmpi-1.6.4/openmpi-1.6.4/ompi'
make: *** [check-recursive] Error 1
16Â¥2014-09-01 22:41:18
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

any one here? help please
17Â¥2014-09-02 09:27:49
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

ÒýÓûØÌû:
13Â¥: Originally posted by liqizuiyang at 2014-08-30 18:06:51
Try 'make clean'. Then 'make check'.

I recommend an older version of openmpi if you are using the latest 1.8.x series.

Try the following command when compiling openmpi:
---------------------- ...

hi, you mentioned that it's not a good idea to place the source code under /usr/local, where should I place the code then ?
thank you very much
18Â¥2014-09-02 11:56:43
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

liqizuiyang

ľ³æ (ÖøÃûдÊÖ)

PLEASE DO EXACTLY as the instructions below.
In my case, this will build opempi successfuly with all the tests passed.

========================================================
1. Copy the source code to $HOME and decompress. I assume that you use openmpi-1.6.4.
tar -xf openmpi-1.6.4.bz2

2. Create a new directory named "build" under $HOME.
mkdir build

3. Go to build and set environmental variables.
cd build
export CC=icc
export CXX=icpc
export FC=ifort
export F77=ifort
export CFLAGS=-O2
export CXXFLAGS=-O2
export FCFLAGS=-O2
export FFLAGS=-O2

4. Run configure.
../openmpi-1.6.4/configure --prefix=$HOME/code/openmpi-1.6.4

5. Build openmpi.
make

6. Run the test suite.
make check

7. Install.
make install

========================================================

I don't know if you are the administrator of this cluster or not. But I noticed that in all the cases you put the source code under /usr/local and set the prefix to '/cluster/lab-p1/'. Modifications to these directories REQUIRE ROOT PREVILEDGES. I STRONGLY recommend that you should build and install openmpi under $HOME.
19Â¥2014-09-02 11:58:55
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû

°åÇÅ˪

ľ³æ (ÕýʽдÊÖ)

ÒýÓûØÌû:
19Â¥: Originally posted by liqizuiyang at 2014-09-02 11:58:55
PLEASE DO EXACTLY as the instructions below.
In my case, this will build opempi successfuly with all the tests passed.

========================================================
1. Copy the source ...

I will try, thanks again for your time.
20Â¥2014-09-02 12:20:14
ÒÑÔÄ   »Ø¸´´ËÂ¥   ¹Ø×¢TA ¸øTA·¢ÏûÏ¢ ËÍTAºì»¨ TAµÄ»ØÌû
Ïà¹Ø°æ¿éÌø×ª ÎÒÒª¶©ÔÄÂ¥Ö÷ °åÇÅ˪ µÄÖ÷Ìâ¸üÐÂ
×î¾ßÈËÆøÈÈÌûÍÆ¼ö [²é¿´È«²¿] ×÷Õß »Ø/¿´ ×îºó·¢±í
[¿¼ÑÐ] һ־Ը³¶«´óѧ071000ÉúÎïѧѧ˶³õÊÔ·ÖÊý276Çóµ÷¼Á +12 Ľ¾øcc 2026-04-09 15/750 2026-04-09 09:25 by ÄæË®³Ë·ç
[¿¼ÑÐ] 0703µ÷¼Á +17 ʰ¾ÁÒ¼ 2026-04-04 19/950 2026-04-09 09:18 by may_ÐÂÓî
[¿¼ÑÐ] 086000µ÷¼Á +3 Ê®Æßsa 2026-04-07 3/150 2026-04-08 23:58 by GouQ
[¿¼ÑÐ] ¶þ´Îµ÷¼ÁÇóÀÏʦÊÕÁô +3 ЦЦԬ 2026-04-08 3/150 2026-04-08 23:50 by ×íÔÚ·çÀï
[¿¼ÑÐ] ²ÄÁϵ÷¼Á +14 Ò»ÑùYWY 2026-04-02 15/750 2026-04-08 22:40 by Öí»á·É
[¿¼ÑÐ] ¹¤¿Æ 267Çóµ÷¼Á +6 wanwan00 2026-04-02 8/400 2026-04-08 22:09 by ÖìÔÆ»¢202
[¿¼ÑÐ] ÍÁľˮÀûר˶276·ÖÇóµ÷¼Á +6 ÎÒÏëÉÏѧ£¡£¡6 2026-04-05 9/450 2026-04-08 17:45 by ËÎС±¦HQ
[¿¼ÑÐ] 275 Çóµ÷¼Á +8 Lei812514 2026-04-07 8/400 2026-04-08 12:46 by chemisry
[¿¼ÑÐ] 298Çóµ÷¼Á +6 ¶¤¶£ß˶¬¹Ï 2026-04-07 8/400 2026-04-08 10:51 by ÖзÉÔº¿Õ¹ÜѧԺÑ
[¿¼ÑÐ] 287Çóµ÷¼Á +6 Fnhc 2026-04-07 6/300 2026-04-08 10:05 by xingguangj
[¿¼ÑÐ] 307Çóµ÷¼Á +3 Youth@@ 2026-04-07 3/150 2026-04-07 22:00 by hemengdong
[¿¼ÑÐ] Ò»Ö¾Ô¸ÄϿƴóÉúÎïѧ297·Ö£¬Çóµ÷¼ÁÍÆ¼ö +8 Y-yyusx 2026-04-06 9/450 2026-04-07 19:38 by biomichael
[¿¼ÑÐ] Ò»Ö¾Ô¸±±¾©»¯¹¤085600 310·ÖÇóµ÷¼Á +20 0856²ÄÁÏÓ뻯¹¤3 2026-04-04 22/1100 2026-04-07 15:14 by Éϰ¶¿ì¿ì
[¿¼ÑÐ] 292Çóµ÷¼Á +4 lilllllxccc 2026-04-05 5/250 2026-04-07 09:29 by ·Ä´óÑîÀÏʦ
[¿¼ÑÐ] 085100½¨Öþѧ ѰÇó¿çרҵµ÷¼Á Ò»Ö¾Ô¸ÄÏ´ó294·Ö У¼¶Ê¡¼¶¹ú¼Ò¼¶½±ÏîÈô¸É ̤ʵ¿Ï¸É +3 1021075758 2026-04-06 4/200 2026-04-07 09:23 by À¶ÔÆË¼Óê
[¿¼ÑÐ] ÉúÎïѧÇóµ÷¼Á Ò»Ö¾Ô¸»¦9£¬326·Ö +6 Áõīī 2026-04-06 6/300 2026-04-06 19:36 by lijunpoly
[¿¼ÑÐ] 295Çóµ÷¼Á +4 AÄãºÃÑо¿Éú 2026-04-04 5/250 2026-04-04 22:46 by yu221
[¿¼ÑÐ] ¡£ +5 ÎíÓ뺣 2026-04-02 6/300 2026-04-04 19:53 by À¶ÔÆË¼Óê
[¿¼ÑÐ] 309Çóµ÷¼Á +4 ¿ìÀÖµÄС°×¸ë 2026-04-04 5/250 2026-04-04 15:55 by cql1109
[¿¼ÑÐ] 266Çóµ÷¼Á +4 ѧԱ97LZgn 2026-04-02 4/200 2026-04-02 13:03 by yulian1987
ÐÅÏ¢Ìáʾ
ÇëÌî´¦ÀíÒâ¼û