Comepileerror from TMPDIR environmental variable?

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 this:

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

So I guessed that the environmental variable is the problem, and I found that the TMPDIR variable is set to C:\Users\Public\Documents\ESTsoft\CreatorTemp

I do not know why the variable is set to there, but can I know how to move the folder and the variable, and would I have a problem if I do so?