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

Newer IFORT compatibility with CMake

StefVuck
Beginner
153 Views

Hello,

On using 2024.2 IFort with CMake, using their InstalledSystemRequiredLibrary, which works for developers on 2021 versions of the compiler, we aren't getting some dlls copied over as intended.
On further analysis, it was found that the CMake finds the location for these dlls in one of the following locations:
```

        set(_Intel_possible_redistdirs
          "${_Intel_basedir}/../redist/${_Intel_archdir}_win/compiler"
          "${_Intel_basedir}/../redist/${_Intel_archdir}/compiler"
          "${_Intel_basedir}/../../redist/${_Intel_archdir}_win/compiler"
          "${_Intel_basedir}/../../redist/${_Intel_archdir}/compiler"
          )
```

Where the basedir just corresponds to the location of the compiler, and archdir is going to corresponds to ia32 or intel64 depending on the system.

The core issue is that unlike my colleagues on the other compilers, I dont seem to have the correct file structure for this, infact, I don't have any redist folders of any kind (at least not in the oneApi/2024.2/.... paths).

Is this a setup issue, or was the simply a restructuring of the file structure for the Fortran compiler at some point between these releases?

Thanks,
Stefan
0 Kudos
0 Replies
Reply