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

Error #7011 after compiler change when including f90SQL

U_Chris
Beginner
1,229 Views

After a compiler change from Intel Visual Fortran Compiler 19.1.3.311 to Intel Fortran Compiler Classic 2021.10.0 I get the following error message:

 

error #7011: The module file for the module is obsolete.  Please recompile the module.   [F90SQLCONSTANTS]
      USE f90SQLConstants
----------^

 

All necessary module files concerning f90SQL can no longer be included. (F90SQL.mod, F90SQLconstants.mod, F90SQLstructures.mod)

Unfortunately I can't find any further information about the error message.

Maybe someone here has an idea how to get my project running again.

 

Thank you in advance for your support!

0 Kudos
12 Replies
andrew_4619
Honored Contributor III
1,214 Views

You need to recompile those modules the old mod files are not compatible is what the message is saying. 

EDIT I since noted the these are paid for libs, you need to speak to the vendor..... 

0 Kudos
U_Chris
Beginner
1,196 Views

Hi Andrew,

thanks for your reply. As far as I know, unfortunately, you can no longer contact the supplier.

 

Are there maybe conversion tools for the module files or is it possible to restore the compatibility by changing the compiler settings?

 

0 Kudos
mecej4
Honored Contributor III
1,191 Views

As you can see in an older thread on a similar question, the company that developed F90SQL appears to be out of business. If you do not have a copy of the source code for F90SQL, you will have to keep using the older IFort version that is compatible with F90SQL, or look for alternative approaches to using ODBC data sources in Fortran programs.

0 Kudos
andrew_4619
Honored Contributor III
1,186 Views

I don't know of any conversion tools or options, I do not think such things exist.  What are you trying to do BTW, it seems you are working with obsolete tools... Maybe there are other ways....

0 Kudos
U_Chris
Beginner
1,179 Views

After a computer change I had to update some tools due to compatibility issues. Now I try to get all projects running again with as little effort as possible.

Unfortunately it doesn't seem to be that easy. I guess I have no other choice but to look around for alternatives.

Thanks for your comments anyway!

0 Kudos
Steve_Lionel
Honored Contributor III
1,165 Views
0 Kudos
U_Chris
Beginner
1,109 Views

Hi Steve,

thanks for the advice. Unfortunately the files are already the documents that are included in my project.

 

0 Kudos
Steve_Lionel
Honored Contributor III
1,093 Views

The ZIP I attached there contains the source to the F90SQL module (at least the Lite version), so you can recompile it. There aren't many module incompatibilities - those that do exist are due to bugs in older compilers.

0 Kudos
andrew_4619
Honored Contributor III
1,091 Views

I looked at that and concluded there was no source code... Wrong! There is no src folder but the sources are in the include folder  which I didn't look in.... Will the LIB file (dated yr 2000) be compatible to link with though?

0 Kudos
U_Chris
Beginner
1,088 Views

Yes, the old lib is still compatible and can be used with the new module files!

0 Kudos
U_Chris
Beginner
1,088 Views

Ohh, I guess I misunderstood your intention!

I have recompiled the sources from the directory, created new module files and included them in my project.

Now the program can be compiled without any errors!

 

Thank you all for your support. You have saved me a lot of work!

0 Kudos
Steve_Lionel
Honored Contributor III
1,071 Views

Glad to hear it. Yes, old Intel Fortran objects/libs are compatible with newer compilers. This philosophy was carried over from DEC and might not apply to other compilers (such as Intel C++.)

0 Kudos
Reply