[Mvapich] Error Encountered in MVAPICH 3.0 Configuration with oneAPI 2024 in Spack 0.21
Paul H. Hargrove
phhargrove at lbl.gov
Wed Apr 24 23:13:52 EDT 2024
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> 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
> https://lists.osu.edu/mailman/listinfo/mvapich
>
--
Paul H. Hargrove <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/20240424/53098904/attachment-0003.html>
More information about the Mvapich
mailing list