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

compiling differences b/w 6.6B & 6.6A

rush19762003
Beginner
484 Views

Hi

I've a problem with the code that it compiles and executes on using CVF 6.6A but when I try to compile the same program using CVF 6.6B, i get linker errors. The main error is

errorLNK2001: unresolved external symbol _for_read_dir_i8
errorLNK2001: unresolved external symbol _for_write_dir_i8

1. I wanted to know if this is due to the difference in libraries or compatability b/w the 2 compilers 6.6A & 6.6B?
2. Also please tell me if there are scenarios where programs that compile with CVF 6.6A dont compile with CVF 6.6B?

Hope someone can help me.

Thanks

Tom Sawyer
0 Kudos
1 Reply
Steven_L_Intel1
Employee
484 Views
What is happening is that we made a change to the compiler in 6.6A to enable support of INTEGER*8 record numbers for direct access. In order to link, you need to have the corresponding 6.6A or later run-time library, which added a set of new routines.

I would say that your "6.6B" installation has a mismatch between the compiler and run-time library, as normally this error should not occur. Perhaps you have an old set of libraries in a separate directory that you're linking to?

Steve
0 Kudos
Reply