- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am a new member to this Forum. I have a very basic Question. I was using CVF
previously. Now, I have installed the Composer. I've learned how to migrate the
project from CVF to IVF. However, I don't know how to run a single
"for" or "f90" code in the Composer. Windows opens the code
in Microsoft Visual Studio but there is no compiling option. On the other hand,
if I create a new project and copy and paste the code in the Editor, it does
not recognize it as a Fortran 77 code. I know it is a simple question but I
will be grateful if you can help me with that.
Thanks,
Ali
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create a new project as an "empty" project of the appropriate type - such as Console Application. If you have an existing source file, just add the source file to the project just as you did in CVF. If you want to copy and paste, add a new source file but make sure you select "Fixed form source". Then paste into that. Really, this part is the same as CVF.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve,
Your suggestion worked for me well. I created a new project and added the source code to it. But when I wanted to compile the code, it gave me some errors. So, I tried to do what you have advised in your article "Migrating from Compaq Visual Fortran". So, I modified the dsw and dsp files and extracted CVF items. And I could run the same code without any errors. So, I have two questions:
1- Why this is happening? I mean the only way the code is working like before is to modify the dsw and dsp files. But I cannot compile the source code directly without error.
2- In CVF I could just open a fixed format file and run the code without creating a new project. Can I do the same with Intel Visual Fortran?
Thanks again,
Your suggestion worked for me well. I created a new project and added the source code to it. But when I wanted to compile the code, it gave me some errors. So, I tried to do what you have advised in your article "Migrating from Compaq Visual Fortran". So, I modified the dsw and dsp files and extracted CVF items. And I could run the same code without any errors. So, I have two questions:
1- Why this is happening? I mean the only way the code is working like before is to modify the dsw and dsp files. But I cannot compile the source code directly without error.
2- In CVF I could just open a fixed format file and run the code without creating a new project. Can I do the same with Intel Visual Fortran?
Thanks again,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel Visual Fortran does not have the ability to create a project for you from a source file the way CVF did. It's due to a difference in Visual Studio. So you'll need to create a new project and add your source file(s) to it.
I don't understand your issue about modifying the dsp and dsw - something one rarely does. What were the errors and what did you change?
I don't understand your issue about modifying the dsp and dsw - something one rarely does. What were the errors and what did you change?

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