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

Different environment variable on different compute node

Yongjun_L_
Beginner
365 Views

I have two computers, the value of environment variable on different computer is not the same. For example, TMP is set to "C:\tmp" on compute 1, and TMP is set to "D:\Temp_Dir" on computer 2. When I run getenv( "TMP") API to get environment variable, the returned value on all the process are always "C:\tmp" which is the value of computer 1

How can my code  returns "D:\Temp_Dir" on computer 2?

Thanks,

Yongjun

 

0 Kudos
1 Reply
Yongjun_L_
Beginner
365 Views

I know how to solve this issue.

0 Kudos
Reply