Trying to build 1.5rc5 with icc-11.1.046 is failing in otfprofile.cpp - the same file I saw problems with when using the PGI compilers.

$ cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2

$  uname -a
Linux jaguar-ext3 2.6.16.60-0.42.7-smp #1 SMP Tue Nov 3 11:20:42 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux

$ /lib64/libc.so.6
GNU C Library stable release version 2.4 (20091027), by Roland McGrath et al.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Configured for x86_64-suse-linux.
Compiled by GNU CC version 4.1.2 20070115 (SUSE Linux).
Compiled on a Linux 2.6.16 system on 2009-10-27.
Available extensions:
       crypt add-on version 2.1 by Michael Glad and others
       GNU Libidn by Simon Josefsson
       GNU libio by Per Bothner
       NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
       Native POSIX Threads Library by Ulrich Drepper et al
       BIND-8.2.3-T5B
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

$ icc --version
icc (ICC) 11.1 20090630
Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.

$[path_to]/openmpi-1.5rc5/configure CC=icc CXX=icpc F77=ifort FC=ifort
[...]

$make
[...]
Making all in otfprofile
make[9]: Entering directory `/lustre/widow1/scratch/hargrove/ompi-1.5rc5-icc-11.1.046/ompi/contrib/vt/vt/extli
b/otf/tools/otfprofile'
 CXX    otfprofile-otfprofile.o
../../../../../../../../../openmpi-1.5rc5/ompi/contrib/vt/vt/extlib/otf/tools/otfprofile/otfprofile.cpp(25): c
atastrophic error: could not open source file "omp.h"
 #     include <omp.h>
                      ^

compilation aborted for ../../../../../../../../../openmpi-1.5rc5/ompi/contrib/vt/vt/extlib/otf/tools/otfprofi
le/otfprofile.cpp (code 4)
[...]


If I configure with --disable-vt then I get a complete build.

There are numerous instances of ICC's
   warning #188: enumerated type mixed with another type
which I personally don't consider to be a serious issue.

Other than the 188's, there is only one other compiler warning seen:
/bin/sh ./libtool --tag=CC --mode=compile icc -DHAVE_CONFIG_H -I. -I../../../openmpi-1.5rc5/opal/libltdl -DLTDLOPEN=libltdlc -DLT_CONFIG_H='<config.h>' -DLTDL -I. -I../../../openmpi-1.5rc5/opal/libltdl -Ilibltdl -I../../../openmpi-1.5rc5/opal/libltdl/libltdl -I../../../openmpi-1.5rc5/opal/libltdl/libltdl -O3 -DNDEBUG -fvisibility=hidden -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c -o libltdlc_la-ltdl.lo `test -f 'ltdl.c' || echo '../../../openmpi-1.5rc5/opal/libltdl/'`ltdl.c libtool: compile: icc -DHAVE_CONFIG_H -I. -I../../../openmpi-1.5rc5/opal/libltdl -DLTDLOPEN=libltdlc "-DLT_CONFIG_H=<config.h>" -DLTDL -I. -I../../../openmpi-1.5rc5/opal/libltdl -Ilibltdl -I../../../openmpi-1.5rc5/opal/libltdl/libltdl -I../../../openmpi-1.5rc5/opal/libltdl/libltdl -O3 -DNDEBUG -fvisibility=hidden -MT libltdlc_la-ltdl.lo -MD -MP -MF .deps/libltdlc_la-ltdl.Tpo -c ../../../openmpi-1.5rc5/opal/libltdl/ltdl.c -o libltdlc_la-ltdl.o ../../../openmpi-1.5rc5/opal/libltdl/ltdl.c(1268): warning #279: controlling expression is constant archive_name = MALLOC (char, LT_STRLEN (name) + LT_STRLEN (libext) + 2);
                         ^

-Paul

--
Paul H. Hargrove                          phhargr...@lbl.gov
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to