SPECFEM2d Parllel run

I am getting the following error when I change the number of processors to two in /DATA/par_file in SpecFEM 2d:
"running mesher…

Error: Number of processes (NPROC) must be equal to one when not using MPI.
Please recompile with -DWITH_MPI in order to enable use of MPI.
Error invalid NPROC value
Error detected, aborting MPI… proc 0
STOP Error, program ended in exit_MPI

running solver on 2 processors…

Error: Number of processes (NPROC) must be equal to one when not using MPI.
Please recompile with -DWITH_MPI in order to enable use of MPI.
Error invalid NPROC value
Error detected, aborting MPI… proc 0
STOP Error, program ended in exit_MPI
STOP Error, program ended in exit_MPI
Error: Number of processes (NPROC) must be equal to one when not using MPI.
Please recompile with -DWITH_MPI in order to enable use of MPI.
Error invalid NPROC value
Error detected, aborting MPI… proc 0"
Can someone help me out? Thanks in advance.