vetter / shoc-mic

Pre-release of SHOC for Intel Xeon Phi
Other
22 stars 6 forks source link

Build bombing out with "File not found" errors #1

Open rincebrain opened 11 years ago

rincebrain commented 11 years ago

Quite confused, honestly, because I haven't done any strange customization...

After churning for a while, on this compiler version:

Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 13.0.0.080 Build 20120731 Copyright (C) 1985-2012 Intel Corporation. All rights reserved.

it fails with:

icpc: error #10236: File not found: 'main.o' icpc: error #10236: File not found: 'Option.o' icpc: error #10236: File not found: 'OptionParser.o' icpc: error #10236: File not found: 'ResultDatabase.o' icpc: error #10236: File not found: 'Timer.o' icpc: error #10236: File not found: 'ProgressBar.o' icpc: error #10236: File not found: 'InvalidArgValue.o' icpc: error #10236: File not found: 'CommonMICStencilFactory.o' icpc: error #10236: File not found: 'MICStencilKernel.o' icpc: error #10236: File not found: 'MICStencilFactory.o' icpc: error #10236: File not found: 'MICStencil.o' icpc: error #10236: File not found: 'Stencil2Dmain.o' icpc: command line error: no files specified; for help type "icpc -help" make[1]: *** [../bin/Stencil2Dmain] Error 1 make[1]: Leaving directory/root/shoc-mic/stencil2d' make: *\ [all] Error 2 rm Spmv.o Triad.o DeviceMemory.o BusSpeedReadback.o FFT.o MD.o Sort.o GEMM.o BusSpeedDownload.o S3D.o Reduction.o Scan.o MaxFlops.o`

On this version:

Intel(R) C Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.0.080 Build 20130728 Copyright (C) 1985-2013 Intel Corporation. All rights reserved.

I get back: `scan/Scan_Kernel.h(92): error: MIC identifier "_MM_HINT_T0" is undefined _mm_clevict (&input[z],_MM_HINT_T0); ^ detected during instantiation of "void RunTest(std::string, ResultDatabase &, OptionParser &) [with T=float]" at line 109 of "scan/Scan.cpp"

scan/Scan_Kernel.h(94): error: MIC identifier "_MM_HINT_T1" is undefined _mm_clevict (&input[z],_MM_HINT_T1); ^ detected during instantiation of "void RunTest(std::string, ResultDatabase &, OptionParser &) [with T=float]" at line 109 of "scan/Scan.cpp"

compilation aborted for scan/Scan.cpp (code 2)`

I'll attach the full output of compiling with each in a moment.

kspaff commented 11 years ago

Fixed the undefined reference. Looks like newer versions of the compiler are not including this by default.

Unable to reproduce your first error using icc (ICC) 14.0.0 20130728.