Pitfalls of using chatgpt to generate Fortran code

In April I gave a list of eight common errors made by LLMs in their Fortran code, which included the issues mentioned here: forgetting that Fortran is case-insensitive and that declarations must precede executable statements unless block is used.

2 Likes