- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Version 8.1 Build 20041118 Package ID: w_fc_pc_8.1.025
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks as if it is having trouble locating the linker. The compiler itself is working fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Hi. I uninstalled the 8.1 compiler, then I uninstalled the Platform SDK. Then I reinstalled the Platform SDK and reinstalled the 8.1 compiler and I still get the same error message.
But you mentioned the linker. I notice in my Environment Variables there remains a LINK_F90 variable. Was there supposed to be a LINK_F80 variable?
Any suggestions would be great.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this first. Use this command to build:
ifort ripstats.for /O3 /G2
The rest of what you have isn't necessary.
If this doesn't work, do this and post the output:
ifort /# ripstats.for /O3 /G2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
F:>ifort ripstats.for /O3 /G2
Intel Fortran Itanium Compiler for Itanium-based applications
Version 8.1 Build 20040802 Package ID: w_fc_p_8.1.020
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
... file is 'ripstats.for'
compilation aborted for ripstats.for (code 1)
Intel Fortran Itanium Compiler for Itanium-based applications
Version 8.1 Build 20040802 Package ID: w_fc_p_8.1.020
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
-D__INTEL_COMPILER=810
-D__INTEL_COMPILER_BUILD_DATE=20040802
-D_M_IA64=64200
-D_MSC_VER=1300
-D_WIN32
-D_export=
-D_MSC_FULL_VER=13000000
-D__w64=
-D_MSC_EXTENSIONS
-mGLOB_pack_sort_init_list
-I.
"-IC:Program FilesMicrosoft Visual StudioDF98IMSLINCLUDE"
"-IC:Program FilesMicrosoft Visual StudioDF98INCLUDE"
"-IC:Program FilesMicrosoft Visual StudioVC98INCLUDE"
"-IC:Program FilesIntelFortranCompiler80ItaniumInclude"
-ftz
-O3
-mP1OPT_version=813
-mGLOB_source_language=GLOB_SOURCE_LANGUAGE_F90
-mGLOB_tune_for_fort
-mGLOB_use_fort_dope_vector
-mP2OPT_static_promotion
-mP1OPT_print_version=FALSE
"-mGLOB_options_string=-Qvc7 -Qlocation,link,D:Program FilesMicrosoft Plat
form SDKinWin64 -# -O3 -G2"
-mGLOB_cxx_limited_range=FALSE
-mP3OPT_defaultlibs_omit=FALSE
-mP3OPT_defaultlibs=P3OPT_DEFAULTLIBS_STATIC
-mGLOB_libirc_required
-mP3OPT_defaultlibs_select=P3OPT_DEFAULTLIBS_SELECT_F90_IVF
-mP3OPT_defaultlibs_f90_port
-mP1OPT_check_stack
-mGLOB_machine_model=GLOB_MACHINE_MODEL_E3
-mGLOB_ipf_uarch=GLOB_IPF_UARCH_MCKINLEY
-mGLOB_fp_speculation=GLOB_FP_SPECULATION_FAST
-mGLOB_flush_to_zero_mode
-mP2OPT_gen_read_only_strings=TRUE
-mP2OPT_subs_out_of_bound=FALSE
-mP2OPT_new_eh_cfg
-mGLOB_new_eh
-mGLOB_opt_level=3
-mP2OPT_hlo_level=1
-mP2OPT_fp_div_opt=TRUE
-mGLOB_split_functions=1
-mIPOPT_obj_output_file_name=ripstats.obj
-mGLOB_routine_pointer_size_64
-mGLOB_small_pack_size=8
-mGLOB_ms_abi_26
-mGLOB_stepping=B0
-mGLOB_os_target=GLOB_OS_TARGET_WINNT
-mP3OPT_asm_target=P3OPT_ASM_TARGET_TAHOE
-mP3OPT_obj_target=P3OPT_OBJ_TARGET_NTCOFF
-mGLOB_obj_output_file=ripstats.obj
-mP1OPT_source_file_name=ripstats.for
ripstats.for
-out:ripstats.exe
-subsystem:console
-entry:mainCRTStartup
ripstats.obj
F:>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look in C:Program FilesIntelCompiler80ItaniumBinifort.cfg. There will be a line that starts:
-Qlocation,link
It is probably missing the link.exe on the end. You can add that so that it is a full path to the PSDK link.exe, or remove the line and I think it will build.
I'm puzzled that the path would not be complete.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
I found the ifort.cfg file in another directory. It contains:
# This Configuration file may be used for additional switches
-Qvc7
# Path to the Microsoft Platform SDK* linker for Itanium-based applications
-Qlocation,link,"D:Program FilesMicrosoft Platform SDKinWin64"
# *Other names and brands may be claimed as the property of others
I checked and Microsoft's Platform SDK's Bin folder was sitting at the same level as the Microsoft Plaform SDK. I moved the Bin folder under the Microsoft Platform SDK.Then I added the text 'link.exe' to the end of the '...inWin64' line and it starts to link. Then I get:
F:>ifort ripstats.for /O3 /G2
Intel Fortran Itanium Compiler for Itanium-based applications
Version 8.1 Build 20040802 Package ID: w_fc_p_8.1.020
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
Microsoft Incremental Linker Version 8.00.40310.39
Copyright (C) Microsoft Corporation. All rights reserved.
-out:ripstats.exe
-subsystem:console
-entry:mainCRTStartup
ripstats.obj
LINK : fatal error LNK1104: cannot open file 'LIBC.lib'
F:>
Any idea why?
Thankx,
Mark
Message Edited by yood on 03-25-200603:37 PM
Message Edited by yood on 03-25-200603:49 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the compiler80ItaniumBin folder is ifortvars.bat. It should contain a "call" command that invokes the Platform SDK's setenv.bat or something like that. Is that line there and does it point to a valid path?
Start a "Build Environment for Itanium-Based Applications". Do a:
SET LIB
command. What's the output (including what you see when the window first opens)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Rem Intel Fortran Compiler build environment for Itanium-based applications
echo Intel Fortran Compiler 8.1 build environment for Itanium-based applications
echo Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
echo.
Intel Fortran Compiler 8.1 build environment for Itanium-based application
s
Copyright (C) 1985-2004 Intel Corporation. All rights reserved.
LIB=D:Program FilesMicrosoft Platform SDKlibia64;D:Program FilesMicrosoft
Platform SDKlibia64crt;D:Program FilesMicrosoft Platform SDKlibia64mfc;D
:Program FilesMicrosoft Platform SDKlibia64atl;D:Program FilesMicrosoft P
latform SDKLibPrereleaseIA64;C:Program FilesIntelFortranCompiler80Itaniu
mLib;C:Program FilesCommon FilesIntelShared FilesItaniumLib;C:Program Fi
lesMicrosoft Visual StudioDF98IMSLLIB;C:Program FilesMicrosoft Visual Stud
ioDF98LIB;C:Program FilesMicrosoft Visual StudioVC98LIB;D:Program FilesM
icrosoft SDKLibIA64;C:Program FilesIntelFortranCompiler80ItaniumLib
Message Edited by yood on 03-27-200603:10 PM
Message Edited by yood on 03-27-200604:10 PM

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page