I got a catastrophic error compiling my program expo (http://www.ba.ic.cnr.it/softwareic/expo/) with ifort 18.104.22.168 20200623 on Ubuntu 18.04.5 LTS.
To quickly reproduce the problem I created a small program in the attached file catastrophic.zip.
To generate the error:
1) unzip the file catastrophic.zip
2) cd castrophic
and during the compilation of the file spginfo.f90 you will obtain the following error:
spginfo.f90(2292): 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.
I don't have similar problem in the previous version of compilers. The problem seems platform independent.
The issue is in the "-check all" option. As you may know, check has a number of arguments in "all". The specific check causing the crash is:
Just that 1 argument. So you could do
or any combo therein and this would not get the error. Just avoid -check shape
I'll get the bug ID here shortly.
Thank you for such a complete reproducer.
Thanks for the quick response and the suggestion on how to avoid -check shape.
As you probably know, the error disappears by rearranging the line 2292, for example, in this way:
real, dimension(3,3) :: mat
mat = spaceg%symop(i)%rot(:,:) - identity_mat(:,:)
vet = matmul(mat,tryor) - spaceg%coper(:,nc)