I found that gfortran allows return statement in the main program of fortran, but ifort does not allow this, giving compiling errors.
return
I do not understand