mpi1s1D mpi2s1D add -g when no optimize

Signed-off-by: xiehuc <xiehuc@gmail.com>