Community
cancel
Showing results for 
Search instead for 
Did you mean: 
522 Views

AVX-512 X code and icpc error #10236: File not found: ' '

Hi,

I am attempting to compile the following test code with ICC 17.0.3 20170404 contained in file name testCXXCompiler.cxx:

int main(){return 0;}

The command line I am using is: 

/opt/intel/compilers_and_libraries_2017.3.191/linux/bin/intel64/icpc -xCORE-AVX512    -o testCXXCompiler.cxx.o -c testCXXCompiler.cxx

My machine is below:

Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                68
On-line CPU(s) list:   0-67
Thread(s) per core:    1
Core(s) per socket:    68
Socket(s):             1
NUMA node(s):          2
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 87
Model name:            Intel(R) Xeon Phi(TM) CPU 7250 @ 1.40GHz
Stepping:              1
CPU MHz:               998.101
BogoMIPS:              2793.41
L1d cache:             32K
L1i cache:             32K
L2 cache:              1024K
NUMA node0 CPU(s):     0-67
NUMA node1 CPU(s):

The error is:

icpc: error #10236: File not found:  ' '

Using the compiler flag -v, I get this:

icpc: error #10236: File not found:  ' '
icpc version 17.0.3 (gcc version 4.8.5 compatibility)
/opt/intel/compilers_and_libraries_2017.3.191/linux/bin/intel64/mcpcom    --target_efi2 --lang=c++ -_g -mP3OPT_inline_alloca -D__ICC=1700 -D__INTEL_COMPILER=1700 -D__INTEL_COMPILER_UPDATE=3 -D__PTRDIFF_TYPE__=long "-D__SIZE_TYPE__=unsigned long" -D__WCHAR_TYPE__=int "-D__WINT_TYPE__=unsigned int" "-D__INTMAX_TYPE__=long int" "-D__UINTMAX_TYPE__=long unsigned int" -D__LONG_MAX__=9223372036854775807L -D__QMSPP_ -D__OPTIMIZE__ -D__NO_MATH_INLINES -D__NO_STRING_INLINES -D__GNUC_GNU_INLINE__ -D__GNUG__=4 -D__GNUC__=4 -D__GNUC_MINOR__=8 -D__GNUC_PATCHLEVEL__=5 -D__LP64__ -D_LP64 -D_GNU_SOURCE=1 -D__DEPRECATED=1 -D__GXX_WEAK__=1 -D__GXX_ABI_VERSION=1002 "-D__USER_LABEL_PREFIX__= " -D__REGISTER_PREFIX__= -D__INTEL_RTTI__ -D__EXCEPTIONS=1 -D__unix__ -D__unix -D__linux__ -D__linux -D__gnu_linux__ -B -Dunix -Dlinux "-_Asystem(unix)" -D__ELF__ -D__x86_64 -D__x86_64__ -D__amd64 -D__amd64__ "-_Acpu(x86_64)" "-_Amachine(x86_64)" -D__INTEL_COMPILER_BUILD_DATE=20170404 -D__INTEL_OFFLOAD -D__pentium4 -D__pentium4__ -D__tune_pentium4__ -D__SSE2__ -D__SSE2_MATH__ -D__SSE3__ -D__SSSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__SSE__ -D__SSE_MATH__ -D__MMX__ -D__AVX__ -D__AVX_I__ -D__AVX2__ -D__FMA__ -D__BETA_BDW__ -D__AVX512F__ -D__AVX512CD__ -D__AVX512DQ__ -D__AVX512BW__ -D__AVX512VL__ -_k -_8 -_l --has_new_stdarg_support -_a -_b --gnu_version=40805 -_W5 --gcc-extern-inline -p --bool -tused -x --multibyte_chars -mGLOB_diag_suppress_sys --array_section --simd --simd_func --offload_mode=1 --offload_target_names=gfx,GFX,mic,MIC --offload_unique_string=icpc1289335044CQUak5 --bool -mGLOB_em64t=TRUE -mP1OPT_version=17.0-intel64 -mGLOB_diag_file=testCXXCompiler.cxx.diag -mGLOB_long_size_64 -mGLOB_routine_pointer_size_64 -mP1OPT_print_version=FALSE -mCG_use_gas_got_workaround=F -mP2OPT_align_option_used=TRUE -mGLOB_gcc_version=485 "-mGLOB_options_string=-xCORE-AVX512 -v -o testCXXCompiler.cxx.o -c" -mGLOB_cxx_limited_range=FALSE -mCG_extend_parms=FALSE -mGLOB_compiler_bin_directory=/opt/intel/compilers_and_libraries_2017.3.191/linux/bin/intel64 -mGLOB_as_output_backup_file_name=/tmp/icpcSuI5w8as_.s -mIPOPT_activate -mIPOPT_lite -mGLOB_instruction_tuning=0x0 -mGLOB_uarch_tuning=0x0 -mGLOB_product_id_code=0x22006d8e -mCG_bnl_movbe=T -mGLOB_extended_instructions=0x8000 -mGLOB_advanced_optim=TRUE -mP3OPT_use_mspp_call_convention -mP2OPT_subs_out_of_bound=FALSE -mP2OPT_disam_type_based_disam=2 -mP2OPT_disam_assume_ansi_c -mP2OPT_checked_disam_ansi_alias=TRUE -mGLOB_ansi_alias -mPGOPTI_value_profile_use=T -mP2OPT_il0_array_sections=TRUE -mGLOB_offload_mode=1 -mP2OPT_offload_unique_var_string=icpc1289335044CQUak5 -mP2OPT_hlo_level=2 -mP2OPT_hlo -mP2OPT_hpo_rtt_control=0 -mIPOPT_args_in_regs=0 -mP2OPT_disam_assume_nonstd_intent_in=FALSE -mGLOB_imf_mapping_library=/opt/intel/compilers_and_libraries_2017.3.191/linux/bin/intel64/libiml_attr.so -mPGOPTI_gen_threadsafe_level=0 -mIPOPT_lto_object_enabled -mIPOPT_lto_object_value=1 -mIPOPT_obj_output_file_name=testCXXCompiler.cxx.o -mIPOPT_whole_archive_fixup_file_name=/tmp/icpcwarchCdWFgm -mGLOB_linker_version=2.25.1 -mGLOB_driver_tempfile_name=/tmp/icpctempfileaSVN8X -mP3OPT_asm_target=P3OPT_ASM_TARGET_GAS -mGLOB_async_unwind_tables=TRUE -mGLOB_obj_output_file=testCXXCompiler.cxx.o -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_C_PLUS_PLUS -mP1OPT_source_file_name=testCXXCompiler.cxx -mP1OPT_full_source_file_name=/home/jlefman/src/ITK/build-avx512-001/testCXXCompiler.cxx -mGLOB_eh_linux testCXXCompiler.cxx
#include "..." search starts here:
#include <...> search starts here:
 /opt/intel/compilers_and_libraries_2017.3.191/linux/ipp/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/mkl/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/tbb/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/daal/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/ipp/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/mkl/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/tbb/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/daal/include
 /opt/intel/compilers_and_libraries_2017.3.191/linux/compiler/include/intel64
 /opt/intel/compilers_and_libraries_2017.3.191/linux/compiler/include/icc
 /opt/intel/compilers_and_libraries_2017.3.191/linux/compiler/include
 /usr/include/c++/4.8.5
 /usr/include/c++/4.8.5/x86_64-redhat-linux
 /usr/include/c++/4.8.5/backward
 /usr/local/include
 /usr/lib/gcc/x86_64-redhat-linux/4.8.5/include
 /usr/include/
 /usr/include
End of search list.

System info uname -a

Linux nodename.domain.com 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

What is the cause of this issue? How can it be resolved?

Thank you.

0 Kudos
5 Replies
522 Views

I added flags to my compilation to get further output ( -qopt-report=5 -qopt-report-file=stdout ):

 

Intel(R) Advisor can now assist with vectorization and show optimization
  report messages with your source code.
See "https://software.intel.com/en-us/intel-advisor-xe" for details.

Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 17.0.3.191 Build 20170404

Compiler options: -xCORE-AVX512 -qopt-report=5 -qopt-report-file=stdout -o testCXXCompiler.cxx.o -c

    Report from: Interprocedural optimizations [ipo]

  WHOLE PROGRAM (SAFE) [EITHER METHOD]: false
  WHOLE PROGRAM (SEEN) [TABLE METHOD]: false
  WHOLE PROGRAM (READ) [OBJECT READER METHOD]: false

INLINING OPTION VALUES:
  -inline-factor: 100
  -inline-min-size: 30
  -inline-max-size: 230
  -inline-max-total-size: 2000
  -inline-max-per-routine: 10000
  -inline-max-per-compile: 500000

In the inlining report below:
   "sz" refers to the "size" of the routine. The smaller a routine's size,
      the more likely it is to be inlined.
   "isz" refers to the "inlined size" of the routine. This is the amount
      the calling routine will grow if the called routine is inlined into it.
      The compiler generally limits the amount a routine can grow by having
      routines inlined into it.

Begin optimization report for: main()

    Report from: Interprocedural optimizations [ipo]

INLINE REPORT: (main()) [1/1=100.0%] testCXXCompiler.cxx(2,11)


    Report from: Code generation optimizations [cg]

testCXXCompiler.cxx(2,11):remark #34051: REGISTER ALLOCATION : [main] testCXXCompiler.cxx:2

    Hardware registers
        Reserved     :    2[ rsp rip]
        Available    :   63[ rax rdx rcx rbx rbp rsi rdi r8-r15 mm0-mm7 zmm0-zmm31 k0-k7]
        Callee-save  :    6[ rbx rbp r12-r15]
        Assigned     :    3[ rax rsi rdi]

    Routine temporaries
        Total         :       9
            Global    :       6
            Local     :       3
        Regenerable   :       3
        Spilled       :       0

    Routine stack
        Variables     :       4 bytes*
            Reads     :       2 [2.00e+00 ~ 11.8%]
            Writes    :       2 [2.00e+00 ~ 11.8%]
        Spills        :       0 bytes*
            Reads     :       0 [0.00e+00 ~ 0.0%]
            Writes    :       0 [0.00e+00 ~ 0.0%]

    Notes

        *Non-overlapping variables and spills may share stack space,
         so the total stack size might be less than this.


===========================================================================

 

522 Views

I was able to resolve this issue by limiting which intel compiler vars files I sourced. There was something which was not compatible with my system which caused ICC to throw an error. Not sure why, but it is resolved.

SergeyKostrov
Valued Contributor II
522 Views

>>.../opt/intel/compilers_and_libraries_2017.3.191/linux/bin/intel64/icpc... When a Linux source command is successfully completed then simple calls to icpc or icc should work ( without specifying a full path... ). I wonder if Update 3 is about to be released?
JenniferJ
Moderator
522 Views

Hi Sergey,

the update 3 is available from Intel Registration center right now.  

Jennifer

SergeyKostrov
Valued Contributor II
522 Views

>>...the update 3 is available from Intel Registration center right now... Thanks. I use a Cluster Edition of Intel PS XE for Linux 2017 ( u1 and u2 ) and it includes many Intel software libraries, like IPP, MKL, MPI, TBB, DAAL, etc. I wonder if Intel OpenCL runtime ( for CPU devices only ) and Intel OpenCL SDK could be included as well. Please consider it as a feature request.
Reply