I am trying to use Intel Visual Fortran (IVF) and Visual Studio 2013 to run with my code which was run on Digital Visual Fortran (DVF).
The code includes two files, which are main program (main.f90) and subroutine, respectively. I can run the code on DVF correctly.
When I compiled the code with IVF, however, I got two problems:
1) How to compile fortran code without project?
When using DVF to compile the code, I can open the main program directly (double left clicks) and add subroutine before I build them up and run the code. When using IVF, however, I cannot run the code in the way I used with DVF. When I directly open the main.f90 with IVF, the function of "build up" become not available.Moreover, I cannot find the button to add the file to the main program. How to compile the code without out project?
2) Cannot compile fortran code in a project.
Since I cannot run the code on IVF with directly open the code without project, I created a project for the code. The code was moved to the folder under the project. Then, I opened the project, and added the main.90 and subroutine files through the "Solution Explorer". There was no error when I built it up. I can run the code, but it cannot run correctly (dispersed abnormally which didn't occur when compiling the code with DVF).
I think I need somebody's help......