Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel support #601

Closed
maeneas opened this issue Nov 6, 2012 · 13 comments
Closed

Intel support #601

maeneas opened this issue Nov 6, 2012 · 13 comments

Comments

@maeneas
Copy link
Contributor

maeneas commented Nov 6, 2012

Hartmut reported that HPX supports the intel compiler.

This is what I see when I attempt to configure with intel on ranger:

[hpx.info.gcc_config] Compiler reports compatibility with GCC version 3.4.6

CMake Error at cmake/HPX_Message.cmake:29 (message):
[hpx.error.gcc_config] GCC 4.4.x or higher is required.
Call Stack (most recent call first):
CMakeLists.txt:214 (hpx_error)

Here is what I see in cmake:

CMAKE_C_COMPILER /opt/apps/intel/12.1/composerxe/bin/icc
CMAKE_C_COMPILER_WITH_PATH /opt/apps/intel/12.1/composerxe/bin/icc
CMAKE_CXX_COMPILER /opt/apps/intel/12.1/composerxe/bin/icpc
CMAKE_CXX_COMPILER_WITH_PATH /opt/apps/intel/12.1/composerxe/bin/icpc
CMAKE_Fortran_COMPILER /opt/apps/intel/12.1/composerxe/bin/ifort
CMAKE_Fortran_COMPILER_WITH_PA /opt/apps/intel/12.1/composerxe/bin/ifort

@ghost ghost assigned hkaiser Nov 6, 2012
@brycelelbach
Copy link
Member

The Intel compiler is not officially supported. I suggested to Hartmut that you try this. I'll see what can be done about this after SC

@brycelelbach
Copy link
Member

Actually, matt, it just looks like you are not setting CMAKE_CXX_COMPILER. Please configure HPX with Intel and try again

@maeneas
Copy link
Contributor Author

maeneas commented Nov 7, 2012

Look closer. CMAKE_CXX_COMPILER /opt/apps/intel/12.1/composerxe/bin/icpc

@maeneas maeneas reopened this Nov 7, 2012
@sithhell
Copy link
Member

sithhell commented Nov 7, 2012

What version of the intel compiler is that? I remember I managed to build HPX with the intel compiler version 13beta a couple of weeks ago (Added cmake checks to properly detect it even)

@sithhell
Copy link
Member

sithhell commented Nov 7, 2012

Just saw it ... 12.1 this needs an update of the cmake scripts ... for now, it is safe to just uncomment line 214 (and related) in your copy of CMakeLists.txt. everything should build fine then

@hkaiser
Copy link
Member

hkaiser commented Nov 8, 2012

I added an option to the cmake build system allowing to ignore the version of gcc, thus continuing the build for compilers reporting older versions than 4.5.5. Add -DHPX_IGNORE_GCC_VERSION=ON to the cmake command line to enable this feature (see c8dc0c6).`

@brycelelbach
Copy link
Member

The better option is to use the CMake compiler id to determine whether we should do the GCC version test or not.

@ghost ghost assigned brycelelbach Nov 23, 2012
@brycelelbach
Copy link
Member

Can't reproduce still, and works fine for me on two machines. Will wrap up any issues during the actual compilation tomorrow.

@hkaiser
Copy link
Member

hkaiser commented Dec 2, 2012

Please describe what steps you have taken to make it work.

@hkaiser hkaiser reopened this Dec 2, 2012
@brycelelbach
Copy link
Member

Running into Boost issues, those will have to be worked on before we can investigate whether there are any HPX issues. At least it configures fine now, though.

@brycelelbach
Copy link
Member

From #638:

2e0bebf
using icpc 12.1.0 and boost 1.48.0

Here's the error I see:

hpx/hpx/util/thread_specific_ptr.hpp(184): error: "thread_specific_ptr" is not a function or static data member
struct HPX_EXPORT_THREAD_SPECIFIC_PTR thread_specific_ptr

@sithhell
Copy link
Member

I just successfully compile HPX with the intel compiler version 13.0.1 20121010

I see you are using 12.1 any chances to upgrade to a newer version?

@sithhell
Copy link
Member

We have a working buildbot running with the intel 13 compiler version 13.0.1 20121010. That is the only intel compiler we officially support right now.

@ghost ghost assigned sithhell Apr 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants