Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29281 Discussions

error #10040 of compiling the fortran under VS 2008

lucky_xrg
Beginner
862 Views
i have already installed the Intel Visual Fortran Compiler for Windows (w_cprof_p_11.1.060_novsshell.exe) under visual studio 2008. when i compile a simple fortran program, there are below errors appeared. so would you tell me how to solve the problem? thank you very much!


Build Log

Build started: Project: Console1, Configuration: Debug|Win32

Output

Compiling with Intel Visual Fortran 11.1.060 [IA-32]...

ifort /nologo /debug:full /Od /gen-interfaces /warn:interfaces /module:"Debug\\\\" /object:"Debug\\\\" /traceback /check:bounds /libs:static /threads /dbglibs /c /Qvc8 /Qlocation,link,"C:\\Program Files\\Microsoft Visual Studio 8\\VC\\bin" "C:\\Projects\\Console1\\Console1\\Source1.f90"

ifort: error #10040: can't run 'C:\\PROGRA~1\\Intel\\Compiler\\11.1\\060\\bin\\ia32\\fortcom'; inaccessible drive or directory in PATH

ifort: error #10273: Fatal error in C:\\PROGRA~1\\Intel\\Compiler\\11.1\\060\\bin\\ia32\\fortcom, terminated by 0xffffffff

Console1 - 2 error(s), 0 warning(s)

0 Kudos
2 Replies
TimP
Honored Contributor III
862 Views
You say you are compiling under VS2008, but you show a VS2005 setup. If you are running VS2005 under Vista or Windows 7, you must start it by run as administrator. Is the fortcom installed in that folder (as it should be)?
0 Kudos
lucky_xrg
Beginner
862 Views
thanks for your reply. i guess you are good masteroncompilingVSs.i have the VS 2005 and 2008 both.And nextis the sameerror listjust as under VS 2005 for mypoint. my computer system is Windows XP. could you tell me how solve the problem?
And in the C:\Program Files\Intel\Compiler\11.1\060\bin\ia32 i have already installed fortcom.exe(18.3 MB). i don't know the reason. Waiting your next reply! thank you again!

Build Log

Build started: Project: FortranConsole1, Configuration: Debug|Win32

Output

Compiling with Intel Visual Fortran 11.1.060 [IA-32]...

ifort /nologo /debug:full /Od /gen-interfaces /warn:interfaces /module:"Debug\" /object:"Debug\" /traceback /check:bounds /libs:static /threads /dbglibs /c /Qvc9 /Qlocation,link,"c:\Program Files\Microsoft Visual Studio 9.0\VC\bin" "C:\Xu-r\My Documents\Visual Studio 2008\Projects\FortranConsole1\FortranConsole1\three common programming traps.f90"

ifort: error #10040: can't run 'C:\PROGRA~1\Intel\Compiler\11.1\060\bin\ia32\fortcom'; inaccessible drive or directory in PATH

ifort: error #10273: Fatal error in C:\PROGRA~1\Intel\Compiler\11.1\060\bin\ia32\fortcom, terminated by 0xffffffff

FortranConsole1 - 2 error(s), 0 warning(s)

0 Kudos
Reply