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

Support for old libraries.

S-J-S
Beginner
261 Views

Recently upgraded my desktop and installed the latest version of Fortran 2025-1.0 with Visual Studio 2022. After recompiling some of my existing Fortran code (which calls upon libraries created by a third-party software vendor), I get the error that for_alloc_pdtlen can't be found. This third-party software vendor has indicated that their libraries have been developed using XE-2015.

According to Lorri_M_Intel (03-18-2019) the solution is to ensure that the libraries are compiled using the new version of the redistributables. Unfortunately, this source code is proprietary and held by another software developer who no longer supports this version of their software. Moving to their latest software results in other compatibility issues (not related to Fortran rather input files) that are costly to address.

My question is, can I uninstall Fortran 2025 and reinstall the older version of XE-2015 to compile and link my code to these older libraries?  Does XE-2015 work with Visual Studie 2022?


Thanks

0 Kudos
4 Replies
Ron_Green
Moderator
229 Views

No, XE-2015 will not work with VS 2022.  You will need a Visual Studio version that was supported and tested in the same year as XE-2015.  On a Windows version for that time also, so Win11 or 10 may or may not work with VS2015.   

 

The old library from around 2015 - is it a .lib or a .dll ?   Do you know if it is an ia32 or an x64 library? 

 

the function for_alloc_pdtlen is in the Intel Fortran Runtime library libifcore.  So if the library is a .lib and x64, it should link successfully.  If it is a .dll, it also should link to libifcore. 

 

I would not try to recreate a XE-2015 environment.  I would use the new compiler, in Windows 10 or 11, in Visual 2022 and try to link the old library.  Where this will fail is if your library is a .lib and is a 32bit library. 

 

0 Kudos
S-J-S
Beginner
223 Views

Thanks.
Some of the libraries are .lib and another is a .dll. They are 32bit libraries so it sounds like it may not work as I had hoped.

0 Kudos
andrew_4619
Honored Contributor III
180 Views

IFX is ONLY 64 bit.

0 Kudos
JohnNichols
Valued Contributor III
163 Views

You have several options. The first option is to look for a substitute package, so can one ask what is the annoying package that is no longer supported. 

 

0 Kudos
Reply