I tried amdclang to compile the program array_shaping.1.c, and got the error message
array_shaping.1.c:28:39: error: OpenMP array shaping operation is not allowed here
28 | #pragma omp target update from( (([nx][ny+2])a)[0:nx][1],
| ^
array_shaping.1.c:29:39: error: OpenMP array shaping operation is not allowed here
29 | (([nx][ny+2])a)[0:nx][ny] )
| ^
Can you suggest which compilers and options for the program ?