Skip to content

Conversation

@marcfehling
Copy link
Collaborator

There used to be incompatibilities between the ifx and mkl packages as observed first in #13994. It appears that they have been fixed.

Let's see if the testers agree!

@marcfehling
Copy link
Collaborator Author

marcfehling commented Jul 1, 2025

Looks like there is some linker issue with gcc and onemkl 2025.2.0.

/usr/bin/ld: warning: libmpi.so.40, needed by /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libmpi_usempif08.so, may conflict with libmpi.so.12
/usr/bin/ld: /opt/intel/oneapi/mkl/2025.2/lib/libmkl_blacs_openmpi_lp64.a(mklmpi-impl.o): undefined reference to symbol 'ompi_mpi_dblprec'
/usr/bin/ld: /lib/x86_64-linux-gnu/libmpi.so.40: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status

I can force the use of an older version to keep it working for now. Maybe you can try an tackle the issue separately (I guess you might need to set a linker flag somewhere). -- @cxp484

@marcfehling
Copy link
Collaborator Author

marcfehling commented Jul 1, 2025

The linker issue for linux-gnu-openmpi vanishes when I specify the previous release of mkl, which is 2025.1.0. I provided a downgrade with the second commit. Testers should be happy now!

Maybe this gives you a clue on what to look for. Does Intel provide a changelog?

@marcfehling
Copy link
Collaborator Author

marcfehling commented Jul 1, 2025

Also, the release build for linux-intel-intelmpi works again with the new oneapi release with the third commit!

@cxp484
Copy link
Contributor

cxp484 commented Jul 2, 2025

The linker issue for linux-gnu-openmpi vanishes when I specify the previous release of mkl, which is 2025.1.0. I provided a downgrade with the second commit. Testers should be happy now!

Maybe this gives you a clue on what to look for. Does Intel provide a changelog?

Thanks, Marc. Here for local builds, we're still using MKL 2025.1, which is probably why we haven’t encountered this error. For now, I’m accepting the changes you made—they look good to me. We probably need to fix this once we update our local mkl to 2025.2.

@cxp484 cxp484 merged commit a767f32 into firemodels:master Jul 2, 2025
18 checks passed
@marcfehling marcfehling deleted the oneapi branch July 2, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants