- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am a complete newbie on the Intel Fortran Compiler so please be patient with me. I have this project by default. I was trying to go through what the last gentleman installed, but there is no documentation just files on a CD
New install of Windows 7 Pro x64; Intel Fortran Complier 8.1 EM64T Edition; Microsoft Platform SDK (3790.1830). Also installed is MS Visual C++ 2005 , 2005 (x64), and 2008 (x64) all redistributable versions.
Most fortran programs compile and run, but I ran into one that gives me this error:
ifort: error: could not find 'cl'
fortcom: Severe: no such file or directory.
What am I missing? What have I installed wrong?
Thanks in advanced
New install of Windows 7 Pro x64; Intel Fortran Complier 8.1 EM64T Edition; Microsoft Platform SDK (3790.1830). Also installed is MS Visual C++ 2005 , 2005 (x64), and 2008 (x64) all redistributable versions.
Most fortran programs compile and run, but I ran into one that gives me this error:
ifort: error: could not find 'cl'
fortcom: Severe: no such file or directory.
What am I missing? What have I installed wrong?
Thanks in advanced
Link Copied
15 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm - lots of stuff here.
First, Intel Fortran 8.1 never was supported on Windows 7. That version is also from 2004-2005.
Second, it is not clear to me what you mean by "all redistributable versions". Did you actually install Microsoft Visual C++, or just the redistribiutables? Version 8.1 requires that Visual C++ 2002 or 2003 be installed.
First, Intel Fortran 8.1 never was supported on Windows 7. That version is also from 2004-2005.
Second, it is not clear to me what you mean by "all redistributable versions". Did you actually install Microsoft Visual C++, or just the redistribiutables? Version 8.1 requires that Visual C++ 2002 or 2003 be installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for a quick reply.
No I did not install Visual C++ they were just redistributable versions.
I am assuming the best thing to do is upgrade everything.
I just downloaded Intel Fortran Complier 11 evaluation version. Also have Visual Studio C++ 2008 Express Edition. Do I need the SDK of that also?
Thanks again Steve.
No I did not install Visual C++ they were just redistributable versions.
I am assuming the best thing to do is upgrade everything.
I just downloaded Intel Fortran Complier 11 evaluation version. Also have Visual Studio C++ 2008 Express Edition. Do I need the SDK of that also?
Thanks again Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have Visual C++ 2008 Express Edition, you don't need the Windows SDK. You will be able to use the compiler from the command line only for the evaluation version in that combination. If you buy the product, it will include everything you need to use Fortran from within Visual Studio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have installed Visual Studio C++ 2008 Express Edition and Fortran Compiler Pro Edition 11.1.067.
When I started the Fortran Install it said I had to enter the full path for the Microsoft Development product. I continued the install and when it asked I put in C:\Program Files\Microsoft SDKs. I also checked the box that asked to update the environment.
I now get "ifort " is not recognized as an internal or external command. I checked the path statement i guess im missing something else.
Thanks Steve.
When I started the Fortran Install it said I had to enter the full path for the Microsoft Development product. I continued the install and when it asked I put in C:\Program Files\Microsoft SDKs. I also checked the box that asked to update the environment.
I now get "ifort " is not recognized as an internal or external command. I checked the path statement i guess im missing something else.
Thanks Steve.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am assuming you opened up a window by the ifort command prompt shortcut, which invokes ifortvars.bat.
The installation must fill in the blanks in ifortvars.bat files so as to set up the PATHs for both ifort and, by a CALL to vcvarsxx.bat (the same one as in the Visual Studio command prompt shortcut), for CL. If yours didn't get set up right, you might be able to get a better clue about which "full path" it required at the installation prompt, or even fix it by editing it yourself.
The installation must fill in the blanks in ifortvars.bat files so as to set up the PATHs for both ifort and, by a CALL to vcvarsxx.bat (the same one as in the Visual Studio command prompt shortcut), for CL. If yours didn't get set up right, you might be able to get a better clue about which "full path" it required at the installation prompt, or even fix it by editing it yourself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Tim
But I have no idea what that means or how to do it so no I did not "open up a window by the ifort command prompt shortcut".
When I try to run the "Fortran Build Environment......." i get "C:\Program Files\Microsoft SDKs\Windows\v6.0A\SetEnv" is not a recognized as an operable or external command"
But I have no idea what that means or how to do it so no I did not "open up a window by the ifort command prompt shortcut".
When I try to run the "Fortran Build Environment......." i get "C:\Program Files\Microsoft SDKs\Windows\v6.0A\SetEnv" is not a recognized as an operable or external command"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The command prompt shortcut is installed on the Start menu all programs>intel software development>fortran>fortran build environment
There are selections for both 32-bit and 64-bit, if you installed both. Properties will show you how they invoke ifortvars.bat.
During the install, there is an option to add stuff to the main windows path environment, but this creates problems with upgrades, .... and apparently you didn't accomplish that step.
It looks like you didn't guess exactly how your Microsoft path had to be quoted during installation so that the ifortvars.bat would be set up to call vcvars. As I said, looking in there, and looking at the path in the corresponding VC start menu shortcut, would give you a clue about what was needed, so you could repair it.
There are selections for both 32-bit and 64-bit, if you installed both. Properties will show you how they invoke ifortvars.bat.
During the install, there is an option to add stuff to the main windows path environment, but this creates problems with upgrades, .... and apparently you didn't accomplish that step.
It looks like you didn't guess exactly how your Microsoft path had to be quoted during installation so that the ifortvars.bat would be set up to call vcvars. As I said, looking in there, and looking at the path in the corresponding VC start menu shortcut, would give you a clue about what was needed, so you could repair it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok it looks like i'm to a point where i need the x64 Compiler and tools for Visual Studio.
What I guess I need now is to know which Intel Compiler product to purchase.
Windows 7 x64 and they are running and compiling 64 fortran programs. I understand the evaluation version of the Intel Visual Fortran Compiler Professional 11.1 doesn't have this capability.
If I but this version do I have to buy Visual Studio 2008 Standard?
Thanks Tim and Steve for all your help.
What I guess I need now is to know which Intel Compiler product to purchase.
Windows 7 x64 and they are running and compiling 64 fortran programs. I understand the evaluation version of the Intel Visual Fortran Compiler Professional 11.1 doesn't have this capability.
If I but this version do I have to buy Visual Studio 2008 Standard?
Thanks Tim and Steve for all your help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The evaluation version does have this capability - but it is missing the Microsoft tools needed. For evaluation, you have to get those tools some other way, such as installing a trial version of VS2008. If you buy the product, it includes the necessary Microsoft tools. There is only one product for all the Windows platforms, 32-bit and 64-bit. You do not have to buy Visual Studio.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can run with VS2008 90-day trial version. Before that expires, you can try VS2010 with the next release of ifort, so you can decide which VS to buy. ifort windows license will cover all versions, including new and old ones, for a year. Purchased ifort also provides VS2008 shell, so you can do Fortran development without acquiring VS separately, if you don't need C or C++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok I purchased Intel Fortran Compiler Professional Edition and using the Microsoft Visual Studio 2008 Shell. When I run my fortran from the command line i get "ifort: error #10037: could not find 'link'. I added "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin" to my path. Now I get "LINK : fatal error LNK1104: cannot open file 'ifconsol.lib' which seems to be another PATH problem.
Is there a simple way to fix all these PATH problems. I have to install this on about 20 workstations.
Is there a simple way to fix all these PATH problems. I have to install this on about 20 workstations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use the supplied shortcut for a "Fortran Command Prompt" to begin your command session, or execute ifortvars.bat (with either ia32 or intel64 as an argument, depending on target platform.) This is found in the compiler BIN folder. If you just open an ordinary command prompt you won't have the required environment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks again Steve
now i get "LINK : fatal error LNK1104: cannot open file 'LIBC.lib' which i cannot find anywhere on this PC
now i get "LINK : fatal error LNK1104: cannot open file 'LIBC.lib' which i cannot find anywhere on this PC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are linking to a library built against MSVC 2003 or earlier. Microsoft removed libc.lib in VS2005. You will need to recompile whatever sources make up that library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks to Tim and Steve for all of your help. I think the engineers here are going to recompile all the sources that are not .exe's and move forward from here. Maybe even C or C++ development of these programs also.
Thanks again.
Thanks again.

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