Hey Luke,
I installed everything as described, skipped the examples since I don't think we need this, made an etry in etc/rc.local for the nvidia-persistenced and had a look at nvcc --version to make sure 9.2 was installed and everything looked ok. After a reboot nvcc --version shows 8.0 again although I had a apt purge for cuda* and nvidia* before installation.
you got a tip what to do? do I need to reinstall?
edit: nevermind, I didn't uninstall cuda properly with
sudo /usr/local/cuda-X.Y/bin/uninstall_cuda_X.Y.pl
first. But now I did everything again and after reboot there was no cuda installed:
m1@m1-desktop:~$nvOC stop
Stopping nvOC processes...
gnome-screensav killed (pid 1842)
...done.
m1@m1-desktop:~/NVOC/testing$ nvcc --version
The program 'nvcc' is currently not installed. You can install it by typing:
sudo apt install nvidia-cuda-toolkit
m1@m1-desktop:~/NVOC/testing$ systemctl status nvidia-persistenced
● nvidia-persistenced.service - NVIDIA Persistence Daemon
Loaded: loaded (/lib/systemd/system/nvidia-persistenced.service; static; vendor preset: enabled)
Active: active (running) since Tue 2018-11-06 08:03:11 MST; 1min 10s ago
Process: 820 ExecStart=/usr/bin/nvidia-persistenced --user nvidia-persistenced --no-persistence-mode --verbose (code=exited, status=0/SUCCESS)
Main PID: 879 (nvidia-persiste)
CGroup: /system.slice/nvidia-persistenced.service
└─879 /usr/bin/nvidia-persistenced --user nvidia-persistenced --no-persistence-mode --verbose
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:01:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:02:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:03:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:04:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:05:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:06:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:08:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: device 0000:09:00.0 - registered
Nov 06 08:03:10 m1-desktop nvidia-persistenced[879]: Local RPC services initialized
Nov 06 08:03:11 m1-desktop systemd[1]: Started NVIDIA Persistence Daemon.
m1@m1-desktop:~/NVOC/testing$ sudo systemctl enable nvidia-persistenced
m1@m1-desktop:~/NVOC/testing$ nvcc --version
The program 'nvcc' is currently not installed. You can install it by typing:
sudo apt install nvidia-cuda-toolkit
m1@m1-desktop:~/NVOC/testing$ export PATH=/usr/local/cuda-9.2/bin${PATH:+:${PATH}}
m1@m1-desktop:~/NVOC/testing$ export LD_LIBRARY_PATH=/usr/local/cuda-9.2/lib64\
> ${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
m1@m1-desktop:~/NVOC/testing$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2018 NVIDIA Corporation
Built on Tue_Jun_12_23:07:04_CDT_2018
Cuda compilation tools, release 9.2, V9.2.148
m1@m1-desktop:~/NVOC/testing$
how do I make setting paths and persistanced permanently the right way please?
edit2: did nvOC upgrade + miner recomp, started nice_x16r and get this:
SCREEN -c /home/m1/NVOC/testing/screenrc-miner -dmSL miner /home/m1/NVOC/testing/miners/ZENEMYminer/ccminer -a x16r -o stratum+tcp://x16r.eu.nicehash.com::3366 -u . -p x -i 0 SCREEN -c /home/m1/NVOC/testing/screenrc-miner -dmSL miner /home/m1/NVOC/testing/miners/ZENEMYminer/ccminer -a x16r -o stratum+tcp://x16r.eu.nicehash.com::3366 -u . -p x -i 0
/home/m1/NVOC/testing/miners/ZENEMYminer/ccminer: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory
/home/m1/NVOC/testing/miners/ZENEMYminer/ccminer: error while loading shared libraries: libcudart.so.8.0: cannot open shared object file: No such file or directory
I thought I need cuda9.2 for zenemy/x16r!?
edit3: seems like nOC didn't update properly, I am still on an outdated 1bash. tried again:
m1@m1-desktop:~$nvOC upgrade
Warnings:
- your customized 1bash settings won't be affected, but you may have
to create a new one starting from a frash copy of 1bash.template
if it gets updated during this upgrade, otherwise you will get a
warning each time nvOC restarts
- the upgrade will fail safely if you made conflicting customizations
to any other nvOC script: if it happens you need either to run this
script with restore command or manually manage this by git commands.
Do you want to continue (y/N)? y
Checking for nvOC updates... (target: '/home/m1/NVOC/testing')
Updating 063cd21..7779bce
error: Your local changes to the following files would be overwritten by merge:
0miner
Please, commit your changes or stash them before you can merge.
Aborting
nvOC has been upgraded.
nvOC: line 894: /home/m1/NVOC/testing/1bash.template: No such file or directory
nvOC: line 899: ((: 0038: value too great for base (error token is "0038")
nvOC: line 907: ((: 0038: value too great for base (error token is "0038")
There may be new required miners packages to be installed.
Would you like to check for further miners updates and install them now?
Do you want to continue (Y/n)? n
m1@m1-desktop:~/NVOC/testing$
erm, what?
m1@m1-desktop:~$nvOC restore
Checking for modified contents...
M 0miner
D 1bash.template
M telegram
Stashing nvOC tree modifications
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'm1@m1-desktop.(none)')
Cannot save the current index state
Done. Your modified contents has been restored. You can now upgrade.
If you just made a mistake you can still recover your mods, see '\e[1mgit stash --help\e[0m'.
m1@m1-desktop:~/NVOC/testing$
Do I need a github account for this?