Hi all,
Does anybody know how to fix error #10036?
When I tiped "ifort filename.f90", then the following massage showed up:
ifort: error #10036: unable to run '\\Bin'
It should be noted that I have installed microsoft visual C++ express edition before Intel Visual fortran (wc_fc_p_10.0.025.ia32)
Thank you very much
Masaki
The follwoing is my file contents.
@echo off
Rem Intel Visual Fortran Compiler Build Environment for 32-bit applications
echo.
echo Intel Fortran Compiler for applications running on IA-32, Version 10.0.025
echo Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
echo.
REM @call "\Bin\Vcvars32.bat"
echo Unable to find Microsoft Visual C++ 7.1 or higher.
echo Intel Visual Fortran Compiler for 32-bit applications will not function properly.
title Intel Fortran Compiler for applications running on IA-32, Version 10.0.025 build environment
echo.
SET IFORT_COMPILER10=C:\Program Files\Intel\Compiler\Fortran\10.0.025
SET INTEL_SHARED=C:\Program Files\Common Files\Intel\Shared Files
SET INTEL_LICENSE_FILE=C:\Program Files\Common Files\Intel\Licenses
SET PATH=%IFORT_COMPILER10%\Ia32\Bin;%INTEL_SHARED%\Ia32\Bin;%PATH%
SET LIB=%IFORT_COMPILER10%\Ia32\Lib;%LIB%
SET INCLUDE=%IFORT_COMPILER10%\Ia32\Include;%INCLUDE%
if exist "%FNL_DIR%\IA32\bin\fnlsetup.bat" call "%FNL_DIR%\IA32\bin\fnlsetup.bat"
# This Configuration file may be used for additional switches
# Enable Microsoft Visual C++* .NET 7.1 compatibility
-Qvc7.1
# Path to Microsoft Visual C++* .NET 7.1 linker
-Qlocation,link,"\\Bin"
# *Other names and brands may be claimed as the property of others
連結已複製
6 回應
Quoting - mh437
REM @call "BinVcvars32.bat"
echo Unable to find Microsoft Visual C++ 7.1 or higher.
# Enable Microsoft Visual C++* .NET 7.1 compatibility
-Qvc7.1
# Path to Microsoft Visual C++* .NET 7.1 linker
-Qlocation,link,"\Bin"
-Qlocation,link,"C:Program FilesMicrosoft Visual Studio 9.0VCbin"
@call "C:Program FilesMicrosoft Visual Studio 9.0Common7Toolsvsvars32.bat"
You say you installed "Visual C++ Express Edition". Was that the 2008 version? 10.0 doesn't recognize that, which means that the installer didn't find a supported Microsoft environment. This is why you're having the problem.
10.0 is quite old now - 11.1 is current. Unless you're using a Student license, you should be able to download the "full" installer of 10.0 (or a later version) that includes the Microsoft tools.
You might be able to make this work by editing ifortvars.bat and replacing:
REM @call "BinVcvars32.bat"
echo Unable to find Microsoft Visual C++ 7.1 or higher.
With an @call line that invokes the vcvars32.bat of your Visual C++ Express Edition. You can remove or comment out the -Qlocation,link line from ifortvars.cfg.
10.0 is quite old now - 11.1 is current. Unless you're using a Student license, you should be able to download the "full" installer of 10.0 (or a later version) that includes the Microsoft tools.
You might be able to make this work by editing ifortvars.bat and replacing:
REM @call "
echo Unable to find Microsoft Visual C++ 7.1 or higher.
With an @call line that invokes the vcvars32.bat of your Visual C++ Express Edition. You can remove or comment out the -Qlocation,link line from ifortvars.cfg.
Quoting - Steve Lionel (Intel)
You say you installed "Visual C++ Express Edition". Was that the 2008 version? 10.0 doesn't recognize that, which means that the installer didn't find a supported Microsoft environment. This is why you're having the problem.
10.0 is quite old now - 11.1 is current. Unless you're using a Student license, you should be able to download the "full" installer of 10.0 (or a later version) that includes the Microsoft tools.
You might be able to make this work by editing ifortvars.bat and replacing:
REM @call "BinVcvars32.bat"
echo Unable to find Microsoft Visual C++ 7.1 or higher.
With an @call line that invokes the vcvars32.bat of your Visual C++ Express Edition. You can remove or comment out the -Qlocation,link line from ifortvars.cfg.
10.0 is quite old now - 11.1 is current. Unless you're using a Student license, you should be able to download the "full" installer of 10.0 (or a later version) that includes the Microsoft tools.
You might be able to make this work by editing ifortvars.bat and replacing:
REM @call "
echo Unable to find Microsoft Visual C++ 7.1 or higher.
With an @call line that invokes the vcvars32.bat of your Visual C++ Express Edition. You can remove or comment out the -Qlocation,link line from ifortvars.cfg.
Hi Steve,
Thank you very much for replying.
You right! I installed visual C++ Express 2008 Edition and I have only a student license.
Then I modified ifortrvars.bat and ifort.cfg as following your direction. After that I tried to type "ifort filename.f90", then there was still another error massage: "ifort: error #10036: unable to run 'link'".
I would really appreciate if you could tell me how to fix all the problem.
Best,
Masaki
I think you're ignoring our advice. If you have any non-Microsoft link on the system, you will surely need the Microsoft link path in ifort.cfg. VS 2008 is not supported by compilers which pre-date its release, but you could try the ifort.cfg setup, as your error message clearly shows the need for it.
Quoting - tim18
I think you're ignoring our advice. If you have any non-Microsoft link on the system, you will surely need the Microsoft link path in ifort.cfg. VS 2008 is not supported by compilers which pre-date its release, but you could try the ifort.cfg setup, as your error message clearly shows the need for it.
Tim,
Thank you for your kind comment.
You right. I have missed following your direction completely. Now I have modified ifortvars.bat and ifort.cfg.
Then I tiped "ifort filename.f90", and it said "Setting environment for using Microsoft Visual Studio 2008 x86 tools.".
I could not get an execution file so far. I feel I am pretty close to my goal. Please tell me what I should do next.
Your comment rescued me. Thank you very much.
Masaki
If you are getting that line with "ifort" then you did something wrong, such as save ifortvars.bat as ifort.bat. I know in current versions the -Qlocation line in ifort.cfg is not required, but it might be in 10.0.
