Nov-08-2021, 02:26 AM
(This post was last modified: Nov-08-2021, 02:34 AM by Larz60+.
Edit Reason: fixed code tags
)
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:
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?
Thanks.
Error:CompileError: nvcc preprocessing of C:\Users\Public\Documents\ESTsoft\CreatorTemp\tmpl_hj63ke.cu failed
The full console text from Spyder:Error:runfile('C:/Users/lipued/helios/helios.py', wdir='C:/Users/lipued/helios')
Traceback (most recent call last):
File "C:\Users\lipued\helios\helios.py", line 141, in <module>
main()
File "C:\Users\lipued\helios\helios.py", line 139, in main
run_helios()
File "C:\Users\lipued\helios\helios.py", line 40, in run_helios
computer = comp.Compute()
File "C:\Users\lipued\helios\source\computation.py", line 37, in __init__
self.mod = SourceModule(self.kernels)
File "C:\ProgramData\Anaconda3\lib\site-packages\pycuda\compiler.py", line 349, in __init__
cubin = compile(
File "C:\ProgramData\Anaconda3\lib\site-packages\pycuda\compiler.py", line 298, in compile
return compile_plain(source, options, keep, nvcc, cache_dir, target)
File "C:\ProgramData\Anaconda3\lib\site-packages\pycuda\compiler.py", line 87, in compile_plain
checksum.update(preprocess_source(source, options, nvcc).encode("utf-8"))
File "C:\ProgramData\Anaconda3\lib\site-packages\pycuda\compiler.py", line 58, in preprocess_source
raise CompileError(
CompileError: nvcc preprocessing of C:\Users\Public\Documents\ESTsoft\CreatorTemp\tmpl_hj63ke.cu 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\CreatorTempI 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?
Thanks.