Can you please post or send to PGI Customer Service (trs@pgroup.com) a complete reproducing example? I don't see anything unusual about your code snip-it so will the complete example to determine the problem. Other useful information would be what type of device you are using and the compiler version.

"700" is a generic error and is most likely unrelated to Wenyang Liu's issue. I've seen it most when their is a seg fault when copying data to the device. Check your array bounds match the copy clause.