Ok. So there I was. Pulling what little hair I have left out trying to get Array Visualizer to work with Intel Visual Fortran. Lots of forums and searches and communications with the Fortran Dr. later, I think I got it. Beware, I am a beginner with Array Visualizer, and not much better with IVF, but that may be what some people are looking for. If I have mistakes, please correct me.
I will use the sample code called "Update" which comes with the Array Visualizer package that is a free download from Intel. I assume that the same settings are required for any project. Actually using the Array Visualizer to look at stuff in your own fortran programs will be up to you, since I haven't actually gotten that far yet. However, I am assuming that you know the basics of using VS2008 to program in Fortran. So here we go, step by step.
1. Install VS2008 - This should be easy.
2.Download and installArray Visualizer
a. The current version is 3.3 and can be download here:
b. Make sureyouinstalltheVisualizer not the Viewer. Installing the Visualizertakes care of the viewer.
c. Addthe following to your PATH: C:[Install Dir]\\bin
d. Create an environment variable for Array Visualizer (same path as b. - bin)
3. Install IVF. The most current versionis 11.0.If you have it installed already, uninstall and reinstall after installing the Visualizer. This takes a while but it works.
Now it's time to start programming. (really just copying and pasting)
4.Open a new Project in VS2008 and call it Upate (it can be whatever).
a. This project can be a CONSOLE or QWIN, but later whichever one you do will matter
5. Project ->Add Existing Item ->[Array Visualizer Install Directory]\\Samples\\Fortran\\Update\\update.f90
Project -> Add Existing Item -> [Array Visualizer Install Directory]\\include\\AvFRT.f90
6. SetVS settings:
a. Tools -> Options -> Intel Visual Fortran -> Compilers
1) Under Executables add: "C:\\Program Files\\Intel\\Array Visualizer\\bin"
2) Under Libraries add: "C:\\Program Files\\Intel\\Array Visualizer\\lib"
3) Under Includes add: "C:\\Program Files\\Intel\\Array Visualizer\\include"
***Make sure you include the quotes
7. Set Project Settings
a. Project -> Properties -> Fortran -> General -> Additional Include Directories: "C:\\Program Files\\Intel\\Array Visualize\\rinclude"
b. Project -> Properties -> Linker ->:
1)General ->Additional Library Directories: "C:\\Program Files\\Intel\\Array Visualizer\\lib"
2) Input -> Additional Dependencies: "C:\\Program Files\\Intel\\Array Visualizer\\lib\\AvFRT.lib" ole32.liboleaut32.lib
Now compile and run the program. It should work. I just did it again tonight. Way cool!!!
Hopefully this will help. I am going to start using the array visualizer to model shock waves and other physical phenomena. It should just be a matter ofcalling the modules and routines that come with Array Visualizer (most of them found in AvFRT.f90 and hopefully this is where the Array Visualizer Docs will make up the difference.
Let me know if there are problems or issues with this information.