On 1/28/2014 10:44 AM, Abdul Rahman Riza wrote:

-----Original Message-----
From: users [mailto:users-boun...@open-mpi.org] On Behalf Of Syed Ahsan Ali
Sent: Sunday, September 22, 2013 9:41 PM
To: Open MPI Users
Subject: Re: [OMPI users] compilation aborted for Handler.cpp (code 2)

Its ok Jeff.
I am not sure about other C++ codes and STL with icpc because it never
happened and I don't know anything about STL.(pardon my less knowledge).
What do you suggest in this case? installation of different version of
openmpi or intel compilers? or any other solution.

On Fri, Sep 20, 2013 at 8:35 PM, Jeff Squyres (jsquyres)
<jsquy...@cisco.com> wrote:
Sorry for the delay replying -- I actually replied on the original
thread yesterday, but it got hung up in my outbox and I didn't notice
that it didn't actually go out until a few moments ago.  :-(

I'm *guessing* that this is a problem with your local icpc installation.

Can you compile / run other C++ codes that use the STL with icpc?


On Sep 20, 2013, at 6:59 AM, Syed Ahsan Ali <ahsansha...@gmail.com> wrote:

Output of make V=1 is attached. Again same error. If intel compiler
is using C++ headers from gfortran then how can we avoid this.

On Fri, Sep 20, 2013 at 11:07 AM, Bert Wesarg
<bert.wes...@googlemail.com> wrote:
Hi,

On Fri, Sep 20, 2013 at 4:49 AM, Syed Ahsan Ali <ahsansha...@gmail.com>
wrote:
I am trying to compile openmpi-1.6.5 on fc16.x86_64 with icc and
ifort but getting the subject error. config.out and make.out is
attached.
Following command was used for configure

./configure CC=icc CXX=icpc FC=ifort F77=ifort F90=ifort
--prefix=/home/openmpi_gfortran -enable-mpi-f90 --enable-mpi-f77 |&
tee config.out
could you also run make with 'make V=1' and send the output. Anyway
it looks like the intel compiler uses the C++ headers from GCC 4.6.3
and I don't know if this is supported.

Bert

icpc expects to pick up headers and libraries, including libstdc++, from a simultaneously active g++ installation (normally the g++ which is on PATH and LD_LIBRARY_PATH). g++ 4.7 or 4.8 (with not all the latest features supported by icpc) are probably better with the recent icpc 13.1 and 14.0, but I hope the OpenMP build doesn't depend on c++11. If you do use c++11, you need versions of icpc and g++ both supporting it via -std=c++11 (where g++ 4.6 may need c++0x). You could run into cluster configuration issues if you don't have consistent g++ as well as icpc run-times on LD_LIBRARY_PATH everywhere. You can't mix support for gfortran with support for ifort; for C and C++ you should be able to use gcc/g++ and icc/icpc interchangeably, so you could configure for gcc and g++ along with ifort and still use icc and icpc as you choose.

--
Tim Prince

Reply via email to