non-interactive installation of NVIDIA software
Is there a way to install cudatoolkit non-interactively on Linux, e.g.,
./cudatoolkit_4.0.17_linux_32_rhel5.5.run
..............................................................
Enter install path (default /usr/local/cuda, '/cuda' will be appended): << #can I specify answer and pass to the script via parameters?
something like
echo "/usr/local/cuda" |./cudatoolkit_4.0.17_linux_32_rhel5.5.run
which does not work though.

Generic solution for other NVIDIA software, e.g., driver, SDK?

Thanks
Is there a way to install cudatoolkit non-interactively on Linux, e.g.,

./cudatoolkit_4.0.17_linux_32_rhel5.5.run

..............................................................

Enter install path (default /usr/local/cuda, '/cuda' will be appended): << #can I specify answer and pass to the script via parameters?

something like

echo "/usr/local/cuda" |./cudatoolkit_4.0.17_linux_32_rhel5.5.run

which does not work though.



Generic solution for other NVIDIA software, e.g., driver, SDK?



Thanks

#1
Posted 04/29/2012 06:01 AM   
Without having tried it:
[font="Courier New"] echo "/usr/local\n" | ./cudatoolkit_4.0.17_linux_32_rhel5.5.run[/font]
or, to choose the default answer for any question:
[font="Courier New"] yes '' | ./cudatoolkit_4.0.17_linux_32_rhel5.5.run[/font]

Or access the contents of the archive directly using the [font="Courier New"]--tar[/font] option.
Without having tried it:

echo "/usr/local\n" | ./cudatoolkit_4.0.17_linux_32_rhel5.5.run

or, to choose the default answer for any question:

yes '' | ./cudatoolkit_4.0.17_linux_32_rhel5.5.run



Or access the contents of the archive directly using the --tar option.

Always check return codes of CUDA calls for errors. Do not use __syncthreads() in conditional code unless the condition is guaranteed to evaluate identically for all threads of each block. Run your program under cuda-memcheck to detect stray memory accesses. If your kernel dies for larger problem sizes, it might exceed the runtime limit and trigger the watchdog timer.

#2
Posted 04/29/2012 11:13 AM   
I tried both. Neither works. A closer look shows that the installation script is calling ./install-linux.pl that may prompt user for input.

tera, could you be more specific on --tar option. I scan --usage, but did not find anything relevant to my case.

Thanks
I tried both. Neither works. A closer look shows that the installation script is calling ./install-linux.pl that may prompt user for input.



tera, could you be more specific on --tar option. I scan --usage, but did not find anything relevant to my case.



Thanks

#3
Posted 04/29/2012 12:58 PM   
Scroll To Top