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

Lieber, Matt lieber.31 at osu.edu
Thu Apr 25 12:33:16 EDT 2024


Hello ZQ,
I am not able to reproduce this on cardinal.  I was able to install mvapich through spack just fine with the spack installed versions of the oneapi compilers.  The compiler versions I tested are 2024.0.2 and 2024.0.1 It looks like you were trying to use 2024.1 but I do not see that in spack.  It may help to look at the compilers.yaml file to see if any flags are different or missing in it for this 2024.1.

-Matt
________________________________
From: Mvapich-discuss <mvapich-discuss-bounces+lieber.31=osu.edu at lists.osu.edu> on behalf of You, Zhi-Qiang via Mvapich-discuss <mvapich-discuss at lists.osu.edu>
Sent: Wednesday, April 24, 2024 9:38 PM
To: mvapich-discuss at lists.osu.edu <mvapich-discuss at lists.osu.edu>
Subject: [Mvapich-discuss] Error Encountered in MVAPICH 3.0 Configuration with oneAPI 2024 in Spack 0.21


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








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20240425/f79ef11c/attachment-0002.html>


More information about the Mvapich-discuss mailing list