: catastrophic error: **Internal compiler error: internal ab  [SOLVED]

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
weitong
Posts: 26
Joined: Mon Sep 27, 2010 5:16 am

: catastrophic error: **Internal compiler error: internal ab

Post by weitong » Mon Mar 24, 2014 4:14 am

I am building abinit7.6.2, but always get "catastrophic error" when making.
../configure --with-config-file=../config-weitong.ac, This is succussful.
But make gives
": catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for ../../../src/66_wfs/prep_fourwf.F90 (code 1)
make[4]: *** [prep_fourwf.o] error 1"

config-weitong.ac is (with referecne to this post viewtopic.php?f=3&t=2071)

Code: Select all

enable_64bit_flags="yes"
prefix="/usr/local/abinit7.6.2"
CC="mpicc"
CXX="mpicxx"
FC="mpif90"
fcflags_opt_66_wfs ="-O1 -xHost -g -extend-source -vec-report0 -noaltparam -nofpscomp"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr/local/mpich"
with_trio_flavor="netcdf+etsf_io+fox"
with_fft_flavor="fftw3"
with_fft_libs="-L/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_linalg_flavor = "mkl"
with_linalg_libs ="-L/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
enable_fallbacks="yes"
Attachments
config.log
(151.4 KiB) Downloaded 320 times

delaveau
Posts: 17
Joined: Tue May 10, 2011 3:27 pm

Re: : catastrophic error: **Internal compiler error: interna

Post by delaveau » Mon Mar 24, 2014 12:56 pm

May be you don't need to specify fcflags_opt_66_wfs
Try without specfify it and if it doesn't work try with -O0 instead of -O1

weitong
Posts: 26
Joined: Mon Sep 27, 2010 5:16 am

Re: : catastrophic error: **Internal compiler error: interna

Post by weitong » Mon Mar 24, 2014 1:27 pm

Following the recipe in viewtopic.php?f=3&t=2071. By set FCFLAGS="-O1" for 1st time configure and make, no errors appear. Then back to FCFLAGS="-O2", and configure and make again. Everything looks OK.

Code: Select all

enable_64bit_flags="yes"
prefix="/usr/local/abinit7.6.2"
CC="mpicc"
CXX="mpicxx"
FC="mpif90"
FCFLAGS="-O1" # for 1st time, "-O2" fot the 2nd time.
fcflags_opt_66_wfs ="-O1 -xHost -g -extend-source -vec-report0 -noaltparam -nofpscomp"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr/local/mpich"
with_trio_flavor="netcdf+etsf_io+fox"
with_fft_flavor="fftw3"
with_fft_libs="-L/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_linalg_flavor = "mkl"
with_linalg_libs ="-L/opt/intel/composer_xe_2013.3.163/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
enable_fallbacks="yes"


But, when I run ../../tests/runtests.py, there is 2 tests failed:
[v67mbpt][t28] failed: relative error 0.8577 > 0.5
[wannier90][t00] within 1.5 of tolerance (relative error 0.0004138, accepted 0.0004 ).
How can I do with these 2 fails?

Here is the result.

Code: Select all

Test suite completed in 449.78 s (average time for test = 7.55 s, stdev = 16.34 s)
failed: 2, succeeded: 546, passed: 118, skipped: 113, disabled: 0

Suite        failed  passed  succeeded  skipped  disabled  run_etime  tot_etime
atompaw           0       1          1        0         0     100.42     100.69
bigdft            0       4         19        0         0     538.53     539.76
built-in          0       0          7        0         0       5.06       5.07
etsf_io           0       0          7        0         0      14.29      14.65
fast              0       0         11        0         0      30.18      31.58
fox               0       1          1        0         0      59.45      59.57
gpu               0       0          0        4         0       0.00       0.00
libxc             0       6         15        0         0     174.72     178.31
mpiio             0       0          1       13         0       2.04       2.10
paral             0       6         15       64         0     337.32     341.70
seq               0       0          0       18         0       0.00       0.00
tutoparal         0       0          1        1         0       0.33       0.34
tutoplugs         0       4          0        0         0      16.41      16.70
tutorespfn        0       8         14        0         0     816.48     825.52
tutorial          0       7         41        0         0     637.60     646.13
unitary           0       1         16       13         0      31.68      32.03
v1                0       1         75        0         0     168.50     176.14
v2                0      11         69        0         0     227.63     237.29
v3                0      11         71        0         0     321.69     339.11
v4                0      14         49        0         0     364.19     378.76
v5                0      15         59        0         0     760.96     785.74
v6                0      12         48        0         0     561.73     579.73
v67mbpt           1       4         12        0         0     222.55     226.37
v7                0       7         13        0         0     442.94     448.97
vdwxc             0       0          1        0         0      10.86      10.94
wannier90         1       5          0        0         0      34.05      34.54

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: : catastrophic error: **Internal compiler error: interna

Post by jbeuken » Mon Mar 24, 2014 9:50 pm

Hi,

my recipe with intel 13 is :

1) use 13.1.3 and mkl 11.0 (with this version, no problem with 66_wfs )
( all tests pass and/or succeed )

2) my ac file :

Code: Select all

enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr/local/openmpi_intel13"
with_trio_flavor="netcdf+etsf_io+fox"
with_fft_flavor="fftw3"
with_fft_libs="-L/opt/intel/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_linalg_flavor="mkl"
with_linalg_libs="-L/opt/intel/mkl/lib/intel64 -Wl,--start-group  -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
enable_gw_dpc="yes"


concerning the failed tests :

[v67mbpt][t28] failed: relative error 0.8577 > 0.5
[wannier90][t00] within 1.5 of tolerance (relative error 0.0004138, accepted 0.0004 ).


"within 1.5 of tolerance" -> not considered as a error… ;)
"[v67mbpt][t28]" -> :roll:

jmb
------
Jean-Michel Beuken
Computer Scientist

weitong
Posts: 26
Joined: Mon Sep 27, 2010 5:16 am

Re: : catastrophic error: **Internal compiler error: interna

Post by weitong » Tue Mar 25, 2014 7:40 am

Thanks.
I installed Intel® Fortran and C Composer XE 2013 for Linux, Update 3 (2013.3.163), they include Intel® Math Kernel Library(Intel® MKL) 11_0 for Linux, Update 2 (11.0.2.146).

So what does it mean "[v67mbpt][t28] failed: relative error 0.8577 > 0.5"?

weitong
Posts: 26
Joined: Mon Sep 27, 2010 5:16 am

Re: : catastrophic error: **Internal compiler error: interna

Post by weitong » Tue Mar 25, 2014 10:02 am

I tried your recipe. It seems it is necessary to set FCFLAGS="-O1" first. Otherwise, always getting error message
"catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumstances in which it occurred in a Software Problem Report. Note: File and line given may not be explicit cause of this error.
compilation aborted for ../../../src/66_wfs/prep_fourwf.F90 (code 1)
make[4]: *** [prep_fourwf.o] error 1"

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: : catastrophic error: **Internal compiler error: interna  [SOLVED]

Post by pouillon » Thu Mar 27, 2014 5:13 pm

You should not worry so much about these 2 errors. Abinit uses a single set of reference files and tolerances for its hundreds of tests, which means that there will always be architecture/compiler/optimizations combinations going out of the allowed intervals. The error messages you get are just telling you that one value in one Many-Body Perturbation Theory test, as well as one value in a Wannier function based test, are slightly going out of the expected intervals, although the executions of the tests themselves went fine.

These 2 tests are about features which can generate subtantial errors, since the input parameters are not converged to keep the execution time as low as possible. This is not always the case, e.g. when you test ground-state features. At the end, determining whether a test really fails is above all a question of the underlying physics and the sensitivity of the implementation to (lack of) convergence.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked