<div dir="ltr">I'm trying to cross-compile MPICH for RISC-V with<div><br>CROSS_F77_TRUE_VALUE=1 CROSS_F77_FALSE_VALUE=0 CROSS_F77_SIZEOF_INTEGER=4 ../configure --host=riscv64-linux-gnu --prefix=/tmp/riscv/mpich CC=riscv64-linux-gnu-gcc-9 CXX=riscv64-linux-gnu-g++-9 FC=riscv64-linux-gnu-gfortran-9 --with-device=ch4:ofi</div><div><br></div><div>This results in the following error, which I cannot interpret.</div><div><br>checking for size of Fortran type integer... 4<br>checking for size of Fortran type real... 0<br>checking for size of Fortran type double precision... 0<br>checking whether integer*1 is supported... yes<br>checking whether integer*2 is supported... yes<br>checking whether integer*4 is supported... yes<br>checking whether integer*8 is supported... yes<br>checking whether integer*16 is supported... yes<br>checking whether real*4 is supported... yes<br>checking whether real*8 is supported... yes<br>checking whether real*16 is supported... yes<br>configure: WARNING: Unable to determine size of a DOUBLE PRECISION type; using 8<br>checking for C type matching Fortran real... unavailable<br>checking for C type matching Fortran double... unavailable<br>configure: WARNING: Unable to determine size of a DOUBLE PRECISION type; using 8<br>checking for C type matching Fortran integer... int<br>checking for values of Fortran logicals... True is 1 and False is 0<br><b><font color="#ff0000">configure: error: '' is empty</font></b></div><div><br></div><div>Thanks,</div><div><br></div><div>Jeff</div><div><br><div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div></div></div></div>