Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Linux by (6.1k points)

I tried to compile my code with OpenMPI server but I want to read the proper documentation of OpenMPI. So how can I know its version?

1 Answer

0 votes
by (11.7k points)

OpenMPI makes it very easy to run ompi_info; and you will be getting the information you want in the first few lines. You can try out OMPI_MAJOR_VERSION, OMPI_MINOR_VERSION, and OMPI_RELEASE_VERSION in mpi.h. But this does not work with MPICH2 or other MPI implementations. 
 

If we look at it more standardly, as part of MPI-3, there is a standard MPI routine called MPI_Get_library_version which gives you minute detailed library information at runtime. 

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
0 answers
0 votes
1 answer
asked Feb 17, 2021 in Linux by rahulnayar01123 (6.1k points)

Browse Categories

...