 <p>Variable <code>FORMAT</code> expressions are non-standard and are <strong>not</strong> supported by gfortran (<a href="http://gcc.gnu.org/onlinedocs/gfortran/Variable-FORMAT-expressions.html" rel="nofollow">link</a> to the documentation).</p> <p>I know your pain - I've also struggled with this problem many times before until I migrated completely to another compilers collection...</p>