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
Bug when executing on Intel MIC #1280
Comments
What command line options have you used to run your application? |
Also, what version of HWLOC do you use on the Phi? |
I tried it with no options, I tried it with -t1, and I tried it with -t(other than one). Same result each time. HWLOC is version 1.9.1 |
Thanks. Could you provide us with your configuration and build command lines and logs for this, please? I assume this is on Stampede? |
Its on SuperMIC. Here is the configuration log: The config.sh file I am using reads: if [ -f CMakeCache.txt ]; then SOURCE=/work/dmarce1/builds/hpx LOG=config_$(date "+%Y.%m.%d_%H.%M.%S").log cmake -DCMAKE_CXX_COMPILER=/home/dmarce1/intel/bin/icpc ln -fs $LOG config_latest.log ./config.sh I'm using the latest HPX (as of yesterday) - Boost 1.55.0, Intel 14 with GCC 4.9.0 headers, and the Intel MPI library. |
I added some additional logging output (master branch). COuld you please recompile and run your application with |
Also, our build system has changed quite a bit recently. For up to date instructions on how to buld HPX for the Phi, please see: http://stellar-group.github.io/hpx/docs/html/hpx/manual/build_system/building_hpx/build_recipes.html#hpx.manual.build_system.building_hpx.build_recipes.intel_mic_installation |
I get this when I try to build now - at the very end of the build:
Cmake script.sh config log: https://gist.github.com/dmarce1/74c71159f0037b91d67e (things didn't work using the XeonPhi.cmake file, so I copied everything over manually) |
Are you sure to have the iostream component as a dependency for your project? |
How do I make sure of that? |
Your application has to link with |
I'm getting the link error during the HPX build, not the application build |
I committed a change to the iostreams module which should prevent the linker problem. Please try again. |
Got it to run. Here is the log.txt file: |
I am getting the exact same error on Stampede. |
That's unexpected as others have run HPX on Stampede. It might be a problem with HWLOC, though. Could you try using an older version (1.8.x)? |
I just tried with hwloc 1.8.1 on SuperMIC - same results. |
What version of boost are you using? |
1.55.0 |
Ok. this is strange. I can't get HPX built with 1.55 or 1.56 on stampede ... How did you manage to do that? |
I used an evaluation version of Intel 15, which uses gcc 4.9, maybe that's the difference. My application code won't compile with Intel 14 or ealier. |
Thomas told me yesterday that he is not able to reproduce your issues as it does run for him on Stampede. He will give you access to his prebuilt versions of boost and HPX for you to try with your application. |
I can not reproduce this error when using intel 15 together with gcc 4.8, boost 1.56 and hwloc 1.10 |
I am able to get my code to execute if I build with HPX_WITH_HWLOC=OFF. When I try to build HPX using hwloc build as per the link above, I get an error saying I need to rebuild hwloc with -fPIC. When I do this, I am able to build HPX - but then when I run my application I get the error above. |
I can get things to work with hwloc now. (and MPI) on SuperMIC. I believe the difference is I was using |
Thanks for letting us know. This is really a subtle problem. We should take a note of that. |
When executing my code (https://github.com/dmarce1/xtree) on a single of SuperMIC's Phi co-processors, I get the following error:
The text was updated successfully, but these errors were encountered: