No problem!  Glad to help.

I added you to the ticket about not being able to turn off the C++ compiler 
checks (https://svn.open-mpi.org/trac/ompi/ticket/2999), in case that ever gets 
fixed.  It's somewhat of a low priority.


On Nov 29, 2012, at 11:17 AM, Ray Sheppard wrote:

> Thanks Jeff,
>  Of course you were right. I had thought the lost function was something 
> internal to y'alls build. It is pretty scary that they have been building and 
> porting for weeks (while I was running around SC and the holidays) and it 
> takes an old fortran guy to notice they don't have a working C++ compiler.  
> Well, truth be told, you did the noticing. Thanks again.
>                                   Ray
> 
> On 11/28/2012 5:09 PM, Jeff Squyres wrote:
>> According to config.log, your icpc is broken -- it won't compile a trivial 
>> C++ program.  Try it yourself -- try compiling
>> 
>> -----
>> #include <stdio.h>
>> #include <iostream>
>> using namespace std;
>> int main(int argc, char* argv[]) {
>>     cout << "Hello, world" << endl;
>>     return 0;
>> }
>> -----
>> 
>> Do you need to set some environment variables before you invoke the Intel 
>> compilers?
>> 
>> 
>> On Nov 28, 2012, at 5:03 PM, Ray Sheppard wrote:
>> 
>>> 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
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
> 
> _______________________________________________
> 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/


Reply via email to