Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel 15.0 internal compilation error #3

Open
miroi opened this issue Jan 7, 2017 · 4 comments
Open

Intel 15.0 internal compilation error #3

miroi opened this issue Jan 7, 2017 · 4 comments

Comments

@miroi
Copy link

miroi commented Jan 7, 2017

Hi,

reporting Intel internal compilation error:

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/.make -r
/u/milias/Work/qch/software/paragauss/paragauss-gpl/bin/byproduct_build -bld '( cd comm/mpi_dir; ifort -stand f03 -heap-arrays  -nofor-main   -O2  -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/modules -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/comm/mpi_dir -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/epe_dir -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/solvation -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/effect_frag_poten -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/molmech -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/molmech/solvation -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/external_centers -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/elec_pot_and_field -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/optimizer -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/lapack -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/gaussq -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/cpks -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/autodiff -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/libdftauto -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/punchfile -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/shgi -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/tddft -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/./dlb -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/./guile -I/usr/include/mpi  -I/cvmfs/it.gsi.de/compiler/intel/15.0/composer_xe_2015.2.164/mkl/include/intel64/lp64 -I/cvmfs/it.gsi.de/compiler/intel/15.0/composer_xe_2015.2.164/mkl/include -c commparameter_module.F90 )' -provides 'comm/mpi_dir/commparameter_module.o comm/mpi_dir/commparameter_module.mod' -cmp 'cmp -s -i 50' -quiet
/usr/include/mpi/mpif-config.h(73): warning #7346: The CHARACTER* form of a CHARACTER declaration is an obsolescent feature in Fortran 2003.
      character*32 OMPI_GREEK_VERSION
----------------^
/usr/include/mpi/mpif-config.h(74): warning #7346: The CHARACTER* form of a CHARACTER declaration is an obsolescent feature in Fortran 2003.
      character*32 OMPI_SVN_VERSION
----------------^
ar ruv libttfs_comm.a  comm/mpi_dir/comm.o comm/mpi_dir/comm_module.o comm/mpi_dir/commpack_module.o comm/mpi_dir/commparameter_module.o
r - comm/mpi_dir/commparameter_module.o
ranlib libttfs_comm.a
/u/milias/Work/qch/software/paragauss/paragauss-gpl/bin/byproduct_build -bld '( cd modules; ifort -stand f03 -heap-arrays  -nofor-main   -O2  -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/modules -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/comm/mpi_dir -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/epe_dir -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/solvation -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/effect_frag_poten -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/molmech -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/molmech/solvation -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/external_centers -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/elec_pot_and_field -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/optimizer -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/lapack -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/gaussq -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/cpks -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/autodiff -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/libdftauto -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/punchfile -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/shgi -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/tddft -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/./dlb -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/./guile -I/usr/include/mpi  -I/cvmfs/it.gsi.de/compiler/intel/15.0/composer_xe_2015.2.164/mkl/include/intel64/lp64 -I/cvmfs/it.gsi.de/compiler/intel/15.0/composer_xe_2015.2.164/mkl/include -c matrix_sparse.F90 )' -provides 'modules/matrix_sparse.o modules/matrix_sparse.mod' -cmp 'cmp -s -i 50' -quiet
010101_13492

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 matrix_sparse.F90 (code 1)
make: *** [modules/matrix_sparse.o] Error 1

Linux lxir074 3.2.0-4-amd64 #1 SMP Debian 3.2.82-1 x86_64 GNU/Linux
milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/.ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.2.164 Build 20150121
@miroi
Copy link
Author

miroi commented Jan 7, 2017

It is this F90 source file to be investigated:

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.ifort -c  matrix_sparse.F90 
010101_13492

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 matrix_sparse.F90 (code 1)
milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.ifort -V              
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 15.0.2.164 Build 20150121
Copyright (C) 1985-2015 Intel Corporation.  All rights reserved.

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.

@miroi
Copy link
Author

miroi commented Jan 7, 2017

Well, the compilation works with Intel 12.0:

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.module load compiler/intel/12.1
milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.ifort -c  matrix_sparse.F90 
milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.ifort -V
Intel(R) Fortran Intel(R) 64 Compiler XE for applications running on Intel(R) 64, Version 12.1.7.367 Build 20120928
Copyright (C) 1985-2012 Intel Corporation.  All rights reserved.

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.

and also with Intel 16.0

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.ifort -V
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0.2.181 Build 20160204
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.ifort -c  matrix_sparse.F90 
milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/modules/.

@miroi
Copy link
Author

miroi commented Jan 7, 2017

Well, as compilation goes, it hits another error

                             Finished prerequisites of target file `modules/xc_func.o'.
                            Must remake target `modules/xc_func.o'.
/u/milias/Work/qch/software/paragauss/paragauss-gpl/bin/byproduct_build -bld '( cd modules; ifort -stand f03 -heap-arrays  -nofor-main   -O2  -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/modules -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/comm/mpi_dir -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/epe_dir -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/solvation -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/effect_frag_poten -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/molmech -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/molmech/solvation -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/external_centers -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/elec_pot_and_field -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/optimizer -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/lapack -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/gaussq -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/cpks -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/autodiff -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/libdftauto -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/punchfile -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/shgi -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/tddft -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/./dlb -I/u/milias/Work/qch/software/paragauss/paragauss-gpl/./guile -I/usr/include/mpi  -I/cvmfs/it.gsi.de/compiler/intel/16.0/compilers_and_libraries_2016.2.181/linux/mkl/include/intel64/lp64 -I/cvmfs/it.gsi.de/compiler/intel/16.0/compilers_and_libraries_2016.2.181/linux/mkl/include -c xc_func.F90 )' -provides 'modules/xc_func.o modules/xc_func.mod' -cmp 'cmp -s -i 50' -quiet
Putting child 0x02640380 (modules/xc_func.o) PID 27150 on the chain.
Live child 0x02640380 (modules/xc_func.o) PID 27150 
0_1855

xc_func.F90(1270): 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 xc_func.F90 (code 1)
Reaping losing child 0x02640380 PID 27150 
make: *** [modules/xc_func.o] Error 1
Removing child 0x02640380 PID 27150 from chain.
milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/.ifort -V
Intel(R) Fortran Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0.2.181 Build 20160204
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

milias@lxir074.gsi.de:~/Work/qch/software/paragauss/paragauss-gpl/.

@alexei-matveev
Copy link
Owner

Hello Miro!

I must warn you right away --- I am not in academia anymore and will not be able to invest substantial efforts into maintenance of the project.

Not exactly helpful but an ICE (internal compiler error) is by definition a compiler bug. It is often triggered by obscure language constructs or excessive optimization.

ifort -stand f03 -heap-arrays -nofor-main -O2

When porting to a new compiler (compiler version) it is often easier to start without optimizations at -O0. See if the that works first. Then increase optimization level gradually. Sometimes compiling only the "difficult" sources at low optimization level helps to workaround ICEs,

My last experience with Ifort is from the times of v12 I think --- around the times they switched the license terms.

Alexei

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants