- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which compiler version are you using? Can you show me the output from the ifort command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Because of those lines, the compiler can get confused about which lines are declarations and which contain executable statements. Forget about whatever error messages you get now. Fix those lines first so that the input has the proper format for fixed source. Then, run the program through the compiler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi. I have a FORTRAN code which has been written in Visual Fortran 4.1, and right now I use Intel compiler under the Microsoft Visual Studio 2008. When I run the code with Intel compiler, it doesn't give me the correct results (cuz I have the correct results) while the compiler doesn't show any error. There are some questions:
1) is it possible that some of statements can not be compiled in Intel, since the code has been writeen in old version of FORTRAN?
2) I have heard there is feature in compilers that makes compilers to neglect errors and run the code based on some of it's default? if it's
true, how can i dissable that?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please post this question in http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows and provide some more details. If you can attach a sample program that shows the problem, that would be best. Intel Visual Fortran supports pretty much all of the PowerStation syntax - you would get errors for things not supported. But it is often the case that coding errors can cause different results when changing compilers.
There is not really a feature as you describe it. Let us help you find out what's wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Does your old code require that local variables be SAVEd in order to work correctly? That is likely if you used Digital/Compaq Visual Fortran. If so, read about the /Qsave and /Qzero options.
You may also give some consideration to fixing up the code so that it does not rely upon such non-standard behavior.

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