4 Replies Latest reply on May 22, 2012 3:58 AM by yurtesen

    opencc INTERNAL ERROR ....../be died due to signal 11

    yurtesen

      I am trying to build ATLAS library using opencc... but strangely it is failing... Did anybody succeed in compiling ATLAS with opencc ever? or what is wrong? (actually, I couldnt compile anything but very simple codes with OpenCC os far, it is quickly getting annoying.. )

       

      # uname -a

      Linux asg2 2.6.32-220.13.1.el6.x86_64 #1 SMP Tue Apr 17 15:16:22 CDT 2012 x86_64 x86_64 x86_64 GNU/Linux

      # opencc -v

      Open64 Compiler Suite: Version 4.5.1

      Built on: 2011-12-16 10:00:56 -0800

      Thread model: posix

      GNU gcc version 4.2.0 (Open64 4.5.1 driver)

       

       

      ERROR message part:

      ...

      ...

        Read in L1 Cache size as = 32KB.

      make[5]: Entering directory `/home/XXX/temp/ATLASint/Linux/tune/sysinfo'

      make RunMulAdd pre=s

      make[6]: Entering directory `/home/XXX/temp/ATLASint/Linux/tune/sysinfo'

      opencc -DL2SIZE=4194304 -I/home/XXX/temp/ATLASint/Linux/include -I/home/XXX/temp/ATLASint/Linux/..//include -I/home/XXX/temp/ATLASint/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -m64 -O3 -march=auto  -o xmasrch /home/XXX/temp/ATLASint/Linux/..//tune/sysinfo/masrch.c

      ./xmasrch -p s -o res/sMULADD

      opencc INTERNAL ERROR: /export/modules/compilers/amd/x86_open64/4.5.1/lib/gcc-lib/x86_64-open64-linux/4.5.1/be died due to signal 11

      make[7]: *** [xsma] Error 1

      xmasrch: /home/XXX/temp/ATLASint/Linux/..//tune/sysinfo/masrch.c:108: matime: Assertion `!system(ln)' failed.

      Finding how many mflops required to get .025 second timings:

      make[6]: *** [RunMulAdd] Aborted

      make[6]: Leaving directory `/home/XXX/temp/ATLASint/Linux/tune/sysinfo'

      make[5]: *** [res/sMULADD] Error 2

      make[5]: Leaving directory `/home/XXX/temp/ATLASint/Linux/tune/sysinfo'

      xsyssum: /home/XXX/temp/ATLASint/Linux/..//tune/sysinfo/GetSysSum.c:69: getfpinfo0: Assertion `system(fnam) == 0' failed.

      make[4]: *** [/home/XXX/temp/ATLASint/Linux/include/atlas_ssysinfo.h] Aborted

      make[4]: Leaving directory `/home/XXX/temp/ATLASint/Linux/tune/sysinfo'

      make[3]: *** [/home/XXX/temp/ATLASint/Linux/include/atlas_ssysinfo.h] Error 2

      make[3]: Leaving directory `/home/XXX/temp/ATLASint/Linux/src/auxil'

      make[2]: *** [IStage1] Error 2

      make[2]: Leaving directory `/home/XXX/temp/ATLASint/Linux/bin'

      ERROR 621 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR DETAILS.

      ...

      ...

        • Re: opencc INTERNAL ERROR ....../be died due to signal 11
          santosh.zanjurne

          I have filed a bug report for the Assertion failure in expand.cxx on line 7336 (Exp_Intrinsic_Op: unsupported intrinsic ((null))) while compiling ATL_ctrsmKL_rk2.c.  Will update you once its fixed.

           

          The error message you posted is not clear; Can you run serial make and verify if this is the same issue?

           

          Regards,

          Santosh

            • Re: opencc INTERNAL ERROR ....../be died due to signal 11
              yurtesen

              I am trying to re-run configure/make. I will update the thread after trying few different compilation options (perhaps it might be useful if I can come up with which compiler switch is causing the problem.). But it might take a few days there are several combinations to try

                • Re: opencc INTERNAL ERROR ....../be died due to signal 11
                  yurtesen

                  OK. It appears -O3 is causing the problem while -O2 seems to work ( at least passes this stage ). So, All I did was download ATLAS library, open it to a folder, create a directory in it then get in that directory and run configure with following options:

                   

                  ../configure --prefix=/export/modules/devel/ATLAS/3.9.74/amd -C xc opencc -C ic opencc -C if openf90 -C sk opencc -C dk opencc -C sm opencc -C dm opencc -F xc '-O3 -g -lfortran -lffio -lm' -F ic '-O3 -g -lfortran -lffio -lm' -F if '-O3 -g -lfortran -lffio -lm' -F sk '-O3 -g -lfortran -lffio -lm' -F dk '-O3 -g -lfortran -lffio -lm'  -F sm '-O3 -g -lfortran -lffio -lm' -F dm '-O3 -g -lfortran -lffio -lm'

                   

                  The options above fail. If I change all O3's with O2's then compilation seems to pass the problem area. Below is the output with the above configure. I am not running make in parallel, I just issued a simple 'make' after the configure command. (I guess if you have access to a Linux workstation, it would simply take few minutes to replicate the issue, ATLAS is freely downloadable)

                  ...

                  ...

                  make[4]: Entering directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  make[4]: `ATL_cputime.o' is up to date.

                  make[4]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  cp /home/eyurtese/temp/ATLAS/Linux/tune/sysinfo/ATL_cputime.o ATL_cputime.o

                  cp /home/eyurtese/temp/ATLAS/Linux/tune/sysinfo/ATL_walltime.o ATL_walltime.o

                  opencc -o ATL_xerbla.o -c -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  /home/eyurtese/temp/ATLAS/Linux/..//src/auxil/ATL_xerbla.c

                  opencc -o ATL_lcm.o -c -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  /home/eyurtese/temp/ATLAS/Linux/..//src/auxil/ATL_lcm.c

                  cd /home/eyurtese/temp/ATLAS/Linux/tune/sysinfo ; make /home/eyurtese/temp/ATLAS/Linux/include/atlas_ssysinfo.h

                  make[4]: Entering directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  opencc -c -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  /home/eyurtese/temp/ATLAS/Linux/..//tune/sysinfo/GetSysSum.c

                  opencc -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  -o xsyssum GetSysSum.o

                  /home/eyurtese/temp/ATLAS/Linux/tune/sysinfo/xsyssum s /home/eyurtese/temp/ATLAS/Linux/include/atlas_ssysinfo.h

                  make[5]: Entering directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  opencc -c -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  -I./ /home/eyurtese/temp/ATLAS/Linux/..//tune/sysinfo/time.c

                  opencc -c -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  /home/eyurtese/temp/ATLAS/Linux/..//tune/sysinfo/L1CacheSize.c

                  opencc -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  -o xL1 L1CacheSize.o time.o

                  /home/eyurtese/temp/ATLAS/Linux/bin/ATLrun.sh /home/eyurtese/temp/ATLAS/Linux/tune/sysinfo xL1 64

                   

                     Calculating L1 cache size:

                        L1CS=2, time=0.709892 (ignore=0.0e+00)

                        L1CS=4, time=0.703893 (ignore=0.0e+00)

                        L1CS=8, time=0.701894 (ignore=0.0e+00)

                        L1CS=16, time=0.708892 (ignore=0.0e+00)

                        L1CS=32, time=0.741887 (ignore=0.0e+00)

                        L1CS=64, time=1.056839 (ignore=0.0e+00)

                   

                        Confirming result of 32kb:

                        L1CS=2, time=0.701893 (ignore=0.0e+00)

                        L1CS=4, time=0.700893 (ignore=0.0e+00)

                        L1CS=8, time=0.700894 (ignore=0.0e+00)

                        L1CS=16, time=0.707892 (ignore=0.0e+00)

                        L1CS=32, time=0.741887 (ignore=0.0e+00)

                        L1CS=64, time=1.055840 (ignore=0.0e+00)

                   

                        L1CS=2, time=0.700893 (ignore=0.0e+00)

                        L1CS=4, time=0.700894 (ignore=0.0e+00)

                        L1CS=8, time=0.701893 (ignore=0.0e+00)

                        L1CS=16, time=0.706893 (ignore=0.0e+00)

                        L1CS=32, time=0.741887 (ignore=0.0e+00)

                        L1CS=64, time=1.056839 (ignore=0.0e+00)

                   

                  Calculated L1 cache size = 32kb; Correct=1

                  Calculated L1 cache size = 32kb; Correct=1

                  make[5]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                   

                        Read in L1 Cache size as = 32KB.

                  make[5]: Entering directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  make RunMulAdd pre=s

                  make[6]: Entering directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  opencc -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -O3 -g -lfortran -lffio -lm  -o xmasrch /home/eyurtese/temp/ATLAS/Linux/..//tune/sysinfo/masrch.c

                  ./xmasrch -p s -o res/sMULADD

                  opencc INTERNAL ERROR: /export/modules/compilers/amd/x86_open64/4.5.1/lib/gcc-lib/x86_64-open64-linux/4.5.1/be died due to signal 11

                  make[7]: *** [xsma] Error 1

                  xmasrch: /home/eyurtese/temp/ATLAS/Linux/..//tune/sysinfo/masrch.c:108: matime: Assertion `!system(ln)' failed.

                  Finding how many mflops required to get .025 second timings:

                  make[6]: *** [RunMulAdd] Aborted

                  make[6]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  make[5]: *** [res/sMULADD] Error 2

                  make[5]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  xsyssum: /home/eyurtese/temp/ATLAS/Linux/..//tune/sysinfo/GetSysSum.c:69: getfpinfo0: Assertion `system(fnam) == 0' failed.

                  make[4]: *** [/home/eyurtese/temp/ATLAS/Linux/include/atlas_ssysinfo.h] Aborted

                  make[4]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/tune/sysinfo'

                  make[3]: *** [/home/eyurtese/temp/ATLAS/Linux/include/atlas_ssysinfo.h] Error 2

                  make[3]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/src/auxil'

                  make[2]: *** [IStage1] Error 2

                  make[2]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/bin'

                  ERROR 621 DURING CACHESIZE SEARCH!!.  CHECK INSTALL_LOG/Stage1.log FOR DETAILS.

                  make[2]: Entering directory `/home/eyurtese/temp/ATLAS/Linux/bin'

                  cd /home/eyurtese/temp/ATLAS/Linux ; make error_report

                  make[3]: Entering directory `/home/eyurtese/temp/ATLAS/Linux'

                  make -f Make.top error_report

                  make[4]: Entering directory `/home/eyurtese/temp/ATLAS/Linux'

                  uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG

                  opencc -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG

                  Open64 Compiler Suite: Version 4.5.1

                  Built on: 2011-12-16 10:00:56 -0800

                  Thread model: posix

                  GNU gcc version 4.2.0 (Open64 4.5.1 driver)

                  opencc -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG

                  Open64 Compiler Suite: Version 4.5.1

                  Built on: 2011-12-16 10:00:56 -0800

                  Thread model: posix

                  GNU gcc version 4.2.0 (Open64 4.5.1 driver)

                  opencc --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG

                  Open64 Compiler Suite: Version 4.5.1

                  Built on: 2011-12-16 10:00:56 -0800

                  Thread model: posix

                  GNU gcc version 4.2.0 (Open64 4.5.1 driver)

                  tar cf error_Corei164SSE3.tar Make.inc bin/INSTALL_LOG/*

                  gzip --best error_Corei164SSE3.tar

                  mv error_Corei164SSE3.tar.gz error_Corei164SSE3.tgz

                  make[4]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux'

                  make[3]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux'

                  make[2]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux/bin'

                  Error report error_<ARCH>.tgz has been created in your top-level ATLAS

                  directory.  Be sure to include this file in any help request.

                  cat: ../../CONFIG/error.txt: No such file or directory

                  cat: ../../CONFIG/error.txt: No such file or directory

                  make[1]: *** [build] Error 255

                  make[1]: Leaving directory `/home/eyurtese/temp/ATLAS/Linux'

                  make: *** [build] Error 2

                  [root@asg8 Linux]#

                • Re: opencc INTERNAL ERROR ....../be died due to signal 11
                  yurtesen

                  Well, even with O2, it does not compile... It appears bdver1 doe snot support sse3? and if I put -msse3 to command line then it does not find x86intrin.h which does not exist in open64 I guess I will have to wait for the next version...

                   

                  # opencc -o ATL_cctrsmKR_rk2.o -c -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -march=bdver1 -O2 -g -lfortran -lffio -lm  -DSCPLX -DLeft_ /home/eyurtese/temp/ATLAS/Linux/..//src/blas/level3/kernel/ATL_ctrsmKR_rk2.c

                  /home/eyurtese/temp/ATLAS/Linux/..//src/blas/level3/kernel/ATL_ctrsmKR_rk2.c:1:23: error: x86intrin.h: No such file or directory

                  In file included from /home/eyurtese/temp/ATLAS/Linux/..//src/blas/level3/kernel/ATL_ctrsmKR_rk2.c:560:

                  /export/modules/compilers/amd/x86_open64/4.5.1/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/include/pmmintrin.h:34:3: error: #error "SSE3 instruction set not enabled"

                   

                  # opencc -o ATL_cctrsmKR_rk2.o -c -DL2SIZE=4194304 -I/home/eyurtese/temp/ATLAS/Linux/include -I/home/eyurtese/temp/ATLAS/Linux/..//include -I/home/eyurtese/temp/ATLAS/Linux/..//include/contrib -DAdd__ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei1 -DATL_CPUMHZ=2666 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -DATL_NCPU=12 -march=bdver1 -O2 -g -lfortran -lffio -lm  -DSCPLX -DLeft_ /home/eyurtese/temp/ATLAS/Linux/..//src/blas/level3/kernel/ATL_ctrsmKR_rk2.c -msse3

                  /home/eyurtese/temp/ATLAS/Linux/..//src/blas/level3/kernel/ATL_ctrsmKR_rk2.c:1:23: error: x86intrin.h: No such file or directory