[FLASH-USERS] problem compiling FLASH4.8
Tommaso Vinci
tommaso.vinci at polytechnique.edu
Tue Jul 2 11:49:07 EDT 2024
Dear all,
I’m struggling compiling the latest version. I’m starting from a simple ./setup Sedov -auto
When it comes to compile Grid_init.F90, I get a bunch of errors like this:
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]
SUBROUTINE MPI_Sizeof_character_scalar(x, size, ierror)
————————^
I’m compiling using
icc/20.4.304
openmpi/4.1.1-ib-icc
hdf5/1.10.5-icc-omp4.1.1
(and hypre built with the same compilers)
Do someone has an idea about the possible mistake I made?
After googling a bit, could it be this?
https://community.intel.com/t5/Intel-Fortran-Compiler/COMPILER-BUG-incorrect-quot-Ambiguous-generic-interface-quot/td-p/1365383
Thanks a lot for any advice!
I used to compile without problems FLASH4.6.2 and FLASH4.7
below the complete log:
/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
/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
/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]
SUBROUTINE MPI_Sizeof_character_scalar(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r1(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r2(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r3(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r4(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r5(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r6(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r7(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r8(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r9(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r10(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r11(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r12(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r13(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r14(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_character_r15(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_scalar(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r1(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r2(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r3(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r4(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r5(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r6(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r7(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r8(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r9(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r10(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r11(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r12(x, size, ierror)
-----------------^
/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]
SUBROUTINE MPI_Sizeof_complex128_r13(x, size, ierror)
-----------------^
/tmp/ifortWloOLT.i90(8625): catastrophic error: Too many errors, exiting
compilation aborted for Grid_init.F90 (code 1)
make: *** [Grid_init.o] Error 1
—
Tommaso Vinci
LULI
Ecole Polytechnique
tommaso.vinci at polytechnique.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20240702/d952b447/attachment-0001.htm>
More information about the flash-users
mailing list