- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I just changed computer and I am trying to re-install my software but I am having a problem, it's not working correctly. I have just reinstall Microsoft visual studio 2008 and now I need the fortran compiler.
1) if I install fortran 2008 (which was the version I was working with), i keep getting an error message when I am compiling telling me that I don't have C++
2) if I install the 2011 version it finds C++ and compiles but my code that used to work on the 2008 version doesn't work on 2011.
So how can I solve either of these problems: 1) why can't the 2008 version link with C++? 2) what is the difference between the 2 versions of the compiler that a code that previously worked doesn't work anymore?
Thanks for your help
Gwen
I just changed computer and I am trying to re-install my software but I am having a problem, it's not working correctly. I have just reinstall Microsoft visual studio 2008 and now I need the fortran compiler.
1) if I install fortran 2008 (which was the version I was working with), i keep getting an error message when I am compiling telling me that I don't have C++
2) if I install the 2011 version it finds C++ and compiles but my code that used to work on the 2008 version doesn't work on 2011.
So how can I solve either of these problems: 1) why can't the 2008 version link with C++? 2) what is the difference between the 2 versions of the compiler that a code that previously worked doesn't work anymore?
Thanks for your help
Gwen
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Gwen,
We have made continuous improvements in our compiler in the area of error checking. It is probable that the new compiler found errors in your code that the old one did not. But since you did not show us the code nor the error messages, it's hard to be more specific.
As of version 10 of our compiler, we include all the necessary Microsoft pieces to develop, build and debug Fortran applications. We did not have a version we called 2008, so I am not sure which version you installed that wanted Visual C++ installed.
Please show us the error messages and the source that triggered the error and we will be able to help you further.
We have made continuous improvements in our compiler in the area of error checking. It is probable that the new compiler found errors in your code that the old one did not. But since you did not show us the code nor the error messages, it's hard to be more specific.
As of version 10 of our compiler, we include all the necessary Microsoft pieces to develop, build and debug Fortran applications. We did not have a version we called 2008, so I am not sure which version you installed that wanted Visual C++ installed.
Please show us the error messages and the source that triggered the error and we will be able to help you further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"doesn't work" is too vague as a description of the problem to elicit a useful reply. You have said that the compilation goes through. Does the linking phase produce an EXE file? If so, does the EXE file fail to run at all, or does it run but not to completion, or does it run to completion but produce wrong results?
Secondly, phrases such as "the 2008 version" are vague, too -- you could mean "the version that was released by in 2008" or "the version that I used in 2008". When you list a version number that the compiler vendor never used for its product, it is impossible to know what your software setup contains.
It is more useful if you err on the side of reporting too much rather than too little as to the error messages that you saw.
Secondly, phrases such as "the 2008 version" are vague, too -- you could mean "the version that was released by
It is more useful if you err on the side of reporting too much rather than too little as to the error messages that you saw.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Steve,
With the compiler 8.0 version I get the following error message: ifort: error: unable to run '\\Bin'
so I cannot compile my code
with the 2011 version I can compile the code and I get a new exe file but the code doesn't run properly. I used to get an answer now I just get error messages that there is a singular matrix (but this problem didn't exist before).
I hope this is more clear this time.
Thanks for your help.
Gwen
With the compiler 8.0 version I get the following error message: ifort: error: unable to run '
so I cannot compile my code
with the 2011 version I can compile the code and I get a new exe file but the code doesn't run properly. I used to get an answer now I just get error messages that there is a singular matrix (but this problem didn't exist before).
I hope this is more clear this time.
Thanks for your help.
Gwen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
> With the compiler 8.0 version I get the following error message: ifort: error: unable to run '\\Bin'
> so I cannot compile my code
You do not say so explicitly, but let us assume that you are using the command line environment, and that you have installed the Microsoft SDK tools that are necessary for the Intel compiler to function.
In that case, we need to know what command line options you used in calling the compiler. The error message that you gave suggests that the file/bin/ifort.cfg does not have the correct directory for the Microsoft components in it. If so, simply edit the file and replace by the correct path of the Microsoft tools. In other words, the Intel compiler installation has not been correctly configured, but the defect is easily fixed.
>with the 2011 version I can compile the code and I get a new exe file but the code doesn't run properly. I used to get an answer now I just get error messages that there is a singular matrix
If you are using the same compiler options with both versions of the compiler, there is a possibility that there is a bug in your code that did not surface or its effects were too small to notice when the code was compiled with the older compiler. To further investigate the error you will have to provide a "reproducer", i.e., a small, self contained and complete example that demonstrates that "correct" results are given by the older compiler and not so with the newer compiler.
> so I cannot compile my code
You do not say so explicitly, but let us assume that you are using the command line environment, and that you have installed the Microsoft SDK tools that are necessary for the Intel compiler to function.
In that case, we need to know what command line options you used in calling the compiler. The error message that you gave suggests that the file
>with the 2011 version I can compile the code and I get a new exe file but the code doesn't run properly. I used to get an answer now I just get error messages that there is a singular matrix
If you are using the same compiler options with both versions of the compiler, there is a possibility that there is a bug in your code that did not surface or its effects were too small to notice when the code was compiled with the older compiler. To further investigate the error you will have to provide a "reproducer", i.e., a small, self contained and complete example that demonstrates that "correct" results are given by the older compiler and not so with the newer compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting Gwenaelle Proust
ifort: error: unable to run '\\Bin'
If you are quoting from the ifort command prompt window, "ifort -V" would tell which ifort version you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Visual Fortran 8.0 was released in 2003 - some eight years old at this point. I am glad to hear that you now have the current version. Yes, the current compiler is much better at error detection than version 8 and, as I mentioned, the necessary Microsoft bits are now included.
Please show us the error messages and the sources that triggered them and we can help further.
Please show us the error messages and the sources that triggered them and we can help further.
![](/skins/images/D2683F18326913BBA0436CB7114DD569/responsive_peak/images/icon_anonymous_message.png)
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