Linking using different mpi libraries

Hi,
Can you tell me how I can use the pgcc, pgf77 compilers to link to a different mpi library (Since I cannot use the PGI mpi library for an Infiniband cluster). Although the environment path contains a folder in which the other mpi libraries are present, the compiler gives me an error saying it cannot find MPI_Init.

Thanks
Aditya

Hi adityak,

We’re still in the process of getting an infiniband cluster here in-house so I don’t have personal experience building MPI for inifiniband. However, I do know others who have successfully built OpenMPI (http://www.open-mpi.org/) using the PGI compilers.

See: FAQ: Building Open MPI
and FAQ: Building Open MPI

Hope this helps,
Mat