- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Respected sir/madam,
Please help me to enable the async thread for Intel MPI on HPC having interconnect as Infiniband.
Thanks,
Mohit Kumar
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel Communities.
Below are the steps to enable asynchronous progress control:
1. To specify the configuration, source the vars.[c]sh script with the -i_mpi_library_kind environment variable.
Example:
source /opt/intel/oneAPI/2021.4.0.3347/setvars.sh
source /opt/intel/oneAPI/2021.4.0.3347/mpi/2021.4.0/env/vars.sh -i_mpi_library_kind=release
For more information, refer to the below link:
(or) You can just export the I_MPI_LIBRARY_KIND environment variable which is equivalent to step 1 mentioned above.
$ export I_MPI_LIBRARY_KIND=release
For more information, refer to the below link:
2. Compile the MPI code using the below command:
mpiicc sample.c
3. Now, pass 1 to I_MPI_ASYNC_PROGRESS environment variable to enable asynchronous progress control.
I_MPI_ASYNC_PROGRESS=1 mpirun -n 16 ./a.out
For more information, refer to the below link:
I tried the above steps using the Intel MPI 2021.4 on a Linux machine and sharing with you the complete debug log for each step.
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issues. Thank you!
Best Regards,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Santosh,
I have tried your approach but not getting the desired result.
-The time taken by sample code with I_MPI_ASYNC_PROGRESS=0 << time taken by sample code with I_MPI_ASYNC_PROGRESS=1
- I am using HPC having infiniband with Intel Compiler 2020.2.254 version.
Thanks,
Mohit Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
>>"The time taken by sample code with I_MPI_ASYNC_PROGRESS=0 << time taken by sample code with I_MPI_ASYNC_PROGRESS=1"
We can see that you have raised a similar issue in the Intel community forum. So, please keep track of your issue for updates using the below link:
>>"I have tried your approach but not getting the desired result."
Since your initial query has been resolved, can we go ahead and close this thread?
Thanks & Regards,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Since your initial query has been resolved, can we go ahead and close this thread?
Thanks & Regards,
Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Since your initial query is resolved, we are closing this thread. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Santosh
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page