[Mvapich] Error Encountered in MVAPICH 3.0 Configuration with oneAPI 2024 in Spack 0.21

You, Zhi-Qiang zyou at osc.edu
Fri Apr 26 12:01:01 EDT 2024


Hi Paul,

I discovered there was another error before the CROSS_F77_SIZEOF_INTEGER error. It turned out that libintlc.so was missing when checking the Fortran 90 compiler. Thank you for pointing this out. I will continue troubleshooting.

Best regards,
ZQ


From: Paul H. Hargrove <phhargrove at lbl.gov>
Date: Wednesday, April 24, 2024 at 11:14 PM
To: You, Zhi-Qiang <zyou at osc.edu>
Cc: mvapich at lists.osu.edu <mvapich at lists.osu.edu>
Subject: Re: [Mvapich] Error Encountered in MVAPICH 3.0 Configuration with oneAPI 2024 in Spack 0.21
ZQ, I believe the configure probe you are referring to has attempted to compile a short F90 program and then run it. The result you report is consistent with the run having failed. You should examine the contents of the config. log file, searching
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
<https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vYQd06hpzWggSnkSf0avvgNMDD0723LP7mtnM6VN20Brirh3Z8_C7QB8OakFttvx_CrY8YjqDFZEaW6c9nxsKqRi2WwTFfNGOCidPZGXb_zTLEbGZHyxMn9f$>
Report Suspicious <https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vYQd06hpzWggSnkSf0avvgNMDD0723LP7mtnM6VN20Brirh3Z8_C7QB8OakFttvx_CrY8YjqDFZEaW6c9nxsKqRi2WwTFfNGOCidPZGXb_zTLEbGZHyxMn9f$>


ZjQcmQRYFpfptBannerEnd
ZQ,

I believe the configure probe you are referring to has attempted to compile a short F90 program and then run it.
The result you report is consistent with the run having failed.

You should examine the contents of the config.log file, searching for the text "checking whether the Fortran 90 compiler" and then looking after that for the run failure that led to declaring ifx a cross compiler.

If I had to guess without seeing config.log, then I would guess that the compiled executable failed to run due to not locating a shared library.  This could occur, for instance, if the `-Wl,-rpath...` argument is incorrect or incomplete.  In particular, it doesn't seem to "match" the full path to ifx.

-Paul

On Wed, Apr 24, 2024 at 6:51 PM You, Zhi-Qiang via Mvapich <mvapich at lists.osu.edu<mailto:mvapich at lists.osu.edu>> wrote:
Hello,

I encountered the following error during the configuration step while building MVAPICH 3.0 with oneAPI 2024 in Spack 0.21:

configure: error: Unable to configure with Fortran support because configure could not determine the size of a Fortran INTEGER.  Consider setting CROSS_F77_SIZEOF_INTEGER to the length in bytes of a Fortran INTEGER

It appears that the error occurred because the compiler was identified as a cross-compiler:

checking whether the Fortran 90 compiler (/users/PZS0710/zyou/spack/cardinal/lib/spack/env/oneapi/ifx   -Wl,-rpath,/apps/spack/0.21/cardinal/linux-rhel9-sapphirerapids/intel-oneapi-compilers/gcc/11.3.1/2024.1.0-utk57mo/compiler/2024.1/lib ) is a cross-compiler... yes

When I used the oneAPI 2023 compiler from Spack or the oneAPI 2024 compiler directly from the module, the compiler was not identified as a cross-compiler, and I had no issues building MVAPICH 3.0.

Has anyone else encountered the same issue? Any comments or suggestions are welcome.

Thank you,
ZQ



_______________________________________________
Mvapich mailing list
Mvapich at lists.osu.edu<mailto:Mvapich at lists.osu.edu>
https://lists.osu.edu/mailman/listinfo/mvapich


--
Paul H. Hargrove <PHHargrove at lbl.gov<mailto:PHHargrove at lbl.gov>>
Pronouns: he, him, his
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department
Lawrence Berkeley National Laboratory
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich/attachments/20240426/b216b911/attachment-0003.html>


More information about the Mvapich mailing list