<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi Tommaso,<div><br></div><div>Based on the intel community link you shared, this could be a bug in the compiler version you’re using. Hopefully the patch comes out soon. In the meantime, you could use an older version of the intel compilers.</div><div><br></div><div>Best wishes,</div><div>Ryan<br><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Jul 2, 2024, at 8:49 AM, Tommaso Vinci <tommaso.vinci@polytechnique.edu> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">


Dear all, 
<div>I’m struggling compiling the latest version. I’m starting from a simple <font face="Courier New">
./setup Sedov -auto</font> </div>
<div>When it comes to compile <font face="Courier New">Grid_init.F90</font>, I get a bunch of errors like this:</div>
<div><br>
</div>
<div><font face="Courier New"> error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_SCALAR is not distinguishable from this declaration. [MPI_SIZEOF_CHARACTER_SCALAR]<br>
      SUBROUTINE MPI_Sizeof_character_scalar(x, size, ierror)<br>
————————^</font></div>
<div><br>
</div>
<div><br>
</div>
<div>I’m compiling using  </div>
<div><br>
</div>
<div>icc/20.4.304 </div>
<div>openmpi/4.1.1-ib-icc   </div>
<div>hdf5/1.10.5-icc-omp4.1.1</div>
<div><br>
</div>
<div>(and hypre built with the same compilers)</div>
<div><br>
</div>
<div><br>
</div>
<div>Do someone has an idea about the possible mistake I made? </div>
<div>After googling a bit, could it be this? </div>
<div><a href="https://community.intel.com/t5/Intel-Fortran-Compiler/COMPILER-BUG-incorrect-quot-Ambiguous-generic-interface-quot/td-p/1365383">https://community.intel.com/t5/Intel-Fortran-Compiler/COMPILER-BUG-incorrect-quot-Ambiguous-generic-interface-quot/td-p/1365383</a><br>
</div>
<div><br>
</div>
<div>Thanks a lot for any advice!</div>
<div><br>
</div>
<div>I used to compile without problems FLASH4.6.2 and FLASH4.7</div>
<div><br>
</div>
<div>below the complete log:</div>
<div><br>
</div>
<div><br>
</div>
<div><font face="Courier New">/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029//bin/mpif90 -c -g -r8 -i4 -O3 -real_size 64 -diag-disable 10120 -I /opt/exp_soft/vo.llr.in2p3.fr/hdf5/1.10.5/omp-4.1.1/el7/include -DH5_USE_16_API
 -DMAXBLOCKS=1000 -DNXB=8 -DNYB=8 -DNZB=1 -DN_DIM=2 Diffuse_computeDt.F90<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029//bin/mpif90 -c -g -r8 -i4 -O3 -real_size 64 -diag-disable 10120 -I /opt/exp_soft/vo.llr.in2p3.fr/hdf5/1.10.5/omp-4.1.1/el7/include -DH5_USE_16_API -DMAXBLOCKS=1000 -DNXB=8
 -DNYB=8 -DNZB=1 -DN_DIM=2 Grid_init.F90<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(17): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_SCALAR is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_SCALAR]<br>
      SUBROUTINE MPI_Sizeof_character_scalar(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(23): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R1 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R1]<br>
      SUBROUTINE MPI_Sizeof_character_r1(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(29): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R2 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R2]<br>
      SUBROUTINE MPI_Sizeof_character_r2(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(35): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R3 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R3]<br>
      SUBROUTINE MPI_Sizeof_character_r3(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(41): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R4 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R4]<br>
      SUBROUTINE MPI_Sizeof_character_r4(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(47): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R5 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R5]<br>
      SUBROUTINE MPI_Sizeof_character_r5(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(53): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R6 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R6]<br>
      SUBROUTINE MPI_Sizeof_character_r6(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(59): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R7 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R7]<br>
      SUBROUTINE MPI_Sizeof_character_r7(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(65): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R8 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R8]<br>
      SUBROUTINE MPI_Sizeof_character_r8(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(71): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R9 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R9]<br>
      SUBROUTINE MPI_Sizeof_character_r9(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(77): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R10 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R10]<br>
      SUBROUTINE MPI_Sizeof_character_r10(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(83): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R11 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R11]<br>
      SUBROUTINE MPI_Sizeof_character_r11(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(89): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R12 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R12]<br>
      SUBROUTINE MPI_Sizeof_character_r12(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(95): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R13 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R13]<br>
      SUBROUTINE MPI_Sizeof_character_r13(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(101): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R14 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R14]<br>
      SUBROUTINE MPI_Sizeof_character_r14(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(107): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_CHARACTER_R15 is not distinguishable from
 this declaration. [MPI_SIZEOF_CHARACTER_R15]<br>
      SUBROUTINE MPI_Sizeof_character_r15(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(113): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_SCALAR is not distinguishable
 from this declaration. [MPI_SIZEOF_COMPLEX128_SCALAR]<br>
      SUBROUTINE MPI_Sizeof_complex128_scalar(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(120): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R1 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R1]<br>
      SUBROUTINE MPI_Sizeof_complex128_r1(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(127): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R2 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R2]<br>
      SUBROUTINE MPI_Sizeof_complex128_r2(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(134): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R3 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R3]<br>
      SUBROUTINE MPI_Sizeof_complex128_r3(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(141): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R4 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R4]<br>
      SUBROUTINE MPI_Sizeof_complex128_r4(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(148): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R5 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R5]<br>
      SUBROUTINE MPI_Sizeof_complex128_r5(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(155): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R6 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R6]<br>
      SUBROUTINE MPI_Sizeof_complex128_r6(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(162): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R7 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R7]<br>
      SUBROUTINE MPI_Sizeof_complex128_r7(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(169): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R8 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R8]<br>
      SUBROUTINE MPI_Sizeof_complex128_r8(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(176): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R9 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R9]<br>
      SUBROUTINE MPI_Sizeof_complex128_r9(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(183): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R10 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R10]<br>
      SUBROUTINE MPI_Sizeof_complex128_r10(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(190): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R11 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R11]<br>
      SUBROUTINE MPI_Sizeof_complex128_r11(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(197): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R12 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R12]<br>
      SUBROUTINE MPI_Sizeof_complex128_r12(x, size, ierror)<br>
-----------------^<br>
/opt/exp_soft/vo.llr.in2p3.fr/openmpi/4.1.1/el7.torque.2.5.13.ib.icc.noompio.20201029/include/mpif-sizeof.h(204): error #5286: Ambiguous generic interface MPI_SIZEOF: previously declared specific procedure MPI_SIZEOF_COMPLEX128_R13 is not distinguishable from
 this declaration. [MPI_SIZEOF_COMPLEX128_R13]<br>
      SUBROUTINE MPI_Sizeof_complex128_r13(x, size, ierror)<br>
-----------------^<br>
/tmp/ifortWloOLT.i90(8625): catastrophic error: Too many errors, exiting<br>
compilation aborted for Grid_init.F90 (code 1)<br>
make: *** [Grid_init.o] Error 1</font></div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>—<br>
Tommaso Vinci<br>
LULI<br>
Ecole Polytechnique<br>
tommaso.vinci@polytechnique.edu<br>
<br>
<br>
<br>
<br>
<br>
<br>
</div>
<br>
</div>


<span>_______________________________________________</span><br><span>flash-users mailing list</span><br><span>flash-users@flash.rochester.edu</span><br><span></span><br><span>For list info, including unsubscribe:</span><br><span>https://flash.rochester.edu/mailman/listinfo/flash-users</span><br></div></blockquote></div></body></html>