Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

fortcom error message

Lars_Beuth
Beginner
2,586 Views
Dear All,

I get the following error message:

"Severe: no such file or directory: fortcom
Compilation aborted ... "

I read in another thread that fortcom is the Fortran compiler which is not found when this message occurs. However, this thread did not give me any clues about what goes wrong in my case.

I am using Visual Studio 2008 / Intel Fortran Version 11 under Windows XP 64bit, butdid not encounter the problem that the Fortran compiler is not found before with other solutions. Iget the error message witha solutionthat has been created on another computer with Visual Studio 2005 and Intel Fortran Version 10, possibly under a 32bit version of Windows. However, this, too, did not cause any problems before with other projects created with an older version of VS / Fortran on another OS.

I would be glad, if you could give me some hint what might go wrong.

Thank you very muchin advance.

With kind regards

Lars Beuth
0 Kudos
6 Replies
mecej4
Honored Contributor III
2,586 Views
Does your installation support IA32 and Intel64 targets? Look for the fortcom.exe file in

\Compiler\11.1\065\bin\ia32

and

\Compiler\11.1\065\bin\intel64

If you have an installation only for IA32, and the present project is for Intel64, or the converse, the symptom you mentioned is understandable.
0 Kudos
Lars_Beuth
Beginner
2,586 Views

Hi,

Thanks for looking into it. I guess it is some very simple thing - I am justnot seeingit.

Yes, both versions of fortcom.exe are available in: C:\Program Files (x86)\Intel\Compiler\11.0\072\fortran\Bin\intel64 and {...}\IA32. The target platform is set to Win32, I use the IA-32 compiler as with other projects. To be sure, Iadded the above mentioned path to the 'Executables' directory list in the 'Compiler Selection' box/dialog and to the PATH environment variable,but that does not fix it.

Greetings

Lars

0 Kudos
Steven_L_Intel1
Employee
2,586 Views
Lars,

Please attach the buildlog.htm from a failed build. If you create a new project, can you build there?
0 Kudos
Lars_Beuth
Beginner
2,586 Views
Hello Steve,

In the following the content of the buildlog.htm:

"

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

Output

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

ifort /nologo /debug:full /Od /heap-arrays0 /recursive /Qopenmp /Qopenmp-report2 /warn:interfaces /real_size:64 /assume:byterecl /fpconstant /module:&quotDebug\" /object:&quotDebug\" /traceback /check:bounds /libs:static /threads /dbglibs /c /Qvc9 /Qlocation,link,&quotC:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" &quotT:\oldcode\BT_SIG.FOR"

fortcom: Severe: No such file or directory

... file is 'T:\oldcode\BT_SIG.FOR'

compilation aborted for T:\oldcode\BT_SIG.FOR (code 1)

oldcode- 2 error(s), 0 warning(s)"

Which solves the problem. It's not "ifort" that is not being found but simply the path to the source files which is wrong. I did not check this.

Thank you very for your advise.

With kind regards

Lars Beuth

0 Kudos
Steven_L_Intel1
Employee
2,586 Views
Right - the compiler is complaining that the source file can't be found. So you have now resolved this?
0 Kudos
Lars_Beuth
Beginner
2,585 Views
Hello Steve,

No, not yet, I have not found the time yet.

Greetings

Lars
0 Kudos
Reply