1. Error message:
Following error message was encountered while compiling a code with mpif90 (underlying fortran compiler being ifort)
relocation truncated to fit: R_X86_64_PC32 against symbol
Solution that worked out:
use compiler flag "-mcmodel=large -shared-intel" while compiling and linking the code.