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.
1912 Discussions

How can I get the default value of mpi environment variables?

oleotiger
Novice
566 Views

I wanna get the default value of some mpi environment variables. 

For example: 

I_MPI_SHM_CELL_FWD_SIZE
I_MPI_SPIN_COUNT
 
I tried Debug lv =5 but there is still no default value of these variables in output.
 
How could I get those default values?
 
BTW: can someone explain the details about I_MPI_SHM_CELL_FWD_SIZE? Any documentations that can help me?

 

0 Kudos
6 Replies
ShivaniK_Intel
Moderator
547 Views

Hi,


Thanks for reaching out to us.


The default value of the environment variable for I_MPI_SHM_CELL_FWD_SIZE.


The default value depends on the transport used and should normally range from 64K to 1024K.


For detailed information please refer to the below link.


https://software.intel.com/content/www/us/en/develop/documentation/mpi-developer-reference-linux/top...


To get the default value of the environment variable for I_MPI_SPIN_COUNT.


The default setting is 250 unless more than one process runs per processor, in which case it is set to 1.


For more information please refer to the below link


https://software.intel.com/content/www/us/en/develop/articles/tuning-the-intel-mpi-library-advanced-...


Thanks & Regards

Shivani


oleotiger
Novice
534 Views

I have read the documentation. But they didn't solve my question.

The value of I_MPI_SHM_CELL_FWD_SIZE depends on the transport used and range from64K to 1024K. But I wanna know the exact value of I_MPI_SHM_CELL_FWD_SIZE on my server.

 

The server is equipped with Mellonax CX-5 IB network card and the protocol I used is IB.

OFI provider is mlx and ofi is set by default.

What is the exact value of I_MPI_SHM_CELL_FWD_SIZE under this environment?

 

What if I change to Huawei 1822 network card and use RoCE protocol?

 

Is there any way that I could get the exact value of I_MPI_SHM_CELL_FWD_SIZE? (e.g. through log or documentation which lists all the default values for all transports?)

ShivaniK_Intel
Moderator
510 Views

Hi,


We are working on it and will get back to you soon.


Thanks & Regards

Shivani


DrAmarpal_K_Intel
492 Views

Hi Oleotiger,


[1] Please disregard the earlier comment in this thread on the default value of I_MPI_SPIN_COUNT. In the current versions of Intel MPI Library, the default value value is equal to 1 when more than one process runs per processor/core. Otherwise the value equals 2000.


[2] In regard to I_MPI_SHM_CELL_FWD_SIZE, I shall write another message.


Best regards,

Amar


DrAmarpal_K_Intel
479 Views

Hi Oleotiger,


Is there anything else I can help you with?


Best regards,

Amar


DrAmarpal_K_Intel
461 Views

Hi Oleotiger,


Having not received your response I am going ahead and closing this thread.


We will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.




Reply