Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
9 Views

openmp and coarray compiler internal crash when reduction on coarray variable

Hi,

 

I have a small coarray program mixed with openmp. A small openmp do loop with a reduction of a variable that happens to be a coarray variable too.

When I try to build... interal compiler seg fault. (file attached, reduction.F90)

[20:25:49 drFaustroll@circassia:~/playground/intel-bugs]: ifort --version
ifort (IFORT) 17.0.0 20160517
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

[20:25:55 drFaustroll@circassia:~/playground/intel-bugs]: ifort -o reduction.X reduction.F90 -coarray=distributed -fopenmp  
reduction.F90(14): catastrophic error: **Internal compiler error: internal abort** Please report this error along with the circumsta
nces 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 reduction.F90 (code 1)

when the reduction is done on a second variable as workaround all seems to work as expected.

[20:26:14 drFaustroll@circassia:~/playground/intel-bugs]: ifort -o reduction_workaround.X reduction_workaround.F90 -coarray=distribu
ted -fopenmp  
[20:27:30 drFaustroll@circassia:~/playground/intel-bugs]: OMP_NUM_THREADS=4 ./reduction_workaround.X                                
local dot  -1.745268414801049E-002  on image            1
local dot  -3.680289009526871E-002  on image            2
local dot  -9.343073753792419E-002  on image            3
local dot  -6.176764745170735E-002  on image            4
dot  -0.209453959232911 

 

Regards,

Alin


 

 

0 Kudos
1 Reply
Highlighted
9 Views

Thanks for reporting the error. I have opened a bug report for it. The defect ID is DPD200413715.

 

Thanks,

Xiaoping Duan

Intel Customer Support

0 Kudos