Fortran has stop and error stop, both of which exit the program prematurely and can return an error code.
What is the difference between the two, and when should either be used? (Also, are there implementation/compiler concerns here?)
I understand from Intel's documentation that stop terminates the program, whereas error stop appears to do a little more. That page is useful but does not entirely answer my question, because 1) it's a little too technical for me, and 2) I know that the Fortran standard(s) leave room for "artistic expression" among implementations, so I don't trust that page to perfectly reflect the standard.
I note that this question is related to What is the difference between "stop" and "exit" in Fortran? — in fact, my question was inspired by this answer to that question. Whereas that question asks the difference between stop and exit, I'm specifically looking at the nitty-gritty differences between stop and error stop. My question here would have been a useful addition to that question in retrospect, but since it wasn't, this is a separate question.