Intel® oneAPI HPC Toolkit
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
1917 Discussions

I_MPI_VERSION different from MPI_Get_library_version for IntelMPI 2021.6.0

EricChamberland
Beginner
169 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
1 Solution
VarshaS_Intel
Moderator
115 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

 

View solution in original post

6 Replies
VarshaS_Intel
Moderator
136 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


EricChamberland
Beginner
129 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

 

VarshaS_Intel
Moderator
116 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

 

EricChamberland
Beginner
66 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.

 

VarshaS_Intel
Moderator
76 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


EricChamberland
Beginner
62 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... 

Reply