apparently gfortran needs explicit boolean expressions
gfortran requires file to end on a newline
enable -Ofast compiler flag to make gfortran comparable to intel