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

IMSL in IDE

csmao
Beginner
833 Views
I am compiling a program which calls IMSL routines. When launching the debugger (F5 or Ctrl-F5), the IDE asks me to rebuild the project even if it has just been built. For projects without IMSL calls, I do not have this problem. Can someone tell me what's going on? Thanks.

Mao
0 Kudos
5 Replies
Steven_L_Intel1
Employee
833 Views
I've never seen this particular problem before, at least not triggered by using IMSL. Is this CVF or IVF? Are you USEing the IMSL modules or doing it "F77 style"? Are the IMSL files installed on a network share?

Try this. Do a Build..Clean on your project/solution. Remove one source file from your project and add it back in. Do a Rebuild. See if that helps.
0 Kudos
csmao
Beginner
833 Views
Steve:

I try the steps you suggested. It did not work!

1. I am using IVF 8.1 under MS .NET 2003.
2. The project is simple; it contains only one source file. 3. The program calls an IMSL routine, RCURV, in F77 style. The Property/Linker/Input option is $(LINK_F90). The project is successfully built, but the IDE still asks me to rebuild the project everytime I try to "Start without Debugging" (Ctrl-F5).
4. The IMSL files are located in my local system.

Any thoughts? Thanks.

Mao
0 Kudos
Steven_L_Intel1
Employee
833 Views
I would not have thought that $(LINK_F90) works. Try adding the following line to one of your sources:

include 'link_f90_static.h'
0 Kudos
benh
Beginner
833 Views
I see this same effect without using IMSL at all in the project. The project has numerous files, with both C++ and Fortran in the solution. Yet, every time I do "build solution", it wants to recompile the same set of 6-8 files from the IVF project, even if I just did!

One of the files being recompiled contains only the code for one module, and it seems the timestamp of the resulting .mod file is always very late in the build process. This could explain why some other .for files depending on that module got recompiled the next time around. However, at least one of the .for files being recompiled does not depend on this module at all!

I don't know if this information is of any help, but it seems something is wrong with this Studio .NET integration in IVF 8.1.30 at least.

Any ideas?

Regards, -+-Ben-+-
0 Kudos
Steven_L_Intel1
Employee
833 Views
I doubt it's a problem in the IDE integration, but please create a ZIP of your project, including the .mod files generated, and submit a support request to Intel Premier Support so that we can look at it. It would also be very helpful if the buildlog.txt from a recent rebuild was included.
0 Kudos
Reply