configure failed of openmpi-5.0.10 with the 2026.0.0 icx and ifx compilers in Fedora 44

30 views
Skip to first unread message

jde...@intec.unl.edu.ar

unread,
Jun 15, 2026, 9:39:58 AM (12 days ago) Jun 15
to Open MPI Users

Der all,

I cannot configure openmpi-5.010 with the 2026.0.0 icx+ifx compilers in
Fedora Linux 44 (Workstation Edition) system (altough an alternative
version with gcc+gfortran is ok).

It is worth noting that during the installation of the icx/ifx compilers, I had to add the line: 
ln -s /usr/lib64/libgcc_s.so.1 /usr/x86_64-linux-gnu/lib/libgcc_s.so.

Please, any suggestions on how to resolve the issues listed in the attached file?
Thank you in advance.

Regards.
Jorge D'Elia.

config.log.gz

Pritchard Jr., Howard

unread,
Jun 15, 2026, 2:47:15 PM (12 days ago) Jun 15
to us...@lists.open-mpi.org

Hi,

 

Could you try modifying your configure command to be something like this?

 

./configure CC=icx CXX=icpx FC=ifx CFLAGS="-O3" CXXFLAGS="-O3" FCFLAGS="-O3"

 

This works for me.  I am using a somewhat older one api compiler suite however:

 

icx --version

Intel(R) oneAPI DPC++/C++ Compiler 2023.2.0 (2023.2.0.20230622)

 

Howard

To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@lists.open-mpi.org.

jde...@intec.unl.edu.ar

unread,
Jun 15, 2026, 3:51:55 PM (12 days ago) Jun 15
to us...@lists.open-mpi.org
Hi Howard,

Thanks for replying. I am sorry, I did not have any luck with the suggestion.
There are no significant changes. I have attached the new config.log.gz file.
I suspect problems, perhaps, related to the symbolic link
ln -s /usr/lib64/libgcc_s.so.1 /usr/x86_64-linux-gnu/lib/libgcc_s.so.
So, please, do you have any other suggestions?

Regards,
Jorge.

"'Pritchard Jr., Howard' via Open MPI users"
<us...@lists.open-mpi.org> escribió:
> users+un...@lists.open-mpi.org<mailto:users+un...@lists.open-mpi.org>.
config.log.gz

Pritchard Jr., Howard

unread,
Jun 15, 2026, 5:13:14 PM (12 days ago) Jun 15
to us...@lists.open-mpi.org
Hi Jorge,

Your config.log has these lines:

configure:10133: checking whether the C compiler works
configure:10155: icx -DNDEBUG '-O3' conftest.c >&5
icx: error: no such file or directory: ''-O3''
configure:10159: $? = 1
configure:10199: result: no
configure: failed program was:

The problem seems to be that somehow the "-O3" you are using on the command line gets mangled into '-O3' for the compiler. The compiler doesn't understand that.
Maybe try again without the CFLAGS, etc. being specified on the configure line?

Also make sure to use CXX=icpx

Otherwise the configure will fail somewhere else.

On 6/15/26, 1:52 PM, "us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org> on behalf of jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar>" <us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org> on behalf of jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar>> wrote:


Hi Howard,


Thanks for replying. I am sorry, I did not have any luck with the suggestion.
There are no significant changes. I have attached the new config.log.gz file.
I suspect problems, perhaps, related to the symbolic link
ln -s /usr/lib64/libgcc_s.so.1 /usr/x86_64-linux-gnu/lib/https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$ <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$> .
So, please, do you have any other suggestions?


Regards,
Jorge.


"'Pritchard Jr., Howard' via Open MPI users"
<us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>> escribió:


> Hi,
>
> Could you try modifying your configure command to be something like this?
>
> ./configure CC=icx CXX=icpx FC=ifx CFLAGS="-O3" CXXFLAGS="-O3" FCFLAGS="-O3"
>
> This works for me. I am using a somewhat older one api compiler
> suite however:
>
> icx --version
> Intel(R) oneAPI DPC++/C++ Compiler 2023.2.0 (2023.2.0.20230622)
>
> Howard
>
> From: <us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>> on behalf of
> "jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar>" <jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar>>
> Reply-To: "us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>" <us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>>
> Date: Monday, June 15, 2026 at 7:40 AM
> To: Open MPI Users <us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>>
> Subject: [EXTERNAL] [OMPI users] configure failed of openmpi-5.0.10
> with the 2026.0.0 icx and ifx compilers in Fedora 44
>
>
> Der all,
>
> I cannot configure openmpi-5.010 with the 2026.0.0 icx+ifx compilers in
> Fedora Linux 44 (Workstation Edition) system (altough an alternative
> version with gcc+gfortran is ok).
>
> It is worth noting that during the installation of the icx/ifx
> compilers, I had to add the line:
> ln -s /usr/lib64/libgcc_s.so.1 /usr/x86_64-linux-gnu/lib/https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$ <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$> .
>
> Please, any suggestions on how to resolve the issues listed in the
> attached file?
> Thank you in advance.
>
> Regards.
> Jorge D'Elia.
>
> To unsubscribe from this group and stop receiving emails from it,
> send an email to
> users+un...@lists.open-mpi.org <mailto:users+un...@lists.open-mpi.org><mailto:users+un...@lists.open-mpi.org <mailto:users+un...@lists.open-mpi.org>>.
>
> To unsubscribe from this group and stop receiving emails from it,
> send an email to users+un...@lists.open-mpi.org <mailto:users+un...@lists.open-mpi.org>.




To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@lists.open-mpi.org <mailto:users+un...@lists.open-mpi.org>.



jde...@intec.unl.edu.ar

unread,
Jun 15, 2026, 5:50:39 PM (12 days ago) Jun 15
to us...@lists.open-mpi.org
Hi Howard,

"'Pritchard Jr., Howard' via Open MPI users"
<us...@lists.open-mpi.org> escribió:

> Hi Jorge,
>
> Your config.log has these lines:
>
> configure:10133: checking whether the C compiler works
> configure:10155: icx -DNDEBUG '-O3' conftest.c >&5
> icx: error: no such file or directory: ''-O3''
> configure:10159: $? = 1
> configure:10199: result: no
> configure: failed program was:
>
> The problem seems to be that somehow the "-O3" you are using on the
> command line gets mangled into '-O3' for the compiler. The compiler
> doesn't understand that.
> Maybe try again without the CFLAGS, etc. being specified on the
> configure line?
>
> Also make sure to use CXX=icpx
> Otherwise the configure will fail somewhere else.

Ok. Then, I temporarily try with a new configuration:

unset CC
unset CXX
unset FC
options="CC=icx CXX=icpx FC=ifx --prefix=${PREFIX}
--with-prrte=internal --with-pmix=internal --with-ucx --without-verbs
--without-libfabric --without-xpmem"

and I have attached the resulting config.log.gz file.

THANKS.

Regards
Jorge.
> send an email to users+un...@lists.open-mpi.org.


config.log.gz

Pritchard Jr., Howard

unread,
Jun 15, 2026, 6:08:47 PM (12 days ago) Jun 15
to us...@lists.open-mpi.org
Hi Jorge,

Okay this looks more like its failing now with something that may be due to your workarounds for linking:

10349 configure:20091: checking if C and C++ are link compatible
10350 configure:20114: icx -c -O3 -DNDEBUG -finline-functions conftest_c.c
10351 configure:20117: $? = 0
10352 configure:20145: icpx -o conftest -DNDEBUG conftest.cpp conftest_c.o >&5
10353 /usr/x86_64-linux-gnu/bin/ld: cannot find -lstdc++: No such file or directory
10354 icpx: error: linker command failed with exit code 1 (use -v to see invocation)
10355 configure:20145: $? = 1
10356 configure: failed program was:

I'd suggest trying to build some simple non-MPI c++ and c tests you build with icpx and icx respectively then try to link using icpx.
This sounds like a problem better directed toward one of the One API community lists.

Howard
"'Pritchard Jr., Howard' via Open MPI users"
<us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>> escribió:


> <mailto:us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>> on behalf of
> jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar> <mailto:jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar>>"
> <us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org> <mailto:us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>> on
> behalf of jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar> <mailto:jde...@intec.unl.edu.ar <mailto:jde...@intec.unl.edu.ar>>>
> wrote:
>
>
> Hi Howard,
>
>
> Thanks for replying. I am sorry, I did not have any luck with the suggestion.
> There are no significant changes. I have attached the new config.log.gz file.
> I suspect problems, perhaps, related to the symbolic link
> ln -s /usr/lib64/libgcc_s.so.1
> /usr/x86_64-linux-gnu/lib/https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$ <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$> <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$ <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$>>
> .
> So, please, do you have any other suggestions?
>
>
> Regards,
> Jorge.
>
>
> "'Pritchard Jr., Howard' via Open MPI users"
> <us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org> <mailto:us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>>> escribió:
>
>
>> Hi,
>>
>> Could you try modifying your configure command to be something like this?
>>
>> ./configure CC=icx CXX=icpx FC=ifx CFLAGS="-O3" CXXFLAGS="-O3" FCFLAGS="-O3"
>>
>> This works for me. I am using a somewhat older one api compiler
>> suite however:
>>
>> icx --version
>> Intel(R) oneAPI DPC++/C++ Compiler 2023.2.0 (2023.2.0.20230622)
>>
>> Howard
>>
>> <mailto:us...@lists.open-mpi.org <mailto:us...@lists.open-mpi.org>>>
>> Subject: [EXTERNAL] [OMPI users] configure failed of openmpi-5.0.10
>> with the 2026.0.0 icx and ifx compilers in Fedora 44
>>
>>
>> Der all,
>>
>> I cannot configure openmpi-5.010 with the 2026.0.0 icx+ifx compilers in
>> Fedora Linux 44 (Workstation Edition) system (altough an alternative
>> version with gcc+gfortran is ok).
>>
>> It is worth noting that during the installation of the icx/ifx
>> compilers, I had to add the line:
>> ln -s /usr/lib64/libgcc_s.so.1
>> /usr/x86_64-linux-gnu/lib/https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$ <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$> <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$ <https://urldefense.com/v3/__http://libgcc_s.so__;!!Bt8fGhp8LhKGRg!BNmpId7wlYNL0cBzB6JFJoldka0u-PJ_-F6WoFuHDoHIUzLn-u6nJVNV1dRStKwE2uLT0Wp4XCiB8RoHLblR65I$>>
>> .
>>
>> Please, any suggestions on how to resolve the issues listed in the
>> attached file?
>> Thank you in advance.
>>
>> Regards.
>> Jorge D'Elia.
>>
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to
>> users+un...@lists.open-mpi.org <mailto:users+un...@lists.open-mpi.org>
>> <mailto:users+un...@lists.open-mpi.org <mailto:users+un...@lists.open-mpi.org>><mailto:users+un...@lists.open-mpi.org <mailto:users+un...@lists.open-mpi.org>

jde...@intec.unl.edu.ar

unread,
Jun 17, 2026, 9:15:31 AM (10 days ago) Jun 17
to us...@lists.open-mpi.org

Dear Pritchard et al.,

Many thanks for the suggestions. It is fixed now.
The problem with the Fedora 44 case was the missing flags 


CPLUS_INCLUDE_PATH and --gcc-install-dir.

With its definitions, the configure step is ok:

// export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/usr/include/c++/16/x86_64-redhat-linux
// source /opt/intel/oneapi/setvars.sh
// icpx --gcc-install-dir=/usr/lib/gcc/x86_64-redhat-linux/16 -o test-cpp.exe test-cpp.cpp
// ./test-cpp.exe
//   Standard C++ works on Fedora 44!
//   icpx is working!
//
#include <iostream>
int main() {
    std::cout << "  Standard C++ works on Fedora 44!" << std::endl;
    std::cout << "  icpx is working!" << std::endl;
    return 0;
}

~/TMP $ which icpx
/opt/intel/oneapi/compiler/2026.0/bin/icpx

~/TMP $ icpx -I/usr/include  -o test-cpp.exe test-cpp.cpp

~/TMP $ test-cpp.exe 
  Standard C++ works on Fedora 44!
  icpx is working!

and also the next bulding phase:

~/TMP $ which mpifort
/opt/openmpi/bin/mpifort
~/TMP $ mpifort -O2 -o test-mpi-0010.exe test-mpi-0010.f90
~/TMP $ mpirun --machinefile ~/machi-intel.dat --np 6 test-mpi-0010.exe
  MPI_VERSION    :            3
  MPI_SUBVERSION :        1
  mpi_started    :  T
  hellow from            4  of            6
  hellow from            2  of            6
  hellow from            0  of            6
  hellow from            5  of            6
  hellow from            1  of            6
  hellow from            3  of            6

Regards,
Jorge D'Elia.

"'Pritchard Jr., Howard' via Open MPI users" <us...@lists.open-mpi.org> escribió:

To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@lists.open-mpi.org.



 

Reply all
Reply to author
Forward
0 new messages