Community
cancel
Showing results for 
Search instead for 
Did you mean: 
youn__kihang
Novice
112 Views

The difference between uninitialized variables according to the compute node.

Jump to solution

Hello All,

I'm writing a forum to inquire.
When performing MPI operation including a specific node, the program result is different from the usual result.
As a result of analysis at the source code level, it was found that uninitialized variables were created differently (a certain random small/large value) when a specific node was included and when not included.
However, if the node is not included in the calculation, the same random value will be always genetrated.

What I am curious about is whether the initial value of an uninitialized variable can be changed according to certain conditions. For example, library, intel version, etc.
*Resolving the random initial value issue does not guarantee that the above results will solve other problems.

Thank you all.

0 Kudos
1 Solution
AbhishekD_Intel
Moderator
97 Views

Hi Kihang,


I didn't get the whole use-case you have wanted to tell. But I want to add that we cannot predict the value of the uninitialized variables. There could be the scenario that you are getting the same value at each run on a specified node, but it may not be the same on all systems.


Due to this unpredictable nature of uninitialized variables, we cannot say for sure that the initial value of the uninitialized variable will depend on a certain condition or environment.



Warm Regards,

Abhishek


View solution in original post

3 Replies
AbhishekD_Intel
Moderator
98 Views

Hi Kihang,


I didn't get the whole use-case you have wanted to tell. But I want to add that we cannot predict the value of the uninitialized variables. There could be the scenario that you are getting the same value at each run on a specified node, but it may not be the same on all systems.


Due to this unpredictable nature of uninitialized variables, we cannot say for sure that the initial value of the uninitialized variable will depend on a certain condition or environment.



Warm Regards,

Abhishek


View solution in original post

AbhishekD_Intel
Moderator
84 Views

Hi Kihang,


Please give us an update on the details.


Thank You,

Abhishek


AbhishekD_Intel
Moderator
74 Views

Hi,


We are assuming that the provided details have solved your issue and will no longer monitor this thread.

Please post a new thread if you have more issues.


Thank you.


Reply