get rank and  size using PAMI

Link: https://github.com/GeneAssembly/biosal/issues/453
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>