Quantcast
Channel: Clusters and HPC Technology
Viewing all articles
Browse latest Browse all 927

Different environment variable on different compute node

$
0
0

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

 

Thread Topic: 

Help Me

Viewing all articles
Browse latest Browse all 927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>