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 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
> >>
> >>
> >> _______________________________________________
> >> users mailing list
> >> us...@open-mpi.org
> >> http://www.open-mpi.org/mailman/listinfo.cgi/users
> >
> > _______________________________________________
> > users mailing list
> > us...@open-mpi.org
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to