What happens if you disable coarrays via compiler flag? I don’t recall the exact syntax from the top of my head, but I think the neural-fortran README has examples for compiling with ifort in serial mode.
-fno-frontend-optimize is a gfortran option. Don’t use it when compiling with ifort.