Hi Jeff,
Thanks. I am just running the Intel 13.0.1 compiler on the Quarry
cluster at IU. It would be very odd to have a serious issue without
users complaining. I tried running it again with C++ turned on with:
./configure CC=icc CFLAGS="-xT -O2" F77=ifort FFLAGS="-xT -O2"
FC=ifort FCFLAGS="-xT -O2" CXX=icpc --enable-static --disable-shared
--with-threads=posix --prefix=/N/soft/rhel6/openmpi/intel/openmpi-1.6.3
The block ends very similarly to how it acted with g++:
*** C++ compiler and preprocessor
checking whether we are using the GNU C++ compiler... yes
checking whether icpc accepts -g... yes
checking dependency style of icpc... gcc3
checking how to run the C++ preprocessor... icpc -E
checking for the C++ compiler vendor... intel
checking if icpc supports -finline-functions... yes
configure: WARNING: -finline-functions has been added to CXXFLAGS
checking if C and C++ are link compatible... yes
checking for C++ optimization flags... -O3 -DNDEBUG -finline-functions
checking size of bool... 0
checking alignment of bool... configure: WARNING: *** Problem running
configure test!
configure: WARNING: *** See config.log for details.
configure: error: *** Cannot continue.
Checking the config.log and picking it up around config 16462:
configure:16462: checking for the C++ compiler vendor
configure:16491: icpc -c -DNDEBUG conftest.cpp >&5
configure:16491: $? = 0
configure:17030: result: intel
configure:17283: checking if icpc supports -finline-functions
configure:17299: icc -c -DNDEBUG -xT -O2 -finline-functions
-fno-strict-aliasing -restrict conftest.c >&5
icc: command line remark #10279: option '-xT' is deprecated and will be
removed in a future release. See '-help deprecated'
configure:17299: $? = 0
configure:17306: result: yes
configure:17393: WARNING: -finline-functions has been added to CXXFLAGS
configure:17404: checking if C and C++ are link compatible
configure:17430: icc -c -DNDEBUG -xT -O2 -finline-functions
-fno-strict-aliasing -restrict conftest_c.c
icc: command line remark #10279: option '-xT' is deprecated and will be
removed in a future release. See '-help deprecated'
configure:17437: $? = 0
configure:17468: icpc -o conftest -DNDEBUG -finline-functions
conftest.cpp conftest_c.o >&5
configure:17468: $? = 0
configure:17494: result: yes
configure:17589: checking for C++ optimization flags
configure:17591: result: -O3 -DNDEBUG -finline-functions
configure:17606: checking size of bool
configure:17611: icpc -o conftest -O3 -DNDEBUG -finline-functions
conftest.cpp >&5
/usr/include/bits/stdio.h(118): error: identifier "__getdelim" is undefined
return __getdelim (__lineptr, __n, '\n', __stream);
^
compilation aborted for conftest.cpp (code 2)
configure:17611: $? = 2
configure: program exited with status 2
configure: failed program was:
| /* confdefs.h */
|
____________________________________
So, I am lost. Thanks again
Ray
On 11/28/2012 4:17 PM, Jeff Squyres wrote:
I'll bet we're not disabling the C++ test properly when you disable the C++
bindings. Bummer. I'll file a bug, but I don't know when that will be fixed.
However, this kind of error typically only occurs when your C++ compiler fails
altogether (e.g., it's broken). Check the config.log file and see what it says
happened for this specific test -- it may well be that your C++ compiler is
faulty and needs to be fixed anyway.
On Nov 28, 2012, at 2:19 PM, Ray Sheppard wrote:
Hello,
I am trying to build OpenMPI 1.6.3 on an IBM/Intel RHEL-6 cluster.
I tried building with variations (meaning enable-...=no, disable-,
changing switch order, etc.) of this:
./configure CC=icc CFLAGS="-xT -O2" F77=ifort FFLAGS="-xT -O2"
FC=ifort FCFLAGS="-xT -O2" --enable-mpi-cxx=no --disable-mpi-cxx-seek
--enable-static --disable-shared --with-threads=posix
--prefix=/N/soft/rhel6/openmpi/intel/openmpi-1.6.3
I first tried using icpc as a CXX compiler but it dies shortly after
checking the alignment of bool. C++ bindings are not that popular so I
decided to just turn them off. Now, it just picks up g++ and tries
building the C++ bindings anyway:
** C++ compiler and preprocessor
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for the C++ compiler vendor... gnu
checking if g++ supports -finline-functions... yes
configure: WARNING: -finline-functions has been added to CXXFLAGS
checking if C and C++ are link compatible... yes
checking for C++ optimization flags... -O3 -DNDEBUG -finline-functions
checking size of bool... 0
checking alignment of bool... configure: WARNING: *** Problem running
configure test!
configure: WARNING: *** See config.log for details.
configure: error: *** Cannot continue.
It still errors. I am happy to just kill C++ but it won't. What is
wrong? Thanks.
Ray
--
Respectfully,
Ray Sheppard
rshep...@iu.edu
http://pti.iu.edu/sciapt
317-274-0016
Principal Analyst
Scientific Applications and Performance Tuning
Research Technologies
University Information Technological Services
IUPUI campus
Indiana University
My "pithy" saying: Science is the art of translating the world
into language. Unfortunately, that language is mathematics.
Bumper sticker wisdom: Make it idiot-proof and they will make a
better idiot.
_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users