Your VM has definitely 4 virtual CPUs running. Just use
cat /proc/cpuinfo
in the guest to verify that. Your mpi problem is something else and I suggest you to go to the forums (forums.virtualbox.org) to ask for help.