-dynamic: No such file or directory

-dynamic: No such file or directory

Hi,

Whenever I try to compile with ifort (i.e. ifort test.f90)  I get the following error:

-dynamic: No such file or directory

I am guessing this is because the terminal is not finding the correct folder with the complier info in it but I don't know how to resolve this issue. Thanks!

 

9 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

You make the compiler available with:

source /opt/intel/bin/ifortvars.sh intel64

(Replace "intel64" with "ia32" if you are building for 32-bit).

Retired 12/31/2016

Hi Steve,

I entered the command into the terminal and tried to compile my test code again and I still get the same response as before: 

-dynamic: No such file or directory

I double checked that I have a 64bit processor and that the file you linked to in the source directory exists. Could there be something I am missing?

 

 

Please show the full output including the command used. Is there an "ifort.cfg" file anywhere on your system and if so, what are its contents?

Retired 12/31/2016

Please show the output of:

ifort -dryrun test.f90

Retired 12/31/2016

Ok, below are the outputs of both the commands. There is an ifort.cfg file an its only content is the line "# This Configuration file may be used for additional switches"

 

Thanks!

 

 

marcs-mbp:Fortran marc1russell$ ifort  test.f90

-dynamic: No such file or directory

marcs-mbp:Fortran marc1russell$ ifort -dryrun test.f90

/opt/intel/composer_xe_2013_sp1.3.166/bin/intel64/fortcom  \

    -D__INTEL_COMPILER=1400 \

    -D__INTEL_COMPILER_UPDATE=3 \

    -D__x86_64 \

    -D__x86_64__ \

    -D_MT \

    -D__INTEL_COMPILER_BUILD_DATE=20140415 \

    -D__PIC__ \

    -D__APPLE__ \

    -D__MACH__ \

    -D__pentium4 \

    -D__pentium4__ \

    -D__tune_pentium4__ \

    -D__SSE2__ \

    -D__SSE3__ \

    -D__SSSE3__ \

    -D__SSE__ \

    -D__MMX__ \

    -mGLOB_pack_sort_init_list \

    -I. \

    -I/opt/intel/composer_xe_2013_sp1.3.166/mkl/include \

    -I/opt/intel/composer_xe_2013_sp1.3.166/mkl/include \

    -I/opt/intel/composer_xe_2013_sp1.3.166/mkl/include \

    -I/opt/intel/composer_xe_2013_sp1.3.166/mkl/include \

    -I/opt/intel/composer_xe_2013_sp1.3.166/compiler/include/intel64 \

    -I/opt/intel/composer_xe_2013_sp1.3.166/compiler/include \

    -I/usr/include \

    -O2 \

    -simd \

    -mP1OPT_version=14.0-intel64 \

    -mGLOB_diag_file=/var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortiK4NxM.diag \

    -mGLOB_diag_use_message_catalog=FALSE \

    -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 \

    -mP2OPT_static_promotion \

    -mP1OPT_print_version=FALSE \

    -mCG_use_gas_got_workaround=F \

    -mP2OPT_align_option_used=TRUE \

    -mGLOB_gcc_version=481 \

    -mGLOB_options_string=-dryrun \

    -mGLOB_position_independent_code \

    -mGLOB_preemption_model=1 \

    -mGLOB_no_compact_unwind=TRUE \

    -mGLOB_cxx_limited_range=FALSE \

    -mCG_extend_parms=FALSE \

    -mGLOB_compiler_bin_directory=/opt/intel/composer_xe_2013_sp1.3.166/bin/intel64 \

    -mGLOB_as_output_backup_file_name=/var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortD24Afras_.s \

    -mIPOPT_activate \

    -mIPOPT_lite \

    -mGLOB_em64t \

    -mGLOB_instruction_tuning=0x0 \

    -mGLOB_product_id_code=0x22006d8f \

    -mCG_bnl_movbe=T \

    -mGLOB_extended_instructions=0x80 \

    -mP3OPT_use_mspp_call_convention \

    -mP2OPT_subs_out_of_bound=FALSE \

    -mGLOB_ansi_alias \

    -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_nonstd_intent_in=FALSE \

    -mGLOB_imf_mapping_library=/opt/intel/composer_xe_2013_sp1.3.166/bin/intel64/libiml_attr.dylib \

    -mIPOPT_obj_output_file_name=/var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortiK4NxM.o \

    -mIPOPT_whole_archive_fixup_file_name=/var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortwarchtjoLa6 \

    -mGLOB_long_size_64 \

    -mGLOB_routine_pointer_size_64 \

    -mGLOB_driver_tempfile_name=/var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/iforttempfile9aAZQ1 \

    -mGLOB_os_target=GLOB_OS_TARGET_MACH \

    -mGLOB_async_unwind_tables=TRUE \

    -mGLOB_obj_output_file=/var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortiK4NxM.o \

    -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_FORTRAN \

    -mP1OPT_source_file_name=test.f90 \

    -mP2OPT_symtab_type_copy=true \

    test.f90

 

  \

    -arch \

    x86_64 \

    -weak_reference_mismatches \

    non-weak \

    -macosx_version_min \

    10.9.3 \

    -no_compact_unwind \

    -o \

    a.out \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/for_main.o \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/mkl/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/mkl/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/mkl/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/mkl/lib \

    -L/opt/intel/composer_xe_2013_sp1.3.166/compiler/lib \

    -L/usr/lib \

    /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortiK4NxM.o \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/libifport.a \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/libifcore.a \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/libimf.a \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/libsvml.a \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/libipgo.a \

    -lSystem \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/libirc.a \

    -lpthread \

    /opt/intel/composer_xe_2013_sp1.3.166/compiler/lib/libsvml.a

 

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortxcrun4tMXQE

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortxcrun67nVbt

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortxcrunXW3Pqs

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortxcruniGxjfN

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortgnudirsXINWXZ

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortxcrunpxUXIz

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortclangdashvybBTnJ

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortiK4NxM.o

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortose7fhUI

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/iforttoswULi83

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortD24Afras_.s

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/iforttempfile9aAZQ1

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortargLZoXqQ

rm /var/folders/vx/d5gj9dbj5n36xrzlgfvxr6500000gn/T/ifortiK4NxM.o

marcs-mbp:Fortran marc1russell$ 

Ah, you're on OS X. Do you have gcc installed? Which Xcode version?

Retired 12/31/2016

Thanks Steve! It works now. I had downloaded Xcode but I guess I needed to run the program for it to actually finish setting itself up. 

Glad to hear it.

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today