Good Size for IOMSG Length

A simple question, but one I think only the developers can answer for me: what is a good number for the length of an IOMSG output with PGI 2010?

From what I can tell, there are no length specifics in the 2003 standard, so I assume it’s up to the compiler itself. So how large should my LEN= be with my iomsg variable:

character(len=???) :: iomsg
...
open(...,IOMSG=iomsg)

so that I don’t cut off any text, but don’t go overboard?

Thanks,
Matt

I think 256 is a probably good size. We try to make the messages concisely fit to one line.

Hongyon

Sounds good! Thanks!