Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Giorgio_L_
Beginner
285 Views

annoying warning with last updete Of the compiler

After the last update when I use the command ICPC appears: warning: directory not found for option-L/opt/intel/compiler/1.1.105/composer_xe_2013_2013_sp
I'm using the compiler with MAC and Xcode 5.
Despite the warning everything works correctly, but the message is annoying.
Someone knows what I need to do to delete the message?

Giorgio

0 Kudos
16 Replies
VERA_F_Intel
Employee
285 Views

Hello Giorgio,

Could you please provide command, which causes such messages?

Giorgio_L_
Beginner
285 Views

Is the command that i use from the beginning : icpc -std=c++11

Giorgio

 

VERA_F_Intel
Employee
285 Views

Please send output of commands "which icpc" and "echo $IA32ROOT"

Giorgio_L_
Beginner
285 Views

Hello Vera!

which icpc outputo : /usr/bin/icpc

echo $A32ROOT outpt : none

Giorgio

VERA_F_Intel
Employee
285 Views

Hello Giorgio,

I think it is link. Please send output of command:

ls -la /usr/bin/ | egrep "icpc"

Thanks.
 

Giorgio_L_
Beginner
285 Views

 

Hello Vera!

Sorry but I don't understand the command.
With ls (elle esse) and then -la gives me : wrong parameter.
If I go into the/usr/bin directory the command egrep "icpc" run for ever.

Giorgio

 

VERA_F_Intel
Employee
285 Views

Giorgio

command "ls -la /usr/bin" ("L" in both cases) shows contents of /usr/bin/ catalog in long format  (see more, for example, here https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/ls.1.html).

But all files is not needed. Only *icpc* links are interesting. So command "egrep icpc" will filter output of command "ls -la /usr/bin/".

Could you try again run command "ls -la /usr/bin/ | egrep icpc"?

Giorgio_L_
Beginner
285 Views

Vera !

This is what you mean ?

18 27 Nov 11:50 icpc -> /usr/bin/icpc-14.0
40 21 Ago 21:11 icpc-13.0 -> /usr/bin/icpc-13.0-base/bin/intel64/icpc
27 21 Ago 21:11 icpc-13.0-base -> /usr/bin/icpc-13.0.198-base
44 21 Ago 21:11 icpc-13.0.198 -> /usr/bin/icpc-13.0.198-base/bin/intel64/icpc 33 21 Ago 21:11 icpc-13.0.198-base -> /opt/intel/composer_xe_2013.5.198
40 27 Nov 11:50 icpc-14.0 -> /usr/bin/icpc-14.0-base/bin/intel64/icpc
27 27 Nov 11:50 icpc-14.0-base -> /usr/bin/icpc-14.0.105-base
44 26 Ott 22:21 icpc-14.0.103 -> /usr/bin/icpc-14.0.103-base/bin/intel64/icpc 37 26 Ott 22:21 icpc-14.0.103-base -> /opt/intel/composer_xe_2013_sp1.1.103 44 27 Nov 11:50 icpc-14.0.105 -> /usr/bin/icpc-14.0.105-base/bin/intel64/icpc 37 27 Nov 11:50 icpc-14.0.105-base -> /opt/intel/composer_xe_2013_sp1.1.103 

Giorgio

VERA_F_Intel
Employee
285 Views

Thanks, I see strange mixing of versions 103 and 105:

icpc-14.0-base -> /usr/bin/icpc-14.0.105-base
icpc-14.0.105-base -> /opt/intel/composer_xe_2013_sp1.1.103

Please execute your command, which causes warning messages, adding two additional options "-v -V" and send command and output.

For example:

$ icpc HelloWorld.cpp -v -V
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.103 Build 20131010
Copyright (C) 1985-2013 Intel Corporation.  All rights reserved.

icpc version 14.0.1 (gcc version 4.2.1 compatibility)
/usr/bin/icpc-14.0-base/bin/intel64/mcpcom    -_g -mP3OPT_inline_alloca -D__HONOR_STD ....<and all remaining output>

$

Giorgio_L_
Beginner
285 Views

Hello Vera!

very long output

ld: warning: directory not found for option '-L/opt/intel/composer_xe_2013_sp1.1.105/compiler/lib' gl-iMac:gauss_jordan lg$ icpc main.cpp -v -V
Intel(R) C++ Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 14.0.1.103 Build 20131010 Copyright (C) 1985-2013 Intel Corporation. All rights reserved.

icpc version 14.0.1 (gcc version 4.2.1 compatibility)
/usr/bin/icpc-14.0-base/bin/intel64/mcpcom -_g -mP3OPT_inline_alloca -D__HONOR_STD -D__ICC=1400 -D__INTEL_COMPILER=1400 -D__INTEL_C OMPILER_UPDATE=1 -D__BLOCKS__ -D__PTRDIFF_TYPE__=long "-D__SIZE_TYPE__=unsigned long" -D__WCHAR_TYPE__=int -D__WINT_TYPE__=int "-D__IN TMAX_TYPE__=long int" "-D__UINTMAX_TYPE__=long unsigned int" -D__INTEL_CXX11_MODE__ -D__LONG_MAX__=9223372036854775807L -D__QMSPP_ -D_ _OPTIMIZE__ -D__NO_MATH_INLINES -D__NO_STRING_INLINES -D__GNUC_GNU_INLINE__ -D__GXX_EXPERIMENTAL_CXX0X__ -D__GNUG__=4 -D__GNUC__=4 -D_ _GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=1 -D__clang__=1 -D__clang_patchlevel__=0 -D__clang_minor__=0 -D__clang_major__=5 -D__clang_versi on__=5.0 -D__APPLE_CC__=5226 -D__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__=1091 -D__LITTLE_ENDIAN__ -D__DYNAMIC__ -D__private_extern __=extern -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__x86_64 -D__x86_64__ "-_Acpu(x86_64)" "-_Amachine(x86_64)" -D_MT -D__INTEL_COM PILER_BUILD_DATE=20131010 -D__PIC__ -D__APPLE__ -D__MACH__ -D__pentium4 -D__pentium4__ -D__tune_pentium4__ -D__SSE2__ -D__SSE3__ -D__S SSE3__ -D__SSE__ -D__MMX__ -_k -_8 -_l -_D -_a -_b --gnu_version=421 -_W5 --gcc-extern-inline -p --bool -tused -x --c++0x -v --multiby te_chars --blocks --array_section --simd --simd_func --clang_extensions --bool -mP1OPT_version=14.0-intel64 -mGLOB_diag_file=/var/fold ers/cv/mn1wj32j6574w4_rtzj1g6_m0000gn/T/icpcGbAMph.diag -mGLOB_diag_use_message_catalog=FALSE -mP1OPT_print_version=FALSE -mCG_use_gas _got_workaround=F -mP2OPT_align_option_used=TRUE -mGLOB_gcc_version=421 "-mGLOB_options_string=-std=c++11 -v -V" -mGLOB_position_indep endent_code -mGLOB_preemption_model=1 -mGLOB_no_compact_unwind=TRUE -mGLOB_cxx_limited_range=FALSE -mCG_extend_parms=FALSE -mGLOB_comp iler_bin_directory=/usr/bin/icpc-14.0-base/bin/intel64 -mGLOB_as_output_backup_file_name=/var/folders/cv/mn1wj32j6574w4_rtzj1g6_m0000g n/T/icpcnjbTdjas_.s -mIPOPT_activate -mIPOPT_lite -mGLOB_em64t -mGLOB_instruction_tuning=0x0 -mGLOB_product_id_code=0x22006d8e -mCG_bn l_movbe=T -mGLOB_extended_instructions=0x80 -mGLOB_advanced_optim=TRUE -mP3OPT_use_mspp_call_convention -mPGOPTI_value_profile_use=T - mP2OPT_il0_array_sections=TRUE -mP2OPT_hlo_level=2 -mP2OPT_hlo -mP2OPT_hpo_rtt_control=0 -mIPOPT_args_in_regs=0 -mP2OPT_disam_assume_n onstd_intent_in=FALSE -mGLOB_imf_mapping_library=/usr/bin/icpc-14.0-base/bin/intel64/libiml_attr.dylib -mIPOPT_obj_output_file_name=/v ar/folders/cv/mn1wj32j6574w4_rtzj1g6_m0000gn/T/icpcGbAMph.o -mIPOPT_whole_archive_fixup_file_name=/var/folders/cv/mn1wj32j6574w4_rtzj1 g6_m0000gn/T/icpcwarchnEEadI -mGLOB_long_size_64 -mGLOB_routine_pointer_size_64 -mGLOB_driver_tempfile_name=/var/folders/cv/mn1wj32j65 74w4_rtzj1g6_m0000gn/T/icpctempfileJsJYPB -mGLOB_os_target=GLOB_OS_TARGET_MACH -mGLOB_async_unwind_tables=TRUE -mGLOB_obj_output_file= /var/folders/cv/mn1wj32j6574w4_rtzj1g6_m0000gn/T/icpcGbAMph.o -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_C_PLUS_PLUS -mP1OPT_source_fil e_name=main.cpp -mGLOB_eh_linux main.cpp
#include "..." search starts here:
#include <...> search starts here:

/opt/intel/composer_xe_2013_sp1.1.103/mkl/include /opt/intel/composer_xe_2013_sp1.1.105/tbb/include /usr/bin/icpc-14.0-base/compiler/include/intel64 /usr/bin/icpc-14.0-base/compiler/include /usr/include/c++/4.2.1 /usr/include/c++/4.2.1/backward /System/Library/Frameworks

/Library/Frameworks /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/include /usr/include

End of search list.
Edison Design Group C/C++ Front End, version 4.6 (Oct 11 2013 04:31:55) Copyright 1988-2013 Edison Design Group, Inc.

ld -lcrt1.10.6.o -dynamic -arch x86_64 -weak_reference_mismatches non-weak -macosx_version_min 10.9.1 -no_compact_unwind -o a.out - L/opt/intel/composer_xe_2013_sp1.1.105/compiler/lib -L/opt/intel/composer_xe_2013_sp1.1.103/ipp/../compiler/lib -L/opt/intel/composer_ xe_2013_sp1.1.103/ipp/lib -L/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib -L/opt/intel/composer_xe_2013_sp1.1.103/mkl/lib -L/opt/ intel/composer_xe_2013_sp1.1.105/tbb/lib -v -L/usr/bin/icpc-14.0-base/compiler/lib -L/usr/lib /var/folders/cv/mn1wj32j6574w4_rtzj1g6_m 0000gn/T/icpcGbAMph.o /usr/bin/icpc-14.0-base/compiler/lib/libimf.a /usr/bin/icpc-14.0-base/compiler/lib/libsvml.a /usr/bin/icpc-14.0- base/compiler/lib/libirng.a /usr/bin/icpc-14.0-base/compiler/lib/libipgo.a /usr/bin/icpc-14.0-base/compiler/lib/libdecimal.a -weak-lci lkrts -lstdc++ -lSystem /usr/bin/icpc-14.0-base/compiler/lib/libirc.a /usr/bin/icpc-14.0-base/compiler/lib/libsvml.a /Applications/Xco de.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a

ld: warning: directory not found for option '-L/opt/intel/composer_xe_2013_sp1.1.105/compiler/lib' @(#)PROGRAM:ld PROJECT:ld64-224.1
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 armv6m armv7m armv7em
Library search paths:

/opt/intel/composer_xe_2013_sp1.1.103/compiler/lib /opt/intel/composer_xe_2013_sp1.1.103/ipp/lib /opt/intel/composer_xe_2013_sp1.1.103/compiler/lib /opt/intel/composer_xe_2013_sp1.1.103/mkl/lib /opt/intel/composer_xe_2013_sp1.1.105/tbb/lib /usr/bin/icpc-14.0-base/compiler/lib

/usr/lib /usr/lib /usr/local/lib

Framework search paths: /Library/Frameworks/

/System/Library/Frameworks/ gl-iMac:gauss_jordan lg$ 

Giorgio

VERA_F_Intel
Employee
285 Views


This is exactly what i wanted, thanks.

Could find all "tbbvars.sh" files in /opt/intel/ and check TBBROOT variable into all of them?

For example:
 

$ find /opt/intel -name "tbbvars.sh"
/opt/intel/composer_xe_2013_sp1.1.103/tbb/bin/tbbvars.sh

<...>

$ cat /opt/intel/composer_xe_2013_sp1.1.103/tbb/bin/tbbvars.sh | grep TBBROOT=
TBBROOT="/opt/intel/composer_xe_2013_sp1.1.103/tbb"
$ cat <...>

 

Giorgio_L_
Beginner
285 Views

 Hello Vera!

I have use a more naif way but I hope it is good :

gl-iMac:~ lg$ find /opt/intel/ -name "tbbvars.sh"

/opt/intel//composer_xe_2013.5.198/tbb/bin/tbbvars.sh

/opt/intel//composer_xe_2013_sp1.1.103/tbb/bin/tbbvars.sh

/opt/intel//composer_xe_2013_sp1.1.105/tbb/bin/tbbvars.sh

 

 

--------------------------------------------------------------------

TBBROOT="/opt/intel/composer_xe_2013.5.198/tbb" if [ -z "${LIBRARY_PATH}" ]; then

LIBRARY_PATH="${TBBROOT}/lib"; export LIBRARY_PATH else

LIBRARY_PATH="${TBBROOT}/lib:$LIBRARY_PATH"; export LIBRARY_PATH fi

if [ -z "${DYLD_LIBRARY_PATH}" ]; then DYLD_LIBRARY_PATH="${TBBROOT}/lib"; export DYLD_LIBRARY_PATH

else
DYLD_LIBRARY_PATH="${TBBROOT}/lib:$DYLD_LIBRARY_PATH"; export DYLD_LIBRARY_PATH

"tbbvars.sh" [readonly] 37L, 1536C 

---------------------------------------------------------------------------

TBBROOT="/opt/intel/composer_xe_2013_sp1.1.103/tbb" if [ "$1" == "libc++" ]; then

library_directory="/libc++" else

library_directory="" fi

if [ -z "${LIBRARY_PATH}" ]; then LIBRARY_PATH="${TBBROOT}/lib${library_directory}"; export LIBRARY_PATH

else
LIBRARY_PATH="${TBBROOT}/lib${library_directory}:$LIBRARY_PATH"; export LIBRARY_PATH

"tbbvars.sh" [readonly] 42L, 1711C 

---------------------------------------------------------------------------------------

TBBROOT="/opt/intel/composer_xe_2013_sp1.1.105/tbb" if [ "$1" == "libc++" ]; then

library_directory="/libc++" else

library_directory="" fi

if [ -z "${LIBRARY_PATH}" ]; then LIBRARY_PATH="${TBBROOT}/lib${library_directory}"; export LIBRARY_PATH

else
LIBRARY_PATH="${TBBROOT}/lib${library_directory}:$LIBRARY_PATH"; export LIBRARY_PATH

"tbbvars.sh" [readonly] 42L, 1711C 

Giorgio

 

VERA_F_Intel
Employee
285 Views

Hello Giorgio!

Looks like you installed the new version of TBB (/opt/intel/composer_xe_2013_sp1.1.105) and due to it one link was erroneously changed :

/opt/intel/composer_xe_2013_sp1/pkg_bin -> ../composer_xe_2013_sp1.1.105/bin (but it should to kept sp1.1.103/bin)

If you see this link too , please do:

# cd /opt/intel/composer_xe_2013_sp1
# rm pkg_bin
# ln -s ../composer_xe_2013_sp1.1.103/bin pkg_bin

After that link will be:

/opt/intel/composer_xe_2013_sp1/pkg_bin -> ../composer_xe_2013_sp1.1.103/bin

Giorgio_L_
Beginner
285 Views

Hello Vera!

Great!!!

The message is gone .

Thaks

Giorgio.

 

VERA_F_Intel
Employee
285 Views

Hello Giorgio,

Good news! Thanks for your patience.

baulamon
Beginner
285 Views

Giorgio L. wrote:

After the last update when I use the command ICPC appears: warning: directory not found for option-L/opt/intel/compiler/1.1.105/composer_xe_2013_2013_sp
I'm using the compiler with MAC and Xcode 5.
Despite the warning everything works correctly, but the message is annoying.
Someone knows what I need to do to delete the message?

Giorgio

 

I share my experience.

If you see this link, please do:

# cd /opt/intel/composer_xe_2013_sp1
# rm pkg_bin
# ln -s ../composer_xe_2013_sp1.1.103/bin pkg_bin

 

After that link will be:

/opt/intel/composer_xe_2013_sp1/pkg_bin -> ../composer_xe_2013_sp1.1.103/bin

 

 

----------------

Energy efficiency

Reply