Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2154 Discussions

I_MPI_VERSION different from MPI_Get_library_version for IntelMPI 2021.6.0

EricChamberland
Beginner
1,015 Views

Hi, 

I just upgraded to Intel MPI 2021.6.0 and discovered that a call to the function MPI_Get_library_version is returning:

Intel(R) MPI Library 2021.6 for Linux* OS

and is not equal to the value of "I_MPI_VERSION" which is:

Intel(R) MPI Library 2021.6.0 for Linux* OS

It was okay for "2021.3.0".

Is it possible to fix this for the next release?

Thanks,

Eric

 

0 Kudos
7 Replies
VarshaS_Intel
Moderator
982 Views

Hi,


Thanks for posting in Intel Communities.


Could you please let us know how you are using the I_MPI_VERSION? How to get the value of I_MPI_VERSION?


We did not find it from the impi_info command where we can find all the Intel MPI Environment variables that are supported.


Thanks & Regards,

Varsha


0 Kudos
EricChamberland
Beginner
975 Views

Hi Varsha,

 

It is obtained at compile-time, see this simple example:

=================

-bash-5.0$ cat MPIv.cc  
#include <mpi.h>
#include <iostream>

int main() {
 char lVersionRT[MPI_MAX_LIBRARY_VERSION_STRING] = {0};

 int lLongRT = 0;
 MPI_Get_library_version(lVersionRT, &lLongRT);
 std::cout << "MPI_Get_library_version result: " << lVersionRT << std::endl;
 std::cout << "I_MPI_VERSION macro value: " << I_MPI_VERSION << std::endl;
 return 0;
}
  

-bash-5.0$ mpicxx -o MPIv MPIv.cc       
-bash-5.0$ ./MPIv                  
MPI_Get_library_version result: Intel(R) MPI Library 2021.6 for Linux* OS

I_MPI_VERSION macro value: 2021.6.0

=================

 

My concern is about the macro value which is "2021.6.0" and the string value which is "2021.6".

In prior 2021.3.0 version, both where the same...

 

Thanks,

Eric

 

0 Kudos
VarshaS_Intel
Moderator
961 Views

Hi,

 

Thanks for your feedback.

 

We have provided your feedback to the relevant team. At this moment there is no visibility when it will be implemented and available for use. Please let me know if we can go ahead and close this case.

 

Thanks & Regards,

Varsha

 

0 Kudos
EricChamberland
Beginner
912 Views

Ok, thanks to have provided the info to the development team!  I just missed if it means that it will be done or not but if they have the information that's fine for me.

 

0 Kudos
EricChamberland
Beginner
752 Views

Hi,

very sadly, this simple fix has not been done in the new 2021.7.0 Intel MPI release:

 

MPI CompileTime: 'Intel(R) MPI Library 2021.7.0 for Linux* OS'


versus:

MPI RunTime    : 'Intel(R) MPI Library 2021.7 for Linux* OS

is it possible to inform the relevant developpers?

 

Thanks,

Eric

 

0 Kudos
VarshaS_Intel
Moderator
922 Views

Hi,


We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance please post a new question.


Thanks & Regards,

Varsha


0 Kudos
EricChamberland
Beginner
908 Views

Btw, I can't  click on the "thumbs up" button, and my Intel Account seems to be in a strange condition : the circle left to my name does not appear well... Who do I contact for this?

 

Thanks,

Eric

ps: sorry, this is off-topic in this thread... but I need help to resolve this too... 

0 Kudos
Reply