File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -201,15 +201,19 @@ def detect_topology():
201201 # No topology found, try to auto-detect it
202202 getlogger ().debug (f'> no topology file found; auto-detecting...' )
203203 temp_modules = rt .system .preload_environ .modules
204+ temp_vars = rt .system .preload_environ .variables
204205 if _is_part_local (part ):
205206 temp_modules += part .local_env .modules
207+ temp_vars += part .local_env .variables
206208 # Unconditionally detect the system for fully local partitions
207- with runtime .temp_environment (modules = temp_modules ):
209+ with runtime .temp_environment (modules = temp_modules ,
210+ variables = temp_vars ):
208211 part .processor ._info = cpuinfo ()
209212
210213 _save_info (topo_file , part .processor .info )
211214 elif detect_remote_systems :
212- with runtime .temp_environment (modules = temp_modules ):
215+ with runtime .temp_environment (modules = temp_modules ,
216+ variables = temp_vars ):
213217 part .processor ._info = _remote_detect (part )
214218
215219 if part .processor .info :
You can’t perform that action at this time.
0 commit comments