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

Can't edit fortran source files

klaus_schmid
Beginner
942 Views
I just installed Intel fortran 8.1 and I can't edit the source files in Visual Studio .NET 2003. As soon as the file is recognized as a fortran file (extension) the cursor keys and return keyno longer work ?!?!?!
I can edit C, C++, C# files no problem but NO fortran files.
I can create and edit them in another editor and compile them in Visual Studion but I can't edit them ?
What is wrong here ?
0 Kudos
9 Replies
Steven_L_Intel1
Employee
942 Views
I've seen this before - in fact it once happened to me. I don't remember how I fixed it. I'll dig around and see if I can find the answer.
0 Kudos
vladvlaskin
Beginner
942 Views
I've seen this before - in fact it once happened to me. I don't remember how I fixed it. I'll dig around and see if I can find the answer.
I have the same problem, so I can't even start with it.
If there are any suppositions I'll be happe to take it.
0 Kudos
jimdempseyatthecove
Honored Contributor III
942 Views

On the edit tab (sub window) to the right of the filename (e.g. foo.f90) do you see what appears to be a paddlock? If so this indicates the file is write protected. But you should be able to mouse into the window and select and copy text. Sounds like you cannot do this either.

Fortran 8.1 is rather old. The VS integrations may be experiencing a problem, potentially after some VS service pack. It may be time to consider an upgrate to IVF.

Jim Dempsey
0 Kudos
Beowulf8790
Beginner
942 Views

We recently purchased and installed IVF 11.1 on a computer using Visual Studio 2005, and have the same problem. The enter, backspace and arrow keys do not function in the IDE editor. It is only in IVF projects, for all other projects in the IDE the editior works fine. The file is not write protected.

We have also tried re-stalling the IVF, and applying the Visual Studio SP1, running "devenv /resetuserdata" and "devenv /setup". Please help, since right now the compiler is not usable.

Richard

0 Kudos
Steven_L_Intel1
Employee
942 Views

Did you have a different company's Fortran integrated into VS2005 before, such as Lahey? I know this can interfere with the editor.

I suggest doing uninstalling Intel Visual Fortran, doing a "Repair" on VS2005 (run the VS2005 setup again and this is an option.) Then reinstall SP1 and Intel Fortran.

0 Kudos
Beowulf8790
Beginner
942 Views

Hi Steve,

Thanks for the quick response. Yes, a Portland group compiler was being used prior to the IVF. It is still on that machine but could be removed.

I have downloaded the Visual Studio 2008 package from our Engineering College's MSDN Academinc Alliance Software Center, and am going to install that and reinstall and itegrate the IVF just into that IDE.

If that solves the problem, do you want me to let you know?

Thank again,

Richard

0 Kudos
Steven_L_Intel1
Employee
942 Views
Yes, a PGI compiler install can also cause this behavior. The problem is that Visual Studio can't deal with two different "integrations" for the same language. Please let me know how it works out.
0 Kudos
Beowulf8790
Beginner
942 Views

Hi Steve,

I tried it out two ways and they both solved the problem. If I wanted to keep the PGI Fortran in Visual Sudio 2005, I could install Visual Sudio 2008 and integrate the IVF into that and it works just fine.

If I wanted to use IVF in VS 2005, I removed the PGI and then installed and integrated the IVF, and that works too. Since we don't need the PGI though, we just removed that.

Thanks for your solution(s)!

Richard

0 Kudos
Steven_L_Intel1
Employee
942 Views
Glad to hear it.
0 Kudos
Reply