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

calling Compaq Array Viewer from Intel Fortran

forall
Beginner
1,652 Views
Is it possible to call the CVF Array Viewer from code compiled under Intel Fortran 10 via the AVdef and AVDef and AVViewer modules?
thanks in advance,
dmitri
0 Kudos
12 Replies
Steven_L_Intel1
Employee
1,652 Views
Why not call the Intel Array Visualizer, which is available as a free download? It's better than the CVF version.
0 Kudos
forall
Beginner
1,652 Views
The problem is I have written many wrappers for CAV routines and would prefer not to lose them (at least not immediately). Eventually I plan to translate them into IAV wrappers, but it isnt so simple.

In the meantime I was hoping to use the CAV library. I understand I need the CAV .mod files and the .lib files, but their format seems not readable by Intel Fortran. I was wondering whether there are any fixes for this, or wether some additional interface could be used.

thanks in advance,
dmitri
0 Kudos
Steven_L_Intel1
Employee
1,652 Views
The .f90 sources for the module files are provided - you can recompile them. You should be able to link to the libraries, since they are not written in Fortran. I am not in the office where I can check this, but you may need to compile your sources with /iface:cvf to get the calling conventions right.
0 Kudos
forall
Beginner
1,652 Views
Steve,

Thanks for your reply.

I tried doing this in Intel Fortran, creating a console application with VIEWER2D.f90 as the main program and adding the interface files AVDEF.f90, AVVIEWER.f90 (all attached). I also added "AVIEW160.LIB" to the linker path and set iface/cvf (without the latter I couldnt build the project). I was able to build the project with 0 errors/warnings.

However when running the project it just opens a blank CAV instance, without loading the matrix that I supplied as the argument to "faglStartWatch". Indeed the latter routine returns status=20492. This error code is not listed in the CAV documentation.

The CAV window itself is functional in the sense of being able to open existing AGL files (from the samples folder), but this isnt too helpful/needed in my case.

I also checked the VIEWER2D.f90 file in CVF (just in case) and it works fine.

Any ideas what could be going wrong? Any suggestion would be greatly appreciated.

thanks,
Dmitri
0 Kudos
Steven_L_Intel1
Employee
1,652 Views
Sorry, I'm not able to provide more detailed assistance on this issue.
0 Kudos
IDZ_A_Intel
Employee
1,652 Views
I've also encountered this same problem and error. (Calls tofaglStartWatch work fine under CVF but fail with error 20492 under IVF).

Has this issue ever been resolved? If so, please explain in detail.
Are there any easy workarounds?
Thanks.
0 Kudos
jimdempseyatthecove
Honored Contributor III
1,652 Views
I've been using Array Visualizer from withing my x64 apps on XP Pro64, Vista x64, Windows 7 Pro x64.

I do not call vaglStartWatch, instead I call avStartWatch.

Jim Dempsey
0 Kudos
kbomb
Beginner
1,652 Views
Jim:
The program I'm try to fix uses the Compaq Array Visualizer (CAV), not the Intel Array Visualizer (IAV). As I understand things, the parameters used for the IAV calls to avStartWatch are not the same as those used in the CAV calls to faglStartWatch. (In other words, simple code editting won't change CAV to IAV.) If I'm wrong, please advise.
Thanks.
0 Kudos
JohnNichols
Valued Contributor III
1,652 Views

Steve: The lilnk does not lead to the IAV that I can see, can you give an exact download location please?

JMN

Why not call the Intel Array Visualizer, which is available as a free download? It's better than the CVF version.

Steve

Attaching or including files in a post

Doctor Fortran blog

@DoctorFortran on Twitter

0 Kudos
Anonymous66
Valued Contributor I
1,652 Views
Hi John,

Steve is out this week but Intel Array Visualizer is currently available at http://www3.intel.com/cd/software/products/asmo-na/eng/compilers/226302.htm.

Thanks,
Annalee
Intel Developer Support
0 Kudos
kbomb
Beginner
1,652 Views
Annalee:
Almost all of the links on the "Intel Array Visualizer" page say "Page Not Found" when selected. It would be very helpful if the examples (code, result) were restored.
Thanks.
0 Kudos
Steven_L_Intel1
Employee
1,652 Views
I have the 32-bit and 64-bit Intel Array Visualizer installers and have attached them here.
0 Kudos
Reply