> irfan at hpc:~> mpicc -o PPM PPMS.c -lmpe -llmpe The linking order is incorrect, -llmpe always goes before -lmpe. You should use "mpicc -mpe=mpilog" to link instead of linking with MPE libraries directly. A.Chan