I have the following lines in my code:
xo = matmul(gshape,pack(xe,.true.))
where the dimensions are xo(3), gshape(3,27) and xe(3,27). the pack statement usually reshapes xe into a 1x27 array. Compiling with Lahey, Intel and PGI for 32 bit addressing works fine, but when I try to compile with
pgf90 -mcmodel=medium or
I get the message
“0: PACK: invalid mask descriptor”
upon execution. I can think of a few ways to get around this, but is this a bug or a result of poor syntax?