Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread Sergiy Bubin

This works too. It is probably a better solution. Thank you very much!
Sergiy

> Date: Tue, 19 Apr 2011 14:03:49 -0700
> From: n...@aol.com
> To: us...@open-mpi.org
> Subject: Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04
> 
>   On 04/19/2011 01:24 PM, Sergiy Bubin wrote:
> > /usr/include/c++/4.5/iomanip(64): error: expected an expression
> >  { return { __mask }; }
> >   ^
> > /usr/include/c++/4.5/iomanip(94): error: expected an expression
> >  { return { __mask }; }
> >   ^
> > /usr/include/c++/4.5/iomanip(125): error: expected an expression
> >  { return { __base }; }
> >   ^
> > /usr/include/c++/4.5/iomanip(193): error: expected an expression
> >  { return { __n }; }
> >   ^
> > /usr/include/c++/4.5/iomanip(223): error: expected an expression
> >  { return { __n }; }
> >   ^
> > /usr/include/c++/4.5/iomanip(163): error: expected an expression
> >{ return { __c }; }
> > ^
> >
> If you're using icpc, this seeming incompatibility  between icpc and g++ 
> 4.5 has been discussed on the icpc forum
> http://software.intel.com/en-us/forums/showthread.php?t=78677&wapkw=%28iomanip%29
> where you should see that you must take care to set option -std=c++0x 
> when using current  under icpc, as it is treated as a c++0x 
> feature.  You might try adding the option to the CXXFLAGS or whatever 
> they are called in openmpi build (or to the icpc.cfg in your icpc 
> installation).
> 
> -- 
> Tim Prince
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users



Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread Sergiy Bubin

Great! Everything has compiled fine. Thank you very much for your assistance! I 
would have not known what to do had I been on my own. 

Also, the -I option does work. It was my mistake, I typed 
CPPFLAGS=-I/usr/include/x86_64-linux-gnu/asm (note "/asm" in the end) when I 
did it first time, which was wrong.

Thanks again,
Sergiy



> From: r...@open-mpi.org
> Date: Tue, 19 Apr 2011 14:39:31 -0600
> To: us...@open-mpi.org
> Subject: Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04
>
>
> On Apr 19, 2011, at 2:24 PM, Sergiy Bubin wrote:
>
> >
> > Thanks for the suggestion. I have figured (by googling around and comparing 
> > the content of asm directories) that Ubuntu 11.04 has some difference in 
> > the location of /usr/include/asm/. It appears that now that whole directory 
> > is located at /usr/include/x86_64-linux-gnu/asm/.
>
> Yick!
>
> >
> > I tried to use -I but it did not work.
>
> Strange. CPPFLAGS=-I/usr/include/x86_64-linux-gnu on the configure line 
> didn't work??
>
> > Making a symbolic link
> > ln -s /usr/include/x86_64-linux-gnu/asm /usr/include/asm
> > did help to move things forward.
> >
> > But now I got another issue. After compiling for a while it gives me the 
> > following error:
>
> Looks like VampirTrace may not support 11.04 yet. Just add 
> --enable-contrib-no-build=vt to your configure line
>
>
> >
> > make[7]: Entering directory 
> > `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari/tool'
> > icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
> > -pthread -MT handler.o -MD -MP -MF .deps/handler.Tpo -c -o handler.o 
> > handler.cc
> > mv -f .deps/handler.Tpo .deps/handler.Po
> > icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
> > -pthread -MT ompragma.o -MD -MP -MF .deps/ompragma.Tpo -c -o ompragma.o 
> > ompragma.cc
> > mv -f .deps/ompragma.Tpo .deps/ompragma.Po
> > icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
> > -pthread -MT ompragma_c.o -MD -MP -MF .deps/ompragma_c.Tpo -c -o 
> > ompragma_c.o ompragma_c.cc
> > /usr/include/c++/4.5/iomanip(64): error: expected an expression
> > { return { __mask }; }
> > ^
> > /usr/include/c++/4.5/iomanip(94): error: expected an expression
> > { return { __mask }; }
> > ^
> > /usr/include/c++/4.5/iomanip(125): error: expected an expression
> > { return { __base }; }
> > ^
> > /usr/include/c++/4.5/iomanip(193): error: expected an expression
> > { return { __n }; }
> > ^
> > /usr/include/c++/4.5/iomanip(223): error: expected an expression
> > { return { __n }; }
> > ^
> > /usr/include/c++/4.5/iomanip(163): error: expected an expression
> > { return { __c }; }
> > ^
> > compilation aborted for ompragma_c.cc (code 2)
> > make[7]: *** [ompragma_c.o] Error 2
> > make[7]: Leaving directory 
> > `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari/tool'
> > make[6]: *** [all-recursive] Error 1
> > make[6]: Leaving directory 
> > `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari'
> > make[5]: *** [all-recursive] Error 1
> > make[5]: Leaving directory 
> > `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory 
> > `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt'
> > make[3]: *** [all] Error 2
> > make[3]: Leaving directory 
> > `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory 
> > `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory `/home2/bubin/Software/openmpi-1.4.3/ompi'
> > make: *** [all-recursive] Error 1
> >
> > I am not sure how to deal with that. Any advice is appreciated.
> >
> > Sergiy
> >
> > 
> >> From: r...@open-mpi.org
> >> Date: Tue, 19 Apr 2011 11:35:48 -0600
> >> To: us...@open-mpi.org
> >> Subject: Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04
> >>
> >> Nothing was attached, but I doubt they would help anyway. This looks like 
> >> a missing header file in Ubuntu, or else one that got moved and needs a 
> >> different path.
> >>
> >> Where is asm/errno.h, and how was it included in 
> >> /usr/include/linux/errno.h? Best I can figure 

Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread Tim Prince

 On 04/19/2011 01:24 PM, Sergiy Bubin wrote:

/usr/include/c++/4.5/iomanip(64): error: expected an expression
 { return { __mask }; }
  ^
/usr/include/c++/4.5/iomanip(94): error: expected an expression
 { return { __mask }; }
  ^
/usr/include/c++/4.5/iomanip(125): error: expected an expression
 { return { __base }; }
  ^
/usr/include/c++/4.5/iomanip(193): error: expected an expression
 { return { __n }; }
  ^
/usr/include/c++/4.5/iomanip(223): error: expected an expression
 { return { __n }; }
  ^
/usr/include/c++/4.5/iomanip(163): error: expected an expression
   { return { __c }; }
^

If you're using icpc, this seeming incompatibility  between icpc and g++ 
4.5 has been discussed on the icpc forum

http://software.intel.com/en-us/forums/showthread.php?t=78677&wapkw=%28iomanip%29
where you should see that you must take care to set option -std=c++0x 
when using current  under icpc, as it is treated as a c++0x 
feature.  You might try adding the option to the CXXFLAGS or whatever 
they are called in openmpi build (or to the icpc.cfg in your icpc 
installation).


--
Tim Prince



Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread Ralph Castain

On Apr 19, 2011, at 2:24 PM, Sergiy Bubin wrote:

> 
> Thanks for the suggestion. I have figured (by googling around and comparing 
> the content of asm directories) that Ubuntu 11.04 has some difference in the 
> location of /usr/include/asm/. It appears that now that whole directory is 
> located at /usr/include/x86_64-linux-gnu/asm/.

Yick!

> 
> I tried to use -I but it did not work.

Strange. CPPFLAGS=-I/usr/include/x86_64-linux-gnu on the configure line didn't 
work??

> Making a symbolic link 
> ln  -s  /usr/include/x86_64-linux-gnu/asm  /usr/include/asm
> did help to move things forward.
> 
> But now I got another issue. After compiling for a while it gives me the 
> following error:

Looks like VampirTrace may not support 11.04 yet. Just add 
--enable-contrib-no-build=vt to your configure line


> 
> make[7]: Entering directory 
> `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari/tool'
> icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
> -pthread -MT handler.o -MD -MP -MF .deps/handler.Tpo -c -o handler.o 
> handler.cc
> mv -f .deps/handler.Tpo .deps/handler.Po
> icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
> -pthread -MT ompragma.o -MD -MP -MF .deps/ompragma.Tpo -c -o ompragma.o 
> ompragma.cc
> mv -f .deps/ompragma.Tpo .deps/ompragma.Po
> icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
> -pthread -MT ompragma_c.o -MD -MP -MF .deps/ompragma_c.Tpo -c -o ompragma_c.o 
> ompragma_c.cc
> /usr/include/c++/4.5/iomanip(64): error: expected an expression
> { return { __mask }; }
>  ^
> /usr/include/c++/4.5/iomanip(94): error: expected an expression
> { return { __mask }; }
>  ^
> /usr/include/c++/4.5/iomanip(125): error: expected an expression
> { return { __base }; }
>  ^
> /usr/include/c++/4.5/iomanip(193): error: expected an expression
> { return { __n }; }
>  ^
> /usr/include/c++/4.5/iomanip(223): error: expected an expression
> { return { __n }; }
>  ^
> /usr/include/c++/4.5/iomanip(163): error: expected an expression
>   { return { __c }; }
>^
> compilation aborted for ompragma_c.cc (code 2)
> make[7]: *** [ompragma_c.o] Error 2
> make[7]: Leaving directory 
> `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari/tool'
> make[6]: *** [all-recursive] Error 1
> make[6]: Leaving directory 
> `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory 
> `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory 
> `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory 
> `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home2/bubin/Software/openmpi-1.4.3/ompi'
> make: *** [all-recursive] Error 1
> 
> I am not sure how to deal with that. Any advice is appreciated.
> 
> Sergiy
> 
> 
>> From: r...@open-mpi.org
>> Date: Tue, 19 Apr 2011 11:35:48 -0600
>> To: us...@open-mpi.org
>> Subject: Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04
>> 
>> Nothing was attached, but I doubt they would help anyway. This looks like a 
>> missing header file in Ubuntu, or else one that got moved and needs a 
>> different path.
>> 
>> Where is asm/errno.h, and how was it included in /usr/include/linux/errno.h? 
>> Best I can figure is it got put in some non-standard place, and you'll need 
>> to add a -I to your CPPFLAGS to find it.
>> 
>> 
>> On Apr 19, 2011, at 10:52 AM, Sergiy Bubin wrote:
>> 
>>> 
>>> Hi all,
>>> 
>>> I am trying to compile OpenMPI 1.4.3 with Intel compilers (version 12.0 
>>> update 2) on my new computer (Ubuntu 11.04 beta2). While running 
>>> ./configure script seems to be fine, make all generates an error almost at 
>>> the very beginning (see the attached output_make_all.txt file). For 
>>> completeness I am also attaching configure.log file.
>>> 
>>> I am not sure what that error means:
>>> 
>>> make[3]: Entering directory 
>>> `/home2/bubin/Software/openmpi-1.4.3/opal/libltdl'
>>> /bin/bash ./libtool --tag=CC --mode=compile icc -DHAVE_CONFIG_H 

Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread Sergiy Bubin

Thanks for the suggestion. I have figured (by googling around and comparing the 
content of asm directories) that Ubuntu 11.04 has some difference in the 
location of /usr/include/asm/. It appears that now that whole directory is 
located at /usr/include/x86_64-linux-gnu/asm/.

I tried to use -I but it did not work. Making a symbolic link 
ln  -s  /usr/include/x86_64-linux-gnu/asm  /usr/include/asm
did help to move things forward.

But now I got another issue. After compiling for a while it gives me the 
following error:

make[7]: Entering directory 
`/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari/tool'
icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
-pthread -MT handler.o -MD -MP -MF .deps/handler.Tpo -c -o handler.o handler.cc
mv -f .deps/handler.Tpo .deps/handler.Po
icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
-pthread -MT ompragma.o -MD -MP -MF .deps/ompragma.Tpo -c -o ompragma.o 
ompragma.cc
mv -f .deps/ompragma.Tpo .deps/ompragma.Po
icpc -DHAVE_CONFIG_H -I. -I../../.. -O3 -DNDEBUG -finline-functions 
-pthread -MT ompragma_c.o -MD -MP -MF .deps/ompragma_c.Tpo -c -o ompragma_c.o 
ompragma_c.cc
/usr/include/c++/4.5/iomanip(64): error: expected an expression
    { return { __mask }; }
 ^
/usr/include/c++/4.5/iomanip(94): error: expected an expression
    { return { __mask }; }
 ^
/usr/include/c++/4.5/iomanip(125): error: expected an expression
    { return { __base }; }
 ^
/usr/include/c++/4.5/iomanip(193): error: expected an expression
    { return { __n }; }
 ^
/usr/include/c++/4.5/iomanip(223): error: expected an expression
    { return { __n }; }
 ^
/usr/include/c++/4.5/iomanip(163): error: expected an expression
  { return { __c }; }
   ^
compilation aborted for ompragma_c.cc (code 2)
make[7]: *** [ompragma_c.o] Error 2
make[7]: Leaving directory 
`/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari/tool'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory 
`/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools/opari'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
`/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt/tools'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt/vt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home2/bubin/Software/openmpi-1.4.3/ompi/contrib/vt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/bubin/Software/openmpi-1.4.3/ompi'
make: *** [all-recursive] Error 1

I am not sure how to deal with that. Any advice is appreciated.

Sergiy


> From: r...@open-mpi.org
> Date: Tue, 19 Apr 2011 11:35:48 -0600
> To: us...@open-mpi.org
> Subject: Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04
>
> Nothing was attached, but I doubt they would help anyway. This looks like a 
> missing header file in Ubuntu, or else one that got moved and needs a 
> different path.
>
> Where is asm/errno.h, and how was it included in /usr/include/linux/errno.h? 
> Best I can figure is it got put in some non-standard place, and you'll need 
> to add a -I to your CPPFLAGS to find it.
>
>
> On Apr 19, 2011, at 10:52 AM, Sergiy Bubin wrote:
>
> >
> > Hi all,
> >
> > I am trying to compile OpenMPI 1.4.3 with Intel compilers (version 12.0 
> > update 2) on my new computer (Ubuntu 11.04 beta2). While running 
> > ./configure script seems to be fine, make all generates an error almost at 
> > the very beginning (see the attached output_make_all.txt file). For 
> > completeness I am also attaching configure.log file.
> >
> > I am not sure what that error means:
> >
> > make[3]: Entering directory 
> > `/home2/bubin/Software/openmpi-1.4.3/opal/libltdl'
> > /bin/bash ./libtool --tag=CC --mode=compile icc -DHAVE_CONFIG_H -I. 
> > -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl -O3 
> > -DNDEBUG -fvisibility=hidden -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c 
> > -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c
> > libtool: compile: icc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=" -DLTDL -I. -I. 
> > -Ilibltdl -I./libltdl -I./libltdl -O3 -DNDEBUG -fvisibility=hidden -MT 
> > dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c loaders/dlopen.c -fPIC -DPIC -o 
> > .libs/dlopen.o
> > /usr/include/linux/errno.h(4): catastrophic error: cannot open source file 
> > "asm/errno.h"
> > #include
> >
> > I have just tried to comp

Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread David Zhang
why can't you install mpi through apt-get?

On Tue, Apr 19, 2011 at 10:37 AM, Jeff Squyres  wrote:

> Sounds like you have a busted compiler install on this machine -- if
> /usr/include/linux/errno.h cannot find /usr/include/asm/errno.h, then
> something is wrong on that machine.
>
>
> On Apr 19, 2011, at 12:52 PM, Sergiy Bubin wrote:
>
> >
> > Hi all,
> >
> > I am trying to compile OpenMPI 1.4.3 with Intel compilers (version 12.0
> update 2) on my new computer (Ubuntu 11.04 beta2). While running ./configure
> script seems to be fine, make all generates an error almost at the very
> beginning (see the attached output_make_all.txt file). For completeness I am
> also attaching configure.log file.
> >
> > I am not sure what that error means:
> >
> > make[3]: Entering directory
> `/home2/bubin/Software/openmpi-1.4.3/opal/libltdl'
> > /bin/bash ./libtool  --tag=CC   --mode=compile icc -DHAVE_CONFIG_H -I.
>  -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl   -O3
> -DNDEBUG   -fvisibility=hidden -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c
> -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c
> > libtool: compile:  icc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=" -DLTDL -I.
> -I. -Ilibltdl -I./libltdl -I./libltdl -O3 -DNDEBUG -fvisibility=hidden -MT
> dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c loaders/dlopen.c  -fPIC -DPIC -o
> .libs/dlopen.o
> > /usr/include/linux/errno.h(4): catastrophic error: cannot open source
> file "asm/errno.h"
> >  #include
> >
> > I have just tried to compile the same version of OpenMPI with Intel 12.0
> on another machine running Ubuntu 9.10 and it went just fine. Also, I
> recently did it on two other systems running Ubuntu 10.04 and 10.10. Again,
> no problems we encountered. If anyone could shed some light on my issue that
> would be very much appreciated.
> >
> > Thanks,
> > Sergiy
> >
> >
> > ___
> > users mailing list
> > us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> jsquy...@cisco.com
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
>
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>



-- 
David Zhang
University of California, San Diego


Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread Jeff Squyres
Sounds like you have a busted compiler install on this machine -- if 
/usr/include/linux/errno.h cannot find /usr/include/asm/errno.h, then something 
is wrong on that machine.


On Apr 19, 2011, at 12:52 PM, Sergiy Bubin wrote:

> 
> Hi all,
> 
> I am trying to compile OpenMPI 1.4.3 with Intel compilers (version 12.0 
> update 2) on my new computer (Ubuntu 11.04 beta2). While running ./configure 
> script seems to be fine, make all generates an error almost at the very 
> beginning (see the attached output_make_all.txt file). For completeness I am 
> also attaching configure.log file.
> 
> I am not sure what that error means:
> 
> make[3]: Entering directory `/home2/bubin/Software/openmpi-1.4.3/opal/libltdl'
> /bin/bash ./libtool  --tag=CC   --mode=compile icc -DHAVE_CONFIG_H -I.  
> -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl   -O3 
> -DNDEBUG   -fvisibility=hidden -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c 
> -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c
> libtool: compile:  icc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=" -DLTDL -I. -I. 
> -Ilibltdl -I./libltdl -I./libltdl -O3 -DNDEBUG -fvisibility=hidden -MT 
> dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c loaders/dlopen.c  -fPIC -DPIC -o 
> .libs/dlopen.o
> /usr/include/linux/errno.h(4): catastrophic error: cannot open source file 
> "asm/errno.h"
>  #include 
> 
> I have just tried to compile the same version of OpenMPI with Intel 12.0 on 
> another machine running Ubuntu 9.10 and it went just fine. Also, I recently 
> did it on two other systems running Ubuntu 10.04 and 10.10. Again, no 
> problems we encountered. If anyone could shed some light on my issue that 
> would be very much appreciated.
> 
> Thanks,
> Sergiy
> 
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/




Re: [OMPI users] Problem compiling OpenMPI on Ubuntu 11.04

2011-04-19 Thread Ralph Castain
Nothing was attached, but I doubt they would help anyway. This looks like a 
missing header file in Ubuntu, or else one that got moved and needs a different 
path.

Where is asm/errno.h, and how was it included in /usr/include/linux/errno.h? 
Best I can figure is it got put in some non-standard place, and you'll need to 
add a -I to your CPPFLAGS to find it.


On Apr 19, 2011, at 10:52 AM, Sergiy Bubin wrote:

> 
> Hi all,
> 
> I am trying to compile OpenMPI 1.4.3 with Intel compilers (version 12.0 
> update 2) on my new computer (Ubuntu 11.04 beta2). While running ./configure 
> script seems to be fine, make all generates an error almost at the very 
> beginning (see the attached output_make_all.txt file). For completeness I am 
> also attaching configure.log file.
> 
> I am not sure what that error means:
> 
> make[3]: Entering directory `/home2/bubin/Software/openmpi-1.4.3/opal/libltdl'
> /bin/bash ./libtool  --tag=CC   --mode=compile icc -DHAVE_CONFIG_H -I.  
> -DLT_CONFIG_H='' -DLTDL -I. -I. -Ilibltdl -I./libltdl -I./libltdl   -O3 
> -DNDEBUG   -fvisibility=hidden -MT dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c 
> -o dlopen.lo `test -f 'loaders/dlopen.c' || echo './'`loaders/dlopen.c
> libtool: compile:  icc -DHAVE_CONFIG_H -I. "-DLT_CONFIG_H=" -DLTDL -I. -I. 
> -Ilibltdl -I./libltdl -I./libltdl -O3 -DNDEBUG -fvisibility=hidden -MT 
> dlopen.lo -MD -MP -MF .deps/dlopen.Tpo -c loaders/dlopen.c  -fPIC -DPIC -o 
> .libs/dlopen.o
> /usr/include/linux/errno.h(4): catastrophic error: cannot open source file 
> "asm/errno.h"
>  #include 
> 
> I have just tried to compile the same version of OpenMPI with Intel 12.0 on 
> another machine running Ubuntu 9.10 and it went just fine. Also, I recently 
> did it on two other systems running Ubuntu 10.04 and 10.10. Again, no 
> problems we encountered. If anyone could shed some light on my issue that 
> would be very much appreciated.
> 
> Thanks,
> Sergiy
> 
> 
> ___
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users