Hi Prerita,
As Will has mentioned, it seems you are having a problem with the compiler you've chosen - see these lines in your compile log:
/scratch/sw/anaconda/anaconda3-2021.11/bin/mpif90: line 392: x86_64-conda_cos6-linux-gnu-gfortran: command not found
If you have tried Will's solution, please report back. Otherwise, you should check that you indeed have intel compilers in your Anaconda installation. Going the gfortran route may be a better option.
Jordan