Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

Possible bug in C++ compiler of Intel compiler suite 2018

Inge_G_
Beginner
459 Views

when I tried to install the PETSc 3.8.0 complex version I got

gmake[2]: *** [arch-linux2-c-opt/obj/src/mat/impls/baij/seq/baijsolvtrannat.o] Error 4
gmake[2]: *** Waiting for unfinished jobs....
/dev/shm/mathprod/PETSc/3.8.0/intel-para-2017b_complex/petsc-3.8.0/src/mat/impls/baij/seq/baijsolvtran.c(764) (col. 20): internal error: 04010002_0

compilation aborted for /dev/shm/mathprod/PETSc/3.8.0/intel-para-2017b_complex/petsc-3.8.0/src/mat/impls/baij/seq/baijsolvtran.c (code 4)
gmake[2]: *** [arch-linux2-c-opt/obj/src/mat/impls/baij/seq/baijsolvtran.o] Error 4
/dev/shm/mathprod/PETSc/3.8.0/intel-para-2017b_complex/petsc-3.8.0/src/mat/impls/baij/seq/baijsolvnat.c(760) (col. 13): internal error: 04010002_0

compilation aborted for /dev/shm/mathprod/PETSc/3.8.0/intel-para-2017b_complex/petsc-3.8.0/src/mat/impls/baij/seq/baijsolvnat.c (code 4)
gmake[2]: *** [arch-linux2-c-opt/obj/src/mat/impls/baij/seq/baijsolvnat.o] Error 4
gmake[2]: Leaving directory `/dev/shm/mathprod/PETSc/3.8.0/intel-para-2017b_complex/petsc-3.8.0'
gmake[1]: *** [gnumake] Error 2
gmake[1]: Leaving directory `/dev/shm/mathprod/PETSc/3.8.0/intel-para-2017b_complex/petsc-3.8.0'

This error occurs only with -O2, the default optimization.

My workaround was to turn off optimization for the 3 routines that crashed and the rest went fine.

 

Inge Gutheil

Juelich Supercomputing Centre

Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany
0 Kudos
5 Replies
Viet_H_Intel
Moderator
459 Views

Hi Inge,

Can you create a pre-process (replace -c with -E) file then provide it to us along with your command line options?

 

Thanks,

Viet Hoang

0 Kudos
Inge_G_
Beginner
459 Views
Dear Viet Hoang,
I attached the precompiled version of the file, where should I put it?
I don't know whether attaching it worked.

Regards
Inge Gutheil

-- Inge Gutheil
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich,
Germany
Phone: +49-2461-61-3135
Fax: +49-2461-61-6656
0 Kudos
Viet_H_Intel
Moderator
459 Views

Hi Inge,

I think got your pre-process file. Can you please provide me a full list of your command line options? and also run "icc -V" then give us the output.

Regards,

Viet Hoang

 

0 Kudos
Viet_H_Intel
Moderator
459 Views

 

Hi Inge,

 

Please ignore my previous note. I am able to reproduce it with just -O2. 

Thanks for reporting this issue. 

 

Thanks,

Viet Hoang 

0 Kudos
Viet_H_Intel
Moderator
459 Views

Seems like this is a known issue and has been fixed in our nightly compiler.

$ icc -O2 vah.c -c -w -V
Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 18.0.0.128 Build 20170811
Copyright (C) 1985-2017 Intel Corporation.  All rights reserved.

Edison Design Group C/C++ Front End, version 4.13 (Aug 12 2017 01:17:30)
Copyright 1988-2017 Edison Design Group, Inc.

vah.c(8177) (col. 13): internal error: 04010002_0

$ icc -O2 vah.c -c -w c (test with our nightly compiler)

$ ls -lt vah.o
-rw-r--r-- 1 vahoang ome 204888 Nov  6 10:16 vah.o

 

Regards,

Viet Hoang

0 Kudos
Reply