Unable to initialize CUDA.
CUDA Visual Profiler device features will be disabled.
And that`s about it.
I have downloaded the software from Nvidia homepage, installed, also installed that cudaprof(iler) - and nothing.
tried some steps highlighted in other topics here, like
export PATH=<toolkit_install_path>/cuda/bin:$PATH
and it returned:
-bash: toolkit_install_path: No such file or directory
:(
<toolkit_install_path> between angle brackets mean “substitute this for wherever you intalled the toolkit”, in my case /usr/local (the default chosen by the toolkit install package). So the command should read, after the substitution:
export PATH=/usr/local/cuda/bin:$PATH
and you should place this command also in your ~/.bash_profile file; if none exists, create one.
Do I replace ~ with some directory, too? Like: andy/.bash_profile file ? Is this how it supposed to look like? And is the “file” required to be placed at the end of it? Where would it be best to create that file?
Unfortunately the above file directory cannot be created, as files/directories starting with a “.” are reserved for the System and it does not allow creation of such.
When tried to enter the "~/.bash_profile " into Terminal - nothing happened.
So - is there any simple solution for installing CUDA on iMac Intel based computer?
Sorry Andy, but you’ll really need a modicum of unix command line knowledge to get much further.
Of course the system allows creation of files beginning with dot; if you open textedit, you move to “make plain text” and try to save a file whose name begins with a dot, it will tell you, as you state, that files beginning with a dot are reserved for the system. AND THEN IT GIVES YOU THE OPTION of doing it anyway, or cancel. You just need to click on “do it anyway”, which I think is called “use .”.
But instead let’s make this quick and be done with it. Copy and paste the following lines VERBATIM onto your console. They will create the .bash_profile file, put the relevant lines inside, and then source it to incorporate the environmental variables into your current running shell.