[Mvapich] Error Encountered in MVAPICH 3.0 Configuration with oneAPI 2024 in Spack 0.21
You, Zhi-Qiang
zyou at osc.edu
Wed Apr 24 21:34:06 EDT 2024
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/attachments/20240425/5c6f2a45/attachment-0003.html>
More information about the Mvapich
mailing list