On Aug 3, 2011, at 14:33 , fabrizio gala wrote: > IF (err) THEN > 1 > Error: IF clause at (1) requires a scalar LOGICAL expression
assuming that err is an integer variable, the correct syntax is "IF ( err > 0 ) THEN" Some compilers accept integers in logical expressions (0=.false., 1=.true.) but this is nonstandard P. --- Paolo Giannozzi, Dept of Chemistry&Physics&Environment, Univ. Udine, via delle Scienze 208, 33100 Udine, Italy Phone +39-0432-558216, fax +39-0432-558222
