[mpich-discuss] Problem with SystemStubs under Mac OS X 10.7.5.
Douglas Dommermuth
douglas.dommermuth at cox.net
Sat Feb 23 12:22:39 CST 2013
Hello Dave,
ifort was installed after the upgrade to 10.7. Here is the output that you requested:
[dgd]% mpif90 -show pi3f90.f90
/opt/intel/Compiler/11.0/059/bin/intel64/ifort pi3f90.f90 -I/usr/local/include -I/usr/local/include -L/usr/local/lib -lmpichf90 -lmpichf90 -lpmpich -lmpich
[dgd]% mpif90 -v pi3f90.f90
mpif90 for 1.0.8p1
Version 11.0
/opt/intel/Compiler/11.0/059/bin/intel64/fortcom -D__INTEL_COMPILER=1100 -D_MT -D__INTEL_COMPILER_BUILD_DATE=20090131 -D__PIC__ -D__pic__ -D__APPLE__ -D__MACH__ -D__x86_64 -D__x86_64__ -mGLOB_pack_sort_init_list -I. -I/usr/local/include -I/usr/local/include -I/opt/intel/Compiler/11.0/059/include/intel64 -I/opt/intel/Compiler/11.0/059/include -I/usr/local/include -I/usr/include -O2 -mP1OPT_version=1100 -mGLOB_diag_file=/var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortK2SDC0.diag -mGLOB_diag_use_message_catalog=FALSE -mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90 -mGLOB_tune_for_fort -mGLOB_use_fort_dope_vector -mP2OPT_static_promotion -mP1OPT_print_version=FALSE -mP3OPT_use_mspp_call_convention -mCG_use_gas_got_workaround=F -mP2OPT_align_option_used=TRUE "-mGLOB_options_string=-I/usr/local/include -I/usr/local/include -v -L/usr/local/lib -lmpichf90 -lmpichf90 -lpmpich -lmpich" -mGLOB_position_independent_code -mGLOB_preemption_model=1 -mGLOB_cxx_limited_range=FALSE -mP2OPT_eh_nirvana -mGLOB_as_output_backup_file_name=/var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortfAUyYsas_.s -mIPOPT_activate -mIPOPT_lite -mGLOB_machine_model=GLOB_MACHINE_MODEL_EFI2 -mGLOB_extended_instructions=0x80 -mGLOB_advanced_optim=TRUE -mP2OPT_subs_out_of_bound=FALSE -mGLOB_ansi_alias -mIPOPT_args_in_regs=0 -mPGOPTI_value_profile_use=T -mP2OPT_hlo_level=2 -mP2OPT_hlo -mPAROPT_par_report=1 -mIPOPT_obj_output_file_name=/var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortK2SDC0.o -mGLOB_os_target=GLOB_OS_TARGET_MACH -mGLOB_obj_output_file=/var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortK2SDC0.o -mGLOB_source_dialect=GLOB_SOURCE_DIALECT_FORTRAN -mP1OPT_source_file_name=pi3f90.f90 pi3f90.f90
ld -lcrt1.10.5.o -dynamic -arch x86_64 -weak_reference_mismatches non-weak -o a.out /opt/intel/Compiler/11.0/059/lib/for_main.o /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortK2SDC0.o -L/usr/local/lib -lmpichf90 -lmpichf90 -lpmpich -lmpich -L/opt/intel/Compiler/11.0/059/lib -L/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64/ -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64/ -L/usr/lib/i686-apple-darwin11/4.2.1/ -L/usr/lib/ -L/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/ -L/usr/llvm-gcc-4.2/bin/../lib/gcc/ -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/lib/gcc/i686-apple-darwin11/4.2.1/ -L/usr/llvm-gcc-4.2/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../../ /opt/intel/Compiler/11.0/059/lib/libifport.a /opt/intel/Compiler/11.0/059/lib/libifcore.a /opt/intel/Compiler/11.0/059/lib/libimf.a /opt/intel/Compiler/11.0/059/lib/libsvml.a /opt/intel/Compiler/11.0/059/lib/libipgo.a -lgcc -lgcc_s.10.5 -lgcc -lSystemStubs -lmx -lSystem /opt/intel/Compiler/11.0/059/lib/libirc.a -lpthread /opt/intel/Compiler/11.0/059/lib/libirc_s.a -ldl
ld: library not found for -lSystemStubs
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifort0dZe82sw_vers
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortTuSifnlibgcc
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortbjjEHSgnudirs
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortbRSAZfdashv
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortvkktfoos
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortKKRMkztos
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortfAUyYsas_.s
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortRu8NBdarg
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//iforthbU583gnudirs
rm /var/folders/dg/8sf80tms373_179jg3_sjb700000gn/T//ifortK2SDC0.o
Thank you, Doug.
On Feb 23, 2013, at 10:13 AM, Dave Goodell wrote:
> On Feb 23, 2013, at 11:52 AM CST, Douglas Dommermuth wrote:
>
>> I have attached the files that you requested (files.tar.gz). I could not find this file: mpich-3.0.2/src/pm/hydra/tools/topo/hwloc/hwloc/config.log. The output for compling pi3f90.f90 is below:
>>
>> mpif90 pi3f90.f90
>> ld: library not found for -lSystemStubs
>
> Did you upgrade to 10.7 (Lion) without reinstalling the Intel Fortran compiler? Most of the google hits I'm getting about this indicate that it can happen when:
>
> 1) you have an ifort version <12.1; or
>
> 2) you installed ifort, then upgraded from 10.6 (or earlier) to 10.7 (or later).
>
> Obviously, #1 does not appear to apply to you. So maybe #2 does?
>
> We do have some logic to add "-lSystemStubs" to the link line in certain circumstances, but your config.log file is showing that we are not doing that in your case:
>
> ----8<----
> pac_cv_prog_f77_and_c_stdio_libs=none
> […]
> pac_cv_prog_fc_and_c_stdio_libs=none
> ----8<----
>
> Further debug might be accomplished by inspecting the output of these two commands:
>
> ----8<----
> mpif90 -show pi3f90.f90
> mpif90 -v pi3f90.f90
> ----8<----
>
> The first will show the ifort command that MPICH intends to execute. The second will show the commands that the ifort compiler driver executes as it attempts to compile your program. This should show us which part of the stack is incorrectly adding "-lSystemStubs" to your link line. My guess is that it's your ifort install, based on the other information that you have sent so far.
>
> -Dave
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list