What is the default TMPDIR variable IN Windows10?

asked 2021-11-15T00:15:38.78+00:00
HANVIT JANG 21 Reputation points

Hello. I am trying to use a scientific tool using python and requiring NVIDIA CUDA to run it. I tried to open it in Anaconda Spyder for a test, but I got:

CompileError: nvcc preprocessing of C:\Users\Public\Documents\ESTsoft\CreatorTemp\tmpl_hj63ke.cu failed

So I guess the environmental variables are the problem, and checked, and:

User variable for lipued
TEMP: %USERPROFILE%\AppData\Local\Temp
TMP: %USERPROFILE%\AppData\Local\Temp

System variable

TEMP: %SystemRoot%\TEMP
TMP: %SystemRoot%\TEMP
TMPDIR: C:\Users\Public\Documents\ESTsoft\CreatorTemp

I do not know why TMPDIR variable went there, but I guess I need to set it to the default, or somewhere related to NDIVIA CUDA. Can you let me know where is the default value for TMPDIR? Thanks.

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,728 questions
No comments
{count} votes

Accepted answer
  1. answered 2021-11-15T00:41:12.65+00:00
    Dave Patrick 328.4K Reputation points Microsoft MVP

    By default TMPDIR does not exist. Some other process has created this.

    --please don't forget to upvote and Accept as answer if the reply is helpful--


0 additional answers

Sort by: Most helpful