- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to get all my sotftware updated to VS 10 and IVF 12 and I had a couple of questions.
1. Is it possible to get the Help>IVF>Help IVF menu item in VS 10 to only show Intel Fortran help?
2. Can I use dll's that use both CVF and C calling conventions in the same program? There are hundreds of routines involved so recompiling with Assignment statements or generating a def file looks to be a lot of work.
3. Where I have gotten program using libraries to compile and run they are usually followed by a series of error messages about not being able to find the prb file.
As usual, any help appreciated
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Let me take a stab at your questions.
1. Is it possible to get the Help>IVF>Help IVF menu item in VS 10 to only show Intel Fortran help?
Visual Studio 2010
You must enable local help mode to view Intel documentation in Microsoft Help Viewer 1.0. This type of documentation displays in your default web browser.
Visual Studio 2010 supports two viewing modes: online and local. In online mode, you can view only documentation available from Microsoft web sites. You cannot view Intel documentation. Only local help mode allows you to view the installed Intel documentation.
To enable local help mode:
1. Start Microsoft Visual Studio 2010.
2. Click Help > Manage Help settings. (The Help Library Manager launches.)
3. Click the Settings link.
4. Select I want to use local help radio button.
5. Click the OK button.
To launch help:
1. From the Help menu, choose View Help. (The documentation should appear in your default web browser.)
2. Intel documentation should appear in the Related Links area.
For the first release of Visual Studio 2010 you must also have at least one document from Microsoft installed to view any local documentation. Click Help in the Help Library Manager for more information.
2. Can I use dll's that use both CVF and C callingconventions in the same program? There are hundreds of routines involved so recompiling with Assignment statements or generating a def file looks to be a lot of work.
3. Where I have gotten program using libraries to compile and run they are usually followed by a series of error messages about not being able to find the prb file.
------
Wendy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
!DEC$ ATTRIBUTES STDCALL,REFERENCE,DECORATE,ALIAS:"ROUTINE"::routine
inside the block. Upcase the routine name in the ALIAS string. I do not recommend use of /iface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your answers.
1. Even with local help selected searching IVF help will produces responses from all links searched which include all Visual Studio help files. I have found it much more useful to set up separate links to IVF and MKL help files as desktop icons to limit the noise in help inquiries.
2. I don't understand your reply with respect using DLLs. I have a main fortran program and several compiled DLL's I want to use. I compiled all the other libraries with the default option but one was pre-compiled with the CVF protocol. Do I have to recompile all the libraries I use to the CVF protocol ? This seems to be the answer since the External Procedures property refers to the project as a whole
3. There was a typo in part three of my question. I meant the pdb, program data bases file, could not be found.
Steve,
Maybe I am missing the point but using an interface block still looks like a massive change for a 400 routine library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'll note that while you CAN set the /iface:cvf property on individual sources, that will cause problems when you call that code from elsewhere in your application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2. I think Steve is addressing this through his post.
3. Unable to find pdb files.
Please make sure that you are trying to debug a debug build. This error says the debugger can not find the debug information. Can we get a full error message?
------
Wendy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve, I just want to get the dll procedure straight. First of all I am working in the IDE. I have a large file filled only with subroutines that I want to make into a dll. There is no way for me to tell which subroutines will be called in use or which subroutines are only called internally. I have hacked a program that looks for the subroutine statement and then adds "!DEC$ ATTRIBUTES DLLEXPORT :: routine_name" after it for each routine.
I choose dll as the project type and set the calling interface I want in the fortran>external procedures tab. I build the dll. When I write an application that uses the dll, I add the .lib file to the project and make sure the .dll file is on the path of the project. Working in the IDE and strictly in fortran do I need to have an import statement in the calling program?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
1. I put the subroutines into a dll and compiled it. The test program linked to the lib with no problems but run-time errors started showing up that did not show up when I just did a straight compile of the test program and all subroutines without using a dll. I fixed the first few but it looks like a hopeless way to go. There must be something else going on but I could find no compiler switches that would cure it.
2. As for the pdb problem, I wrote the simple program below called tesfortran and set it up in a new solution.
!This is a test program
parameter (n=256)
real a(n,n)
do j = 1, n
do k = 1, n
a(j,k) = abs(j + K)
end do
end do
stop
end
When I set a breakpoint and started debug I got the following in the output window:
'testfortran.exe': Loaded 'C:\updates\Fortran\testfortran\Debug\testfortran.exe', Symbols loaded.
'testfortran.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'testfortran.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'testfortran.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'testfortran.exe': Loaded 'C:\Windows\SysWOW64\imagehlp.dll', Cannot find or open the PDB file
'testfortran.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
Any ideas?
christ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you really, really want you can get the (very version specific) symbol files for those system DLL's off a Microsoft web site.
The only DLL's/EXE's you would normally care about in terms of symbols are the DLL's/EXE's that you are creating. The first line in the messages you posted indicates that its symbols were located in this case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is there any word on IMSL in VS10 with IVF 12? I bought the studio and compiler licenses anticipating IMSL would be available but it has not appeared?
Have a good new year
cf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page