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

Different environment variable on different compute node

Yongjun_L_
Beginner
115 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
115 Views

I know how to solve this issue.

Reply