Buffer overflow detected for int_explorer during make for siesta-4.1-b4

Asked by Shreeja Das

Hi all,

I get "*** buffer overflow detected ***: ./int_explorer terminated" while trying to make siesta in my system. The full output after invoking make is as follows:

Compilation architecture to be used: unknown
If this is not what you want, create the right
arch.make file using the models in Src/Sys

Hit ^C to abort...

==> Incorporating information about present compilation (compiler and flags)
make "FPPFLAGS=-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT" compinfo.o
make[1]: Entering directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj'
mpifort -c -O0 -g -check bounds -traceback -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT compinfo.F90
make[1]: Leaving directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj'

make[1]: Entering directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/MPI'
mpifort -c -O0 -g -check bounds -traceback -I/opt/openmpi-3.0.0-INTEL/include/ /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/MPI/mpi__include.f90
if [ -z "4 8" ] ; then make kind_explorer ; fi
make int_explorer
make[2]: Entering directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/MPI'
mpifort -c -O0 -g -check bounds -traceback -I/opt/openmpi-3.0.0-INTEL/include/ /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/MPI/int_explorer.f90
mpifort -O0 -g -check bounds -traceback -o int_explorer int_explorer.o
make[2]: Leaving directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/MPI'
sh /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/MPI/generate.sh "4 8"
 ===> Generating module files from templates...
*** buffer overflow detected ***: ./int_explorer terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f8caafc87e5]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f8cab06a15c]
/lib/x86_64-linux-gnu/libc.so.6(+0x117160)[0x7f8cab068160]
/lib/x86_64-linux-gnu/libc.so.6(+0x1166c9)[0x7f8cab0676c9]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0x80)[0x7f8caafcc6b0]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xc90)[0x7f8caaf9ee00]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7f8cab067754]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7f8cab0676ad]
./int_explorer(for__compute_filename+0x1468)[0x451628]
./int_explorer(for__open_proc+0xc9)[0x452239]
./int_explorer(for__open_default+0x460)[0x43f380]
./int_explorer(for_write_seq_lis+0x5bd)[0x4132fd]
./int_explorer[0x40841d]
./int_explorer[0x40836e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f8caaf71830]
./int_explorer[0x408269]
======= Memory map: ========
00400000-004bf000 r-xp 00000000 08:07 4734478 /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/MPI/int_explorer
006be000-006c2000 rw-p 000be000 08:07 4734478 /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/MPI/int_explorer
006c2000-0070a000 rw-p 00000000 00:00 0
00e90000-00eb1000 rw-p 00000000 00:00 0 [heap]
7f8ca8171000-7f8ca82d3000 r-xp 00000000 08:01 2505578 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libirng.so
7f8ca82d3000-7f8ca84d2000 ---p 00162000 08:01 2505578 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libirng.so
7f8ca84d2000-7f8ca84d3000 r--p 00161000 08:01 2505578 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libirng.so
7f8ca84d3000-7f8ca84f8000 rw-p 00162000 08:01 2505578 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libirng.so
7f8ca84f8000-7f8ca91d3000 r-xp 00000000 08:01 2505586 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libsvml.so
7f8ca91d3000-7f8ca93d2000 ---p 00cdb000 08:01 2505586 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libsvml.so
7f8ca93d2000-7f8ca9409000 r--p 00cda000 08:01 2505586 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libsvml.so
7f8ca9409000-7f8ca940e000 rw-p 00d11000 08:01 2505586 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libsvml.so
7f8ca940e000-7f8ca9475000 r-xp 00000000 08:01 2505572 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libintlc.so.5
7f8ca9475000-7f8ca9675000 ---p 00067000 08:01 2505572 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libintlc.so.5
7f8ca9675000-7f8ca9676000 r--p 00067000 08:01 2505572 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libintlc.so.5
7f8ca9676000-7f8ca9677000 rw-p 00068000 08:01 2505572 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libintlc.so.5
7f8ca9677000-7f8ca9678000 rw-p 00000000 00:00 0
7f8ca9678000-7f8ca990a000 r-xp 00000000 08:01 2505570 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libimf.so
7f8ca990a000-7f8ca9b09000 ---p 00292000 08:01 2505570 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libimf.so
7f8ca9b09000-7f8ca9b0f000 r--p 00291000 08:01 2505570 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libimf.so
7f8ca9b0f000-7f8ca9b64000 rw-p 00297000 08:01 2505570 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libimf.so
7f8ca9b64000-7f8ca9ca3000 r-xp 00000000 08:01 2508464 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifcoremt.so.5
7f8ca9ca3000-7f8ca9ea3000 ---p 0013f000 08:01 2508464 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifcoremt.so.5
7f8ca9ea3000-7f8ca9ea6000 r--p 0013f000 08:01 2508464 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifcoremt.so.5
7f8ca9ea6000-7f8ca9ea9000 rw-p 00142000 08:01 2508464 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifcoremt.so.5
7f8ca9ea9000-7f8ca9ef2000 rw-p 00000000 00:00 0
7f8ca9ef2000-7f8ca9f18000 r-xp 00000000 08:01 2508468 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifport.so.5
7f8ca9f18000-7f8caa118000 ---p 00026000 08:01 2508468 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifport.so.5
7f8caa118000-7f8caa119000 r--p 00026000 08:01 2508468 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifport.so.5
7f8caa119000-7f8caa11b000 rw-p 00027000 08:01 2508468 /opt/intel/compilers_and_libraries_2017.0.098/linux/compiler/lib/intel64_lin/libifport.so.5
7f8caa11b000-7f8caa121000 rw-p 00000000 00:00 0
7f8caa121000-7f8caa123000 r-xp 00000000 08:01 1853826 /lib/x86_64-linux-gnu/libutil-2.23.so
7f8caa123000-7f8caa322000 ---p 00002000 08:01 1853826 /lib/x86_64-linux-gnu/libutil-2.23.so
7f8caa322000-7f8caa323000 r--p 00001000 08:01 1853826 /lib/x86_64-linux-gnu/libutil-2.23.so
7f8caa323000-7f8caa324000 rw-p 00002000 08:01 1853826 /lib/x86_64-linux-gnu/libutil-2.23.so
7f8caa324000-7f8caa32b000 r-xp 00000000 08:01 1853807 /lib/x86_64-linux-gnu/librt-2.23.so
7f8caa32b000-7f8caa52a000 ---p 00007000 08:01 1853807 /lib/x86_64-linux-gnu/librt-2.23.so
7f8caa52a000-7f8caa52b000 r--p 00006000 08:01 1853807 /lib/x86_64-linux-gnu/librt-2.23.so
7f8caa52b000-7f8caa52c000 rw-p 00007000 08:01 1853807 /lib/x86_64-linux-gnu/librt-2.23.so
7f8caa52c000-7f8caa536000 r-xp 00000000 08:01 3941810 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
7f8caa536000-7f8caa735000 ---p 0000a000 08:01 3941810 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
7f8caa735000-7f8caa736000 r--p 00009000 08:01 3941810 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
7f8caa736000-7f8caa737000 rw-p 0000a000 08:01 3941810 /usr/lib/x86_64-linux-gnu/libnuma.so.1.0.0
7f8caa737000-7f8caa85c000 r-xp 00000000 08:01 418164 /opt/openmpi-3.0.0-INTEL/lib/libopen-pal.so.40.0.0
7f8caa85c000-7f8caaa5b000 ---p 00125000 08:01 418164 /opt/openmpi-3.0.0-INTEL/lib/libopen-pal.so.40.0.0
7f8caaa5b000-7f8caaa64000 rw-p 00124000 08:01 418164 /opt/openmpi-3.0.0-INTEL/lib/libopen-pal.so.40.0.0
7f8caaa64000-7f8caaa6b000 rw-p 00000000 00:00 0
7f8caaa6b000-7f8caab35000 r-xp 00000000 08:01 418272 /opt/openmpi-3.0.0-INTEL/lib/libopen-rte.so.40.0.0
7f8caab35000-7f8caad34000 ---p 000ca000 08:01 418272 /opt/openmpi-3.0.0-INTEL/lib/libopen-rte.so.40.0.0
7f8caad34000-7f8caad39000 rw-p 000c9000 08:01 418272 /opt/openmpi-3.0.0-INTEL/lib/libopen-rte.so.40.0.0
7f8caad39000-7f8caad3b000 rw-p 00000000 00:00 0
7f8caad3b000-7f8caad51000 r-xp 00000000 08:01 1839802 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8caad51000-7f8caaf50000 ---p 00016000 08:01 1839802 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8caaf50000-7f8caaf51000 rw-p 00015000 08:01 1839802 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f8caaf51000-7f8cab111000 r-xp 00000000 08:01 1853824 /lib/x86_64-linux-gnu/libc-2.23.so
7f8cab111000-7f8cab311000 ---p 001c0000 08:01 1853824 /lib/x86_64-linux-gnu/libc-2.23.so
7f8cab311000-7f8cab315000 r--p 001c0000 08:01 1853824 /lib/x86_64-linux-gnu/libc-2.23.so
7f8cab315000-7f8cab317000 rw-p 001c4000 08:01 1853824 /lib/x86_64-linux-gnu/libc-2.23.so
7f8cab317000-7f8cab31b000 rw-p 00000000 00:00 0
7f8cab31b000-7f8cab31e000 r-xp 00000000 08:01 1853809 /lib/x86_64-linux-gnu/libdl-2.23.so
7f8cab31e000-7f8cab51d000 ---p 00003000 08:01 1853809 /lib/x86_64-linux-gnu/libdl-2.23.so
7f8cab51d000-7f8cab51e000 r--p 00002000 08:01 1853809 /lib/x86_64-linux-gnu/libdl-2.23.so
7f8cab51e000-7f8cab51f000 rw-p 00003000 08:01 1853809 /lib/x86_64-linux-gnu/libdl-2.23.so
7f8cab51f000-7f8cab537000 r-xp 00000000 08:01 1853811 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f8cab537000-7f8cab736000 ---p 00018000 08:01 1853811 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f8cab736000-7f8cab737000 r--p 00017000 08:01 1853811 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f8cab737000-7f8cab738000 rw-p 00018000 08:01 1853811 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f8cab738000-7f8cab73c000 rw-p 00000000 00:00 0
7f8cab73c000-7f8cab844000 r-xp 00000000 08:01 1853827 /lib/x86_64-linux-gnu/libm-2.23.so
7f8cab844000-7f8caba43000 ---p 00108000 08:01 1853827 /lib/x86_64-linux-gnu/libm-2.23.so
7f8caba43000-7f8caba44000 r--p 00107000 08:01 1853827 /lib/x86_64-linux-gnu/libm-2.23.so
7f8caba44000-7f8caba45000 rw-p 00108000 08:01 1853827 /lib/x86_64-linux-gnu/libm-2.23.so
7f8caba45000-7f8cabb5b000 r-xp 00000000 08:01 418469 /opt/openmpi-3.0.0-INTEL/lib/libmpi.so.40.0.0
7f8cabb5b000-7f8cabd5a000 ---p 00116000 08:01 418469 /opt/openmpi-3.0.0-INTEL/lib/libmpi.so.40.0.0
7f8cabd5a000-7f8cabd6d000 rw-p 00115000 08:01 418469 /opt/openmpi-3.0.0-INTEL/lib/libmpi.so.40.0.0
7f8cabd6d000-7f8cabd7e000 rw-p 00000000 00:00 0
7f8cabd7e000-7f8cabde4000 r-xp 00000000 08:01 418892 /opt/openmpi-3.0.0-INTEL/lib/libmpi_mpifh.so.40.0.0
7f8cabde4000-7f8cabfe3000 ---p 00066000 08:01 418892 /opt/openmpi-3.0.0-INTEL/lib/libmpi_mpifh.so.40.0.0
7f8cabfe3000-7f8cabfe5000 rw-p 00065000 08:01 418892 /opt/openmpi-3.0.0-INTEL/lib/libmpi_mpifh.so.40.0.0
7f8cabfe5000-7f8cabfee000 r-xp 00000000 08:01 418896 /opt/openmpi-3.0.0-INTEL/lib/libmpi_usempi_ignore_tkr.so.40.0.0
7f8cabfee000-7f8cac1ed000 ---p 00009000 08:01 418896 /opt/openmpi-3.0.0-INTEL/lib/libmpi_usempi_ignore_tkr.so.40.0.0
7f8cac1ed000-7f8cac1ee000 rw-p 00008000 08:01 418896 /opt/openmpi-3.0.0-INTEL/lib/libmpi_usempi_ignore_tkr.so.40.0.0
7f8cac1ee000-7f8cac21d000 r-xp 00000000 08:01 418906 /opt/openmpi-3.0.0-INTEL/lib/libmpi_usempif08.so.40.0.0
7f8cac21d000-7f8cac41c000 ---p 0002f000 08:01 418906 /opt/openmpi-3.0.0-INTEL/lib/libmpi_usempif08.so.40.0.0
7f8cac41c000-7f8cac41e000 rw-p 0002e000 08:01 418906 /opt/openmpi-3.0.0-INTEL/lib/libmpi_usempif08.so.40.0.0
7f8cac41e000-7f8cac444000 r-xp 00000000 08:01 1853810 /lib/x86_64-linux-gnu/ld-2.23.so
7f8cac60e000-7f8cac618000 rw-p 00000000 00:00 0
7f8cac640000-7f8cac643000 rw-p 00000000 00:00 0
7f8cac643000-7f8cac644000 r--p 00025000 08:01 1853810 /lib/x86_64-linux-gnu/ld-2.23.so
7f8cac644000-7f8cac645000 rw-p 00026000 08:01 1853810 /lib/x86_64-linux-gnu/ld-2.23.so
7f8cac645000-7f8cac646000 rw-p 00000000 00:00 0
7ffe2ac9b000-7ffe2acbd000 rw-p 00000000 00:00 0 [stack]
7ffe2ad96000-7ffe2ad99000 r--p 00000000 00:00 0 [vvar]
7ffe2ad99000-7ffe2ad9b000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
forrtl: error (76): Abort trap signal
Image PC Routine Line Source
int_explorer 0000000000484C31 Unknown Unknown Unknown
int_explorer 0000000000482D6B Unknown Unknown Unknown
int_explorer 000000000044FF54 Unknown Unknown Unknown
int_explorer 000000000044FD66 Unknown Unknown Unknown
int_explorer 000000000042F857 Unknown Unknown Unknown
int_explorer 0000000000408C0E Unknown Unknown Unknown
libpthread-2.23.s 00007F8CAB530390 Unknown Unknown Unknown
libc-2.23.so 00007F8CAAF86428 gsignal Unknown Unknown
libc-2.23.so 00007F8CAAF8802A abort Unknown Unknown
libc-2.23.so 00007F8CAAFC87EA Unknown Unknown Unknown
libc-2.23.so 00007F8CAB06A15C __fortify_fail Unknown Unknown
libc-2.23.so 00007F8CAB068160 Unknown Unknown Unknown
libc-2.23.so 00007F8CAB0676C9 Unknown Unknown Unknown
libc-2.23.so 00007F8CAAFCC6B0 _IO_default_xsput Unknown Unknown
libc-2.23.so 00007F8CAAF9EE00 _IO_vfprintf Unknown Unknown
libc-2.23.so 00007F8CAB067754 __vsprintf_chk Unknown Unknown
libc-2.23.so 00007F8CAB0676AD __sprintf_chk Unknown Unknown
int_explorer 0000000000451628 Unknown Unknown Unknown
int_explorer 0000000000452239 Unknown Unknown Unknown
int_explorer 000000000043F380 Unknown Unknown Unknown
int_explorer 00000000004132FD Unknown Unknown Unknown
int_explorer 000000000040841D MAIN__ 20 int_explorer.f90
int_explorer 000000000040836E Unknown Unknown Unknown
libc-2.23.so 00007F8CAAF71830 __libc_start_main Unknown Unknown
int_explorer 0000000000408269 Unknown Unknown Unknown
Aborted (core dumped)
4 8
mpifort -c -O0 -g -check bounds -traceback -I/opt/openmpi-3.0.0-INTEL/include/ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/MPI/timer_mpi.F90
mpifort -c -O0 -g -check bounds -traceback -I/opt/openmpi-3.0.0-INTEL/include/ Interfaces.f90
mpifort -c -O0 -g -check bounds -traceback -I/opt/openmpi-3.0.0-INTEL/include/ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/MPI/mpi_interfaces.F
mpifort -c -O0 -g -check bounds -traceback -I/opt/openmpi-3.0.0-INTEL/include/ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/MPI/mpi_siesta.F90
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libmpi_f90.a
make[1]: Leaving directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/MPI'
(cd fdf ; make -j 1 "VPATH=/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf" \
            "FPPFLAGS=-DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT" \
            "FFLAGS=-O0 -g -check bounds -traceback" module )
make[1]: Entering directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/fdf'
In fdf, INCFLAGS is: -I/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf -I../
mpifort -c -O0 -g -check bounds -traceback -I/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf -I../ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/iso_fortran_env.F90
mpifort -c -O0 -g -check bounds -traceback -I/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf -I../ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/prec.F90
mpifort -c -O0 -g -check bounds -traceback -I/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf -I../ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/utils.F90
mpifort -c -O0 -g -check bounds -traceback -I/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf -I../ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/io_fdf.F90
mpifort -c -O0 -g -check bounds -traceback -I/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf -I../ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/parse.F90
mpifort -c -O0 -g -check bounds -traceback -I/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf -I../ -DMPI -DFC_HAVE_FLUSH -DFC_HAVE_ABORT /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/fdf.F90
/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/fdf.F90(749): error #6285: There is no matching specific subroutine for this generic subroutine call. [MPI_BCAST]
      call MPI_Bcast(nlines, 1, &
-----------^
/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/fdf.F90(3276): error #6285: There is no matching specific subroutine for this generic subroutine call. [MPI_BCAST]
      call MPI_Bcast(file_in%nlines, 1, &
-----------^
/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/fdf.F90(3315): error #6285: There is no matching specific subroutine for this generic subroutine call. [MPI_BCAST]
      call MPI_Bcast(nlines, 1, &
-----------^
compilation aborted for /home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Src/fdf/fdf.F90 (code 1)
../arch.make:69: recipe for target 'fdf.o' failed
make[1]: *** [fdf.o] Error 1
make[1]: Leaving directory '/home/shreeja/build/siesta_tbtrans_install/siesta-4.1-b4/Obj/fdf'
Makefile:279: recipe for target 'libfdf.a' failed
make: *** [libfdf.a] Error 2

I am using Intel Parallel Studio XE 2017.0.035 compilers and openMPI (compiled on the Intel compilers: ifort and icc both v17.0.0 20160721)

For Siesta version: Same error for both 4.1-b4 and 4.1-b3
Platform: Ubuntu 16.04.6 LTS

I tried making the same arch.make in a different system (Ubuntu 14.04.6 LTS, same Intel compiler versions) and it works fine (i.e. siesta executable is generated successfully without errors). The only difference that I could notice was the glibc versions in both systems. My system works on libc-2.23.so whereas this different system has libc-2.19.so. I'm not sure if this really matters.

I tried executing int_explorer created in Obj/MPI directory and it executes without error with the following output:

           4 8
 int def: 4 8-byte int kind: 8
 Your computer's default precision int kind is: 4

So, I don't understand why it fails in generate.sh only during the make. It would be really great if someone pointed me towards what might be the solution.

I am not very conversant with debugging compilation errors, so apologies if I missed something. I am attaching the arch.make file I use.

Question information

Language:
English Edit question
Status:
Solved
For:
Siesta Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Shreeja Das (shreeja7) said :
#1

Sorry for the confusion!

After some searching, this seems to be a known bug in the ifort compiler version I am using (ifort (IFORT) 17.0.0 20160721) as mentioned in the Intel forums: https://software.intel.com/en-us/forums/intel-fortran-compiler-for-linux-and-mac-os-x/topic/622937

My next step is to update my ifort to the latest version and try again.

Thanks.

Revision history for this message
Nick Papior (nickpapior) said :
#2

Ok, great! :) Thanks for returning with answer!

Revision history for this message
Nick Papior (nickpapior) said :
#3

as per Q request