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

Honggang LI honli at redhat.com
Tue Feb 2 23:07:50 EST 2021


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)




More information about the Mvapich-discuss mailing list