[Mvapich-discuss] can't build with gfortran 11

Alexander Melnikov alex.i.melnikov at gmail.com
Tue Feb 2 23:42:28 EST 2021


Try export FFLAGS="-w -fallow-argument-mismatch"


ср, 3 февр. 2021 г. в 09:08, Honggang LI via Mvapich-discuss <
mvapich-discuss at lists.osu.edu>:

> hi,
>
> ~]$ gfortran -v
> Using built-in specs.
> COLLECT_GCC=gfortran
> COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/11/lto-wrapper
> OFFLOAD_TARGET_NAMES=nvptx-none
> OFFLOAD_TARGET_DEFAULT=1
> Target: x86_64-redhat-linux
> Configured with: ../configure --enable-bootstrap
> --enable-languages=c,c++,fortran,lto --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --with-bugurl=
> https://urldefense.com/v3/__http://bugzilla.redhat.com/bugzilla__;!!KGKeukY!mWknHBPQXt1IkaXaKpT7kHQGjB8iXUi3aRkskhUlj9xlGP3ckZucCCAf-Pj0kkwFOsh1p7zIQg$
> --enable-shared --enable-threads=posix --enable-checking=release
> --enable-multilib --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-gnu-unique-object
> --enable-linker-build-id --with-gcc-major-version-only
> --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array
> --without-isl --enable-offload-targets=nvptx-none --without-cuda-driver
> --enable-gnu-indirect-function --enable-cet --with-tune=generic
> --with-arch_64=x86-64-v2 --with-arch_32=x86-64 --build=x86_64-redhat-linux
> Thread model: posix
> Supported LTO compression algorithms: zlib zstd
> gcc version 11.0.0 20210123 (Red Hat 11.0.0-0) (GCC)
>
>
>  $ tar -zxf mvapich2-2.3.5.tar.gz
>  $ cd mvapich2-2.3.5/
>  $ ./configure
>
> checking for include directory flag for Fortran... -I
> checking for Fortran 77 flag for library directories... -L
> checking whether Fortran 77 compiler processes .F files with C
> preprocessor... yes
> checking whether gfortran allows mismatched arguments... no
> configure: error: The Fortran compiler gfortran will not compile files
> that call
> the same routine with arguments of different types.
> error: Bad exit status from /var/tmp/rpm-tmp.WX3UGf (%build)
>
> _______________________________________________
> Mvapich-discuss mailing list
> Mvapich-discuss at lists.osu.edu
> https://lists.osu.edu/mailman/listinfo/mvapich-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/mvapich-discuss/attachments/20210203/b3385463/attachment-0022.html>


More information about the Mvapich-discuss mailing list