OpenACCV-V icon indicating copy to clipboard operation
OpenACCV-V copied to clipboard

pgi/18.10 compilation failures

Open jgphpc opened this issue 6 years ago • 1 comments

Hi,

Trying to compile the .c test files with pgi/18.10, i am getting a few failures. I'd like to get your expert feedback about those failures, i.e can we explain those failure because pgi just does not support the directives used in the test code (then i'll be fine with it). If not, we may want to report to the compiler team or adapt the src code.

Internal compiler error

/apps/common/UES/pgi/18.10/linux86-64/18.10/bin/pgcc -acc -ta=tesla,cc60 atomic_capture_postincrement.c

PGC-F-0000-Internal compiler error. mr_preceeds: 
too many st/br      22  (atomic_capture_postincrement.c: 33)

PGC-S-0155

  • atomic_capture_bitand_equals
  • atomic_capture_bitor_equals
  • atomic_capture_bitxor_equals
  • atomic_capture_divided_equals
  • atomic_capture_expr_bitand_x
  • atomic_capture_expr_bitor_x
  • atomic_capture_expr_bitxor_x
  • atomic_capture_expr_divided_x
  • atomic_capture_expr_lshift_x
  • atomic_capture_expr_minus_x
  • atomic_capture_expr_multiply_x
  • atomic_capture_expr_plus_x
  • atomic_capture_expr_rshift_x
  • atomic_capture_lshift_equals
  • atomic_capture_minus_equals
  • atomic_capture_multiply_equals
  • atomic_capture_plus_equals
  • atomic_capture_postdecrement
  • atomic_capture_predecrement
  • atomic_capture_preincrement
  • atomic_capture_rshift_equals

/apps/common/UES/pgi/18.10/linux86-64/18.10/bin/pgcc -acc -ta=tesla,cc60 atomic_capture_bitxor_equals.c

PGC-S-0155-Invalid atomic capture block, multiple updates.  (atomic_capture_bitxor_equals.c: 57)
PGC-S-0155-Invalid atomic capture.  (atomic_capture_bitxor_equals.c: 58)

jgphpc avatar Jan 10 '19 14:01 jgphpc

So, for each of these, I don't think the tests are the issue. I have already logged bugs with PGI about the issues with the atomics, specifically the capture atomics which are not interpreted as a proper capture statement. The internal compiler error is also on their end.

utimatu avatar Jan 16 '19 02:01 utimatu